By default, my scripts are placed in the folder


And I put it here


Two questions: How to make the new path become the default? Why the error comes out

cannot fint module ''

when I put a new path. What doesn't like?

    1 answer 1

    Try writing in the linux console:

     export NODE_PATH /var/www/****/data/nodeserver 

    before running your application

    • bash export not a valid identifier - Adel