Y
Y
Yuri2014-12-09 17:34:48
Node.js
Yuri, 2014-12-09 17:34:48

Error when running npm start?

I try to start the server with npm start

npm ERR! not ok code 0
npm ERR! weird error 1
npm WARN This failure might be due to the use of legacy binary "node"
npm WARN For further explanations, please read
/usr/share/doc/nodejs/README.Debian

0c01eee5fb9844368578034c5a2e9e50.png
I found a way on the Internet:
sudo apt-get install nodejs-legacy
but I already have nodejs-legacy installed.

Answer the question

In order to leave comments, you need to log in

1 answer(s)
K
Konstantin Kitmanov, 2014-12-10
@k12th

On the screen you can see that you have some kind of exception popping up. Unfortunately, it is not clear which one, so it is difficult to suggest something. BUT

This failure might be due to the use of legacy binary "node"
npm always shows when something called returned a non-null code.

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question