Rocket.Chat icon indicating copy to clipboard operation
Rocket.Chat copied to clipboard

npm install error

Open FINIUS opened this issue 10 years ago • 4 comments

When trying to repeat my Rocket.Chat installation on a Hyper-V Machine running a freshly set up Ubuntu 14.04.2 LTS, I ran into the following error when trying to install RocketChat following the install guide https://github.com/RocketChat/Rocket.Chat/wiki/Deploy-Rocket.Chat-without-docker: unbenannt regardless of runnig "npm install" as root or not - error 127 occurs every time and I don't know why or how to fix it. (What means "the use of binary node" ins this case??)

FINIUS avatar Jan 14 '16 09:01 FINIUS

Can you check your node version, please? node -v.

marceloschmidt avatar Jan 14 '16 11:01 marceloschmidt

results in this node

ghost avatar Jan 14 '16 11:01 ghost

Seems like you dont have node installed:

# SYSTEM CONFIGURATION
sudo apt-get update
sudo apt-get install -y npm 
sudo npm install -g n
sudo n 0.10.40

tuudik avatar Jan 14 '16 14:01 tuudik

Thanks - that worked for me! I could bet it had already been installed in the vm snapshot I reverted that time. Anyway - thanks for your support!

ghost avatar Jan 14 '16 14:01 ghost