Ion feed throws Type-Error: Appscripts.serve

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

How do I solve this problem / where should I look?

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

Help on this subject would be greatly appreciated!

+5
source share
4 answers

This is the same as mine, when I try to execute an old project in the Ionic3 update, and all this will be a mistake, but when you start a new project again, it will work well

+2
source

Run the following command:

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

After that, your application should work with

 ionic serve 
+21
source

I have the same problem when I started developing an old ionic project 2 with ionic 3. follow these steps for me:

 npm cache clear delete the node-modules folder npm install npm install --save-dev @ionic/ app-scripts@latest ionic serve 
+1
source

Running this command works for me

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

and then

 ionic serve 
0
source

Source: https://habr.com/ru/post/1268242/


All Articles