L
L
lavezzi12017-09-30 21:42:44
JavaScript
lavezzi1, 2017-09-30 21:42:44

Node not working after update?

Updated node to 8.6.0. When installing something throws an error:

"➜  website npm install gulp -D
env: node: No such file or directory"

How to decide? Using zsh + iTerm on mac 10.13

Answer the question

In order to leave comments, you need to log in

1 answer(s)
D
Decadal, 2017-09-30
@Decadal

ln -s /usr/bin/nodejs /usr/bin/node
this is because some dependencies run the node as node and not as nodejs.

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question