1. 程式人生 > >ionic出錯:Looks like @ionic/app-scripts isn't installed in this project..............................

ionic出錯:Looks like @ionic/app-scripts isn't installed in this project..............................

像這種奇怪的錯誤,去專案的資料夾中刪除node_modules整個檔案。再在vscode中輸入命令npm install,會重新生成node_modules資料夾。再在vscode終端中輸入 ionic serve 即可執行該專案。

重點就是刪node_modules

用npm install 再重新生成它。