我的狗删除了Win 10中的所有环境变量PATH,现在将其“ npm start”删除了。不起作用 [英] My dog deleted all environment variables PATH's in Win 10, now "npm start" doesn't work

查看:143
本文介绍了我的狗删除了Win 10中的所有环境变量PATH,现在将其“ npm start”删除了。不起作用的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

npx create-react-app的所有工作都很好和 npm start,直到我没有安装Python并且我的狗删除了所有环境。 vars。 PATH在胜利10中,

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,

并设置:

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

后来我添加了:

C:\Program Files\nodejs\

所以现在 npx create-react-app正在工作,但未运行并 npm start

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

我在Google上找到了10个默认值,并添加:

I google to find win 10 defaults and added:

C:\Windows\system32
C:\Windows
C:\Windows\System32\Wbem

现在我拥有:

C:\Python38-32\Scripts\
C:\Python38-32
C:\Python38-32\airline
C:\Program Files\nodejs\
C:\Windows\system32
C:\Windows
C:\Windows\System32\Wbem

如何解决?

谢谢

推荐答案

所以我安装了新的Windows 10,更新了Windows,安装了节点.js和VS代码。

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

这就是环境。 VAR。路径-现在一切正常!

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

C:\Python38\脚本
C:\Python38
%SystemRoot%\system32%SystemRoot% %SystemRoot%\System32\Wbem%SYSTEMROOT%\System32\WindowsPowerShell\v1.0
%SYSTEMROOT%\System32\OpenSSH
C:\Program Files\nodejs
C:\ProgramData\chocolatey\bin

C:\Python38\Scripts C:\Python38 %SystemRoot%\system32 %SystemRoot% %SystemRoot%\System32\Wbem %SYSTEMROOT%\System32\WindowsPowerShell\v1.0 %SYSTEMROOT%\System32\OpenSSH C:\Program Files\nodejs C:\ProgramData\chocolatey\bin

这篇关于我的狗删除了Win 10中的所有环境变量PATH,现在将其“ npm start”删除了。不起作用的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆