Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Ionic Serve throws a Type-Error: Appscripts.serve

I recently cloned a project and when I tried to serve it, I got an error:TypeError: AppScripts.serve is not a function.

How would I go about fixing this issue/where should I look?

I have already tried updating ionic, and reinstalling all plugins(just in case).

Assistance on this would be greatly appreciated !

like image 541
Silver Watkins Avatar asked May 25 '17 17:05

Silver Watkins


1 Answers

Execute this command:

npm install --save-dev @ionic/app-scripts@latest

After that your app should work using

ionic serve
like image 97
Ben Spi Avatar answered Oct 18 '22 20:10

Ben Spi