I\'m new to Ionic. I was following the Ionic documentation \"get started\", created a project sample named \"super\". The problem is that when I run the command line i
do not downgrade the node version, update the version of "app-scripts":
To get the latest @ionic/app-scripts, please run:
npm install @ionic/app-scripts@latest --save-dev
Delete node_modules and package-lock.json
rm -rf node_modules package-lock.json
npm install
Reference: https://github.com/ionic-team/ionic-cli/issues/3399
None of the options worked for me. But I could make it work by updating node with npm update After this, the problem was solved and the application started. Good Luck.
I had the same problem and here is what worked for me
I was trying to run the program using VSCode terminal, Instead I used the windows cmd and it ran perfectly. I think the error is in VSCode terminal, it cannot identify the app-scripts module inside the project. Maybe it will be fixed in a later update.
Try installing app-script from npm
npm i @ionic/app-scripts