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

Heng Sengthai picture Heng Sengthai · Jun 6, 2017 · Viewed 77.5k times · Source

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'

Answer

Sathyajith picture Sathyajith · Jun 6, 2017

Try installing app-script from npm

npm i @ionic/app-scripts