Ionic serve not working on ionic 2

Yes, I can confirm that. Just tried it out on the same drive and it is working.
But there is a weird css error, i’m gonna open a new issue for that in github.

yes , i have same erro about @reactive with Ionic serve on windows 10/node 5.0

I can’t get it working on my mac (OSX 10.10.5, node 5)

Here are my steps:

  1. ionic start MyIonic2Project tutorial --v2
  2. cd MyIonic2Project
  3. ionic serve

ionic serve doesn’t seem to do anything. It doesn’t open up anything in my browser. I tried running it with ionic serve --address localhost --port 8100 and again, nothing happens.

Any advice?

If having problems still use this to clear npm from ionic and install the beta version:

npm uninstall -g ionic && npm uninstall -g cordova && npm cache clean && npm cache clear && npm i -g cordova && npm i -g ionic@beta

This is the command for linux and mac, if you’re in windows it would work with git bash, yet idk how would you do it with the Windows cmd.

1 Like

Guarantee keep your Project and npm/ionic install on the same disk directory on Windows 10 ,that’s ok!

This worked perfectly. Thank you so much.

To fix this, create a new ionic project with ionic start newProjectName, delete the node_modules directory and then run npm install to install all the dependencies correctly from scratch :smile:

I found out that the ionic www folder is empty… and I cant run my app even though I create another project… its on the repository… how do I solve this?
even I use npm install, still nothing happen… :frowning:

So little input :expressionless: could you provide what you’re doing? setting a new project or updating an existing one?
Which commands did you try in order and what does the error says?

I use this command ionic start MyIonic2Project tutorial --v2 there are no errors also when I run ionic serve --lab there are no error instead its terminated and serve wont contrinue

it helped, thanks a lot

why not “webpack.config.js” in my ionic’s project?
"ionic start ionic2ts tutorial --v2 --ts"
├── app
├── config.xml
├── gulpfile.js
├── hooks
├── ionic.config.js
├── ionic.config.json
├── node_modules
├── package.json
├── platforms
├── plugins
├── resources
├── tsconfig.json
├── typings
├── typings.json
└── www
have not webpack.config.js