Unexpected end of JSON input while parsing near '..."解决方法

Unexpected end of JSON input while parsing near '…"

(我遇到的是后面接一个类似时间戳的东西)

解决办法:

(1)npm install --registry=https://registry.npm.taobao.org --loglevel=silly

(2) npm cache clean --force

(3) npm install

你可能感兴趣的:(Unexpected end of JSON input while parsing near '..."解决方法)