npm ERR! Unexpected end of JSON input while parsing near ‘…ry.npmjs.org/moment/-‘错误已解决
npm ERR! Unexpected end of JSON input while parsing near ‘…ry.npmjs.org/moment/-
直接在终端输入
npm cache clean --force
然后再执行之前的命令
npm ERR! Unexpected end of JSON input while parsing near ‘…ry.npmjs.org/moment/-
直接在终端输入
npm cache clean --force
然后再执行之前的命令