![](/img/trans.png)
[英]'react-scripts' is not recognized as an internal or external command
[英]Npm modules not getting installed and throws this error: 'react-scripts' is not recognized as an internal or external command,
您需要運行此命令
npm install react-scripts --save
npm
在讀取帶有空格的路徑時出現問題。
您應該通過直接刪除空格或將它們替換為其他字符(例如_
、 -
等)來更改路徑。
之后,您應該能夠成功運行npm install
,然后npm start
。
您也可以像這樣更改緩存路徑:PATH npm 中的空格
聲明:本站的技術帖子網頁,遵循CC BY-SA 4.0協議,如果您需要轉載,請注明本站網址或者原文地址。任何問題請咨詢:yoyou2525@163.com.