1、npm install依賴時,報錯:npm ERR! Unexpected end of JSON input while parsing near '...gin":"^1.3.0","css-lo'
npm cache clean --force
再嘗試
2、npm install依賴時,報錯:npm ERR! Windows_NT 6.1.7601
npm config set proxy null(npm config delete proxy) --取消代理
npm config set https-proxy null
npm config set strict-ssl false --關閉npm的https
然后再安裝cnmp
npm install -g cnpm --registry=https://registry.npm.taobao.org
