【发布时间】:2019-04-20 22:42:02
【问题描述】:
我正在尝试将 firebase 更新到最新版本并遇到错误。这指出我的函数模拟器有问题:
$ npm install @google-cloud/functions-emulator
npm ERR! Unexpected end of JSON input while parsing near '..."retry-request":"^4.0'
这发生在最近对 firebase 的更新之后。我做错了什么还是我应该报告这个错误?
尝试了多种解决方案,包括完全卸载 npm、node 甚至 vsc。正在更新 npm,尝试专门安装云函数模拟器...在某些依赖文件中总是出现相同的错误。
88 error Unexpected end of JSON input while parsing near '..."retry-request":"^4.0'
我只是想将 firebase 更新到最新版本。现在一切都坏了:D
非常感谢任何帮助。
【问题讨论】:
标签: firebase npm google-cloud-platform google-cloud-functions