1

我是 npm 安装的新手。我最近尝试使用在 npm 中安装 nodemon $ npm install nodemon。我无法安装它并出现错误:

npm ERR! Unexpected end of JSON input while parsing near '...ndencies":{},"devDepe'

npm ERR! A complete log of this run can be found in:
npm ERR!     C:\Users\samya\AppData\Roaming\npm-cache\_logs\2019-11-10T11_24_26_427Z-debug.log

我尝试阅读此运行的日志,但无法真正理解它。请告诉我哪里出错并请指导我。谢谢你!

4

1 回答 1

0

尝试运行它对我有帮助

npm cache clean --force
于 2021-06-16T02:54:26.393 回答