Error: Cannot find module '@ionic/app-scripts'


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 ionic serve in the project directory, it threw an error Error: Cannot find module '@ionic/app-scripts'

Problem courtesy of: Heng Sengthai


Try installing app-script from npm

npm i @ionic/app-scripts

Solution courtesy of: SAJ


app-scripts cuurently compatible with node 6 and 7. İf you installed node 8 please uninstall and install node 6 stable version. This solved error and now i can use ionic3, angular 4 . Take care!

Discussion courtesy of: softdevac

I had this issue , i solved it by deleting node_modules/ folder and ran the command npm installnow my app works

Discussion courtesy of: To Be

You must create the project as administrator if you have mac or linux uses sudo, if you have windows run the console as administrator and create the project

Discussion courtesy of: Oscar Mera

This recipe can be found in it's original form on Stack Over Flow.