Welcome to OGeek Q&A Community for programmer and developer-Open, Learning and Share
Welcome To Ask or Share your Answers For Others

Categories

0 votes
162 views
in Technique[技术] by (71.8m points)

My dog deleted all environment variables PATH's in Win 10, now "npm start" doesn't work

Everything was working perfectly fine with "npx create-react-app" and "npm start", until I didn't install Python and my dog delete all env. vars. PATH's in win 10,

and set:

C:Python38-32Scripts
C:Python38-32
C:Python38-32airline

later I added:

C:Program Files
odejs

so now "npx create-react-app" is working, but not and "npm start"

I google to find win 10 defaults and added:

C:Windowssystem32
C:Windows
C:WindowsSystem32Wbem

now I have:

C:Python38-32Scripts
C:Python38-32
C:Python38-32airline
C:Program Files
odejs
C:Windowssystem32
C:Windows
C:WindowsSystem32Wbem

How to fix that?

Thank's

See Question&Answers more detail:os

与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…
Welcome To Ask or Share your Answers For Others

1 Reply

0 votes
by (71.8m points)

So I install fresh windows 10, update windows, installed node.js, and VS code.

THIS IS THE ENV. VAR. PATH'S - NOW EVERYTHING IS WORKING!!!

C:Python38Scripts C:Python38 %SystemRoot%system32 %SystemRoot% %SystemRoot%System32Wbem %SYSTEMROOT%System32WindowsPowerShellv1.0 %SYSTEMROOT%System32OpenSSH C:Program Files odejs C:ProgramDatachocolateyin


与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…
OGeek|极客中国-欢迎来到极客的世界,一个免费开放的程序员编程交流平台!开放,进步,分享!让技术改变生活,让极客改变未来! Welcome to OGeek Q&A Community for programmer and developer-Open, Learning and Share
Click Here to Ask a Question

...