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.
Try below steps.. May be it will help
When I use ionic cli build app(ionic3 + angular5),same problem happened to me.I updated '@ionic/app-scripts' to version '3.1.6',then problem solved
You should not use "sudo" with any of the ionic/npm commands. If it throws error without "sudo", then you can fix it by changing the owner of the npm packages, using the command below:
sudo chown -R $(whoami) ~/.npm
Use these commands in your prompt.
Try npm run ionic:serve. Similar issue occurred when installing the latest cordova update.
Install ws: