A
A
Alexey Cherepanov2015-11-26 06:15:38
Node.js
Alexey Cherepanov, 2015-11-26 06:15:38

How to make nodemon work with nodejs?

Good afternoon.
Under Ubuntu 14 LTS I install nodejs (not node and not nodejs-legacy) I install npm, I install nodemon with it, I run the *.js file with nodemon, but nodemon accesses node, not nodejs. If you set node(nodejs-legacy), then watch does not work in nodemon.
How to fix the situation?

Answer the question

In order to leave comments, you need to log in

1 answer(s)
D
Dmitry Kravchenko, 2015-11-26
@Udjine

create symlink on node? something like this:
sudo ln -s "$(which nodejs)" /usr/bin/node

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question