F
F
Farkhad Agamoglanov2021-03-10 17:55:00
Node.js
Farkhad Agamoglanov, 2021-03-10 17:55:00

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:
wkr6gburmvlrw2_1lp6islemoxc.png
The program is as simple as possible, I'm just learning: I'm
6048dd5015619134541589.png
writing in Visual Studio.

Answer the question

In order to leave comments, you need to log in

2 answer(s)
A
Alexander, 2021-03-11
@toopricom

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

F
Farkhad Agamoglanov, 2021-03-12
@toopricom

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 question

Ask a Question

731 491 924 answers to any question