我昨天一直在使用Firebase,但是在下午突然发现"npm install --save firebase"无法工作,并出现以下错误:
npm ERR! Unexpected end of JSON input while parsing near '...anary.9678bf9.tgz","f' npm ERR! A complete log of this run can be found in: npm ERR! C:\Users\manjot\AppData\Roaming\npm-cache_logs\2019-11-04T05_47_36_550Z-debug.log
我尝试更新我的node.js版本从10到13.0.1,卸载和安装Firebase,清空缓存,重启电脑,使用管理员命令行,还在谷歌上搜索了一点,但仍然没有解决。为什么它突然停止工作并如何解决这个问题呢?我仍然可以做像"npm install --save react-navigation" 或 "npm install --save react-navigation-stack"这样的事情。
npm ERR! Unexpected end of JSON input while parsing near '...anary.9678bf9.tgz","f' npm ERR! A complete log of this run can be found in: npm ERR! C:\Users\manjot\AppData\Roaming\npm-cache_logs\2019-11-04T05_47_36_550Z-debug.log
我尝试更新我的node.js版本从10到13.0.1,卸载和安装Firebase,清空缓存,重启电脑,使用管理员命令行,还在谷歌上搜索了一点,但仍然没有解决。为什么它突然停止工作并如何解决这个问题呢?我仍然可以做像"npm install --save react-navigation" 或 "npm install --save react-navigation-stack"这样的事情。