简体   繁体   中英

firebase is not working and showing error after install NPM and NVM

after installing many version of npm finally fix the node issue by installing NVM but after that firebase shows the below error

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
  • + CategoryInfo : ObjectNotFound: (firebase:String) [], CommandNotFoundException + FullyQualifiedErrorId : CommandNotFoundException

The Firebase CLI (rather than the SDK itself) is installed using:

npm install -g firebase-tools

It can also be installed using a binary on Linux/Bash-enabled systems using curl -sL firebase.tools | bash curl -sL firebase.tools | bash (see/review https://firebase.tools for further details).

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM