
[英]How can I fix command line error supportedNodeVersions when deploying Firebase cloud functions?
[英]how to fix firebase "command not found" error
嗨,我在尝试添加firebase
package 时遇到此问题,出现以下错误...
found 385 vulnerabilities (366 low, 7 moderate, 12 high)
run `npm audit fix`` to fix them, or `nom audit` for details
PS D: \Downloads\ codecanyon-G8bOFJ14-superstore-grocery-store-super-shop-management-pos\main-files\superstore-1.1> firebase init functions
firebase: The term 'firebase' is not recognized as the name of a cmdlet, function, script file, or operable program. Check the spelling of the name, or if a path was included, verify that the path is correct and try again.
At line:1 char:1
+ firebase init functions
+ ~~~~~~~~
+ CategoryInfo : ObjectNotFound: (firebase:String) [], CommandNotFoundException
+ FullyQualifiedErrorId : CommandNotFoundException
看起来您还没有安装 Firebase CLI。
如果您在本地安装了 NPM,则可以使用以下命令安装 Firebase CLI:
npm install firebase-tools -g
或者,您可以使用安装说明中链接的 Windows 的预构建二进制文件。 如果您对 NPM 不太满意,我建议您将其作为一种更简单的入门方式。
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.