Answer the question
In order to leave comments, you need to log in
Why is the script not being executed from an arbitrary folder?
There is a folder on the server that contains local nodejs modules + the script itself. If a:
cd /path/to/folder/
node script.js
then everything is in order, the script is launched. But if: node /path/to/script.js
Answer the question
In order to leave comments, you need to log in
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question