我正在尝试部署我的 firebase 函数,但所有函数都返回错误,我之前已经部署过,没有任何错误。自上次部署正确以来我没有安装任何新内容。每个函数都返回几乎相同的错误,唯一改变的是“errorId”
我尝试从 firebase-cli 注销并再次登录,我已从 npm 更新了 firebase-tools、firebase-admin、firebase-functions。我正在使用 firebase 部署 --only 功能进行部署
部署错误。构建失败:
{
"error": {
"canonicalCode": "INVALID_ARGUMENT",
"errorMessage": "`npm_install` had stderr output:\nnpm WARN tar ENOENT: no such file or directory, open '/workspace/node_modules/.staging/@types/lodash-973f4ada/common/collection.d.ts'\nnpm WARN tar ENOENT: no such file or directory, open '/workspace/node_modules/.staging/@types/node-29231f2f/inspector.d.ts'\nnpm WARN tar ENOENT: no such file or directory, open '/workspace/node_modules/.staging/@types/node-f1c8db24/inspector.d.ts'\nnpm WARN tar ENOENT: no such file or directory, open '/workspace/node_modules/.staging/@firebase/auth-1b85ce5b/dist/auth.esm.js.map'\nnpm WARN tar ENOENT: no such file or directory, open '/workspace/node_modules/.staging/@firebase/webchannel-wrapper-e6854ec7/dist/index.js'\nnpm ERR! code E404\nnpm ERR! 404 Not …Run Code Online (Sandbox Code Playgroud)