Answer the question
In order to leave comments, you need to log in
What is the correct environment variable to access the global folder?
I'm trying to connect to the root file so that I don't specify an explicit path each time.
Please tell me what I need to do. Maybe change the environment variable?
This method does not help:
1)set NODE_PATH=. node server.js
2) I found this method on the net, it does not help either.
set NODE_PATH="." && nodes server.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