Ahmed Commando
Ahmed Commando

Reputation: 808

Firebase init is not working with ubuntu 14.04

Firebase init is not working on ubuntu 14.04. This is the error i get everytime i try to execute this command. Thank you for helping me.

/usr/bin/env: node: no such file or directory

Upvotes: 0

Views: 727

Answers (1)

Ahmed Commando
Ahmed Commando

Reputation: 808

i finally found how to deal with it. first of all it is a node problem, so i should remove it then just create a symlink of nodejs to node.

 sudo apt-get remove --purge node
 sudo rm /usr/bin/node
 sudo ln -s /usr/bin/nodejs /usr/bin/node
 firebase init

and it works.

Upvotes: 4

Related Questions