使用react腳手架create-react-app遇到的問題

1.使用  npm install -g create-react-app 時,頁面報錯:以下:react 此時查看錯誤日誌:npm 大概意思猜想是npm的問題 就把命令改爲cnpm install -g create-react-app,此時第一步能夠順利執行app 2. 輸入create-react-app my-app,建立名爲my-app的項目,以下圖:日誌 又報以前的錯了,緣由是由於這個
相關文章
相關標籤/搜索