【问题标题】:Error while installing Firebase using npm使用 npm 安装 Firebase 时出错
【发布时间】:2020-07-20 22:51:46
【问题描述】:

我正在尝试使用 npm 命令安装 firebase。我尝试了不同的命令,但仍然出现同样的错误。

npm install --save firebase
npm ERR! Unexpected end of JSON input while parsing near '...0ae6e1d9734f431ca8c39'

npm ERR! A complete log of this run can be found in:
npm ERR!     /home/ven/.npm/_logs/2020-07-20T14_28_15_516Z-debug.log

【问题讨论】:

标签: node.js firebase npm


【解决方案1】:

尝试清理缓存:

npm cache clean --force

【讨论】:

    猜你喜欢
    • 2022-08-05
    • 2018-01-25
    • 1970-01-01
    • 2021-12-13
    • 2021-03-15
    • 2014-02-17
    • 2017-09-12
    • 2015-06-01
    • 1970-01-01
    相关资源
    最近更新 更多