我一直在终端中使用 firebase。我在部署时遇到此错误
I have been using firebase in a terminal . I am getting this error when i go for deploying
$ firebase deploy
npm ERR! code Z_DATA_ERROR npm ERR! errno -3 npm ERR! invalid distance
too far back
npm ERR! A complete log of this run can be found in: npm ERR!
/data/data/com.termux/files/home/.npm/_logs/2018-10-16T05_15_44_149Z-debug.log
Error: An unexpected error has occurred.
有问题吗?重试或联系支持人员提供 firebase-debug.log?
的内容
我解决了它,只需降级我的 npm 版本
$ firebase deploy
npm ERR! code Z_DATA_ERROR npm ERR! errno -3 npm ERR! invalid distance too far back
npm ERR! A complete log of this run can be found in: npm ERR!
/data/data/com.termux/files/home/.npm/_logs/2018-10-16T05_15_44_149Z-debug.logError: An unexpected error has occurred.
有问题吗?重试或联系支持人员提供 firebase-debug.log?
的内容我解决了它,只需降级我的 npm 版本