I installed nodejs in C:\\Program Files (x86)\\nodejs
then I created a .js file and saved it in my desktop just to output \'hello world\' in the console:
I had the same problem, but finally I tried copying the Node_modules folder in the same project folder, and it worked.