Keystone JS(generator-keystone)npm安装失败

时间:2019-07-07 13:17:02

标签: keystonejs

我已将KeystoneYeoman Generator一起安装。 yo keystone命令运行无错误,但以下npm install完成但有错误:

npm ERR! Unexpected end of JSON input while parsing near '...6.4","react":"^16.8.6'

调试日志中的数据

2317 verbose stack SyntaxError: Unexpected end of JSON input while parsing near '...6.4","react":"^16.8.6'
2317 verbose stack     at JSON.parse (<anonymous>)
2317 verbose stack     at parseJson (C:\Program Files\nodejs\node_modules\npm\node_modules\json-parse-better-errors\index.js:7:17)
2317 verbose stack     at consumeBody.call.then.buffer (C:\Program Files\nodejs\node_modules\npm\node_modules\node-fetch-npm\src\body.js:96:50)
2317 verbose stack     at process._tickCallback (internal/process/next_tick.js:68:7)

我该如何解决?

0 个答案:

没有答案