【问题标题】:Problem with installing 'concurrently' in node project在节点项目中“同时”安装的问题
【发布时间】:2020-04-24 09:02:23
【问题描述】:

我正在尝试同时安装,但遇到了这个问题

PS D:\devconnector> npm i concurrently
npm ERR! Unexpected end of JSON input while parsing near '...TURE-----\r\nVersion:'

npm ERR! A complete log of this run can be found in:
npm ERR!     C:\Users\baner\AppData\Roaming\npm-cache\_logs\2020-04-24T08_55_51_704Z-debug.log

【问题讨论】:

标签: node.js npm npm-install concurrently


【解决方案1】:

这似乎是一个缓存问题。您可以使用以下命令清除 npm 缓存,然后再次尝试安装包。

npm cache clean --force
npm i concurrently

【讨论】:

    猜你喜欢
    • 2015-02-24
    • 2015-04-30
    • 2021-06-29
    • 1970-01-01
    • 1970-01-01
    • 2021-10-16
    • 1970-01-01
    • 1970-01-01
    • 1970-01-01
    相关资源
    最近更新 更多