Answer the question
In order to leave comments, you need to log in
How to fix error with node?
I wrote a program in JS - everything worked. After an emergency restart of the computer, a failure occurred, and now the program gives an error:
The program is as simple as possible, I'm just learning: I'm
writing in Visual Studio.
Answer the question
In order to leave comments, you need to log in
the code seems to be normal, although ";" don't skip.
Perhaps the node flew off.
Try:
node -v
and if it does not give the version, then reinstall, add a variable to PATH
Completely deleted and installed the node a couple of times, everything worked. Thanks for the help!
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question