Mathieu Nls
Mathieu Nls

Reputation: 2365

Firebase CLI commands always give exit code 1

I am trying to use firebase, however, each and every command of the firebase-tools is exiting with a 1 status code.

> firebase login    
> echo $?
1

I've tried npm install -g firebase-tools and its sudo counterpart without any luck.

Any ideas?

Upvotes: 1

Views: 656

Answers (1)

Mathieu Nls
Mathieu Nls

Reputation: 2365

It turns out that node itself wasn't working. Any attempt to do anything related to node was exiting with 1. The following fixed it:

ln -s /usr/bin/nodejs /usr/bin/node

Upvotes: 1

Related Questions