Firebase deploy --only功能上出现NPM错误的原因是什么 [英] What's the reason for NPM Error on firebase deploy --only functions

查看:55
本文介绍了Firebase deploy --only功能上出现NPM错误的原因是什么的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我最近在尝试部署Firebase功能时遇到此错误.但是,自上次成功部署以来,我没有更改任何依赖项...

I am recently getting this error when attempting to deploy my firebase functions. However, I didn't change any dependencies since last successful deploy...

✔  functions: all necessary APIs are enabled
i  functions: preparing functions directory for uploading...
i  functions: packaged functions (57.25 KB) for uploading
✔  functions: functions folder uploaded successfully
i  functions: updating Node.js 6 function firestoreEmail(us-central1)...
i  functions: updating Node.js 6 function apiMain(us-central1)...
✔  functions[apiMain(us-central1)]: Successful update operation.
⚠  functions[firestoreEmail(us-central1)]: Deployment error.
Build failed: exit status 1
npm ERR! Linux 4.4.0-133-generic
npm ERR! argv "/nodejs/bin/node" "/nodejs/bin/npm" "--global-style" "--production" "--fetch-retries=5" "--fetch-retry-factor=2" "--fetch-retry-mintimeout=1000" "install" "/workspace"
npm ERR! node v6.14.0
npm ERR! npm  v3.10.10

npm ERR! Hostname/IP doesn't match certificate's altnames: "Host: registry.npmjs.org. is not in the cert's altnames: DNS:a.sni.fastly.net, DNS:a.sni.global-ssl.fastly.net"
npm ERR!
npm ERR! If you need help, you may report this error at:
npm ERR!     <https://github.com/npm/npm/issues>

npm ERR! Please include the following file with any support request:
npm ERR!     /workspace/npm-debug.log



Functions deploy had errors. To continue deploying other features (such as database), run:
    firebase deploy --except functions

Error: Functions did not deploy properly.

推荐答案

Firebase状态页面提到NPM注册表中断

Firebase status page mentions that there is an NPM registry outage

https://status.firebase.google.com/incident/Functions/18033

这篇关于Firebase deploy --only功能上出现NPM错误的原因是什么的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆