Ionic serve not working after installing ionic2?

Hi , All I have installed ionic 2 in my system , after that some of my ionic1 projects showing the error while running “ionic serve” ?

E:\ionic\Publications>ionic serve
WARN: ionic.project has been renamed to ionic.config.json, please rename it.
Uh oh! Looks like you’re missing a module in your gulpfile:
Cannot find module ‘end-of-stream’

Do you need to run npm install?

I have fixed this issue with the following steps ,

> Step 1 : Create new ionic project with the command "ionic start myproject blank --v1"

> Step 2 : Copy your old projects www folder and replace it with new project , 

> Step 3 : Add all necessary plugins , 

> Step 4 : Cordova prepare . 

Thats’s all Happy coding :smile:

1 Like