Unexpected end of JSON input while parsing near '…"npm
設置倉庫爲淘寶的,而後清除緩存,從新下載依賴包緩存
npm install --registry=https://registry.npm.taobao.org --loglevel=silly npm cache clean --force npm install