[英]Why is the create-react-app command not working?
根據你的截圖,你初始化你的react項目是沒有問題的。
我認為您的本地網絡可能不夠好。 創建一個react app,需要安裝很多第三方的node_modules,導致出錯。
因此,可以嘗試更換npm源,比如淘寶( https://registry.npm.taobao.org )
npm config set registry xxx
然后使用 craete-react-app 初始化應用程序。
聲明:本站的技術帖子網頁,遵循CC BY-SA 4.0協議,如果您需要轉載,請注明本站網址或者原文地址。任何問題請咨詢:yoyou2525@163.com.