ERR_ADDRESS_INVALID after latest update 0.0.42 @ionic/app-scripts

I have update app-script as per

after that when I serve it’s show me following error… how to fix this?

\G:\xampp\htdocs\SareekaIO2RC2\Sareeka\node_modules@angular\core\src\facade\lang.js:201 Angular 2 is running in the development mode. Call enableProdMode() to enable the production mode.

1 Like

Same error here after update to 0.0.44 @ionic/app-scripts

The same error after updating to rc3

Cordova CLI: 6.4.0
Ionic Framework Version: 2.0.0-rc.3
Ionic CLI Version: 2.1.7
Ionic App Lib Version: 2.1.4
Ionic App Scripts Version: 0.0.45
ios-deploy version: Not installed
ios-sim version: Not installed
OS: Windows 7
Node Version: v6.9.1

I have changed the host address from ‘’ to 'localhost and seems to be ok.
Just find ‘live-reload.js’ file and change that:

  1. path to the file: /node_modules/@ionic/app-scripts/dist/dev-server/live-reload.js
  2. change this ->: src = "//" + host + ":" + port + "/livereload.js?snipver=1";
    to: src = "//localhost:" + port + "/livereload.js?snipver=1";

Hi, I didn’t realize but there is a better solution without editing any files, just type in your command line the host address (e.g or just ‘localhost’)

ionic serve --address localhost


thanks! works like a charm!

thanks…save my days…