Answer the question
In order to leave comments, you need to log in
Node.js not working?
Quite recently I wrote code in webstorme, everything was fine
The next day I go in and I get an error
E:\nodejs\node.exe E:\OSPanel\domains\work\program.js
E:\OSPanel\domains\work\program.js :1
alert('out');
^
ReferenceError: alert is not defined
at Object. (E:\OSPanel\domains\work\program.js:1:1)
at Module._compile (internal/modules/cjs/loader.js:1200:30)
at Object.Module._extensions..js (internal/modules /cjs/loader.js:1220:10)
at Module.load (internal/modules/cjs/loader.js:1049:32)
at Function.Module._load (internal/modules/cjs/loader.js:937:14 )
at Function.executeUserEntryPoint [as runMain] (internal/modules/run_main.js:71:12)
at internal/main/run_main_module.js:17:47
I realized that the problem is in the node itself.
When I try to enter the node -v version checks, the same error is displayed node is not defined
That is, not a single command works and the node itself, reinstallation did not help
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