My Ionic info:
cli packages: (/usr/lib/node_modules)
@ionic/cli-utils : 1.9.2
ionic (Ionic CLI) : 3.9.2
global packages:
Cordova CLI : 7.0.1
local packages:
@ionic/app-scripts : 3.1.0
Cordova Platforms : browser 4.1.0
Ionic Framework : ionic-angular 3.9.2
System:
Node : v6.9.0
npm : 3.10.8
OS : Linux 4.4
Ionic serve is working fine, but does not detect any file changes!
The problem appears only for Ionic v3 and v2 projects.
My Ionic v1 projects are working fine.
I think your prob is the
can you just try to upgrade to 9.1.0 or more?
My answers works. My machine is also having a different package of Node which I forgot about in the first place.
So I've removed node_modules using:
To make things less complicated with all cli - head up back https://nodejs.org/ and install back the LTS package
Uninstall Node from brew
re-install node.js using conventional way using the installer
Please use these commands in your project.
And again run ionic serve
Have you tried using this cmd
npm run ionic:serve
In ionic 3 you have to type:
cordova run android
orcordova run ios
, to deploy your build in device.cordova build android
orcordova build ios
, for build only.my configurations for running ionic 3 application:
cli packages: (/usr/local/lib/node_modules)
global packages:
local packages:
System:
Environment Variables:
Misc: