npm skript dont find node

Viewed 30

Sorry for the German question before. I have the following problem. I search about it in the internet but i did't was successfull.

I wanna run my node script with my npm-dev script. package.json Datei mit dev-script

I execute " npm run dev". Normal like everytime.

Than i got this error message: Terminal Fehlermeldung It means that node cannot be found.

complete log

I can execute via the Terminal my JS-File with "node index". Just all my npm-scrips doesn't work.

I think that i have some problems with the environment variables. But if I execute " node -v" or "npm -v" everything work fine.

In my PATH i have " C:\Program Files\nodejs" Not sure if that is all what I need?

Thanks in advance if someone can help me with this Problem.

AD

0 Answers
Related