Unable to GET // __ ion-dev-server / ionic_lab.html in ionic version 2.1.8

I updated local settings like

  • ionic
  • Cordova
  • NPM
    See System Environment Available on My Machine -

******************************************************

Your system information:

Cordova CLI: 6.4.0 
Ionic Framework Version: 2.0.0-rc.2
Ionic CLI Version: 2.1.8
Ionic App Lib Version: 2.1.4
Ionic App Scripts Version: 0.0.43
ios-deploy version: Not installed
ios-sim version: 5.0.8 
OS: OS X Yosemite
Node Version: v6.2.2
Xcode version: Xcode 7.2 Build version 7C68



******************************************************

after that I started the server by typing -

ion start

It works, but displays only one view in the browser instead of three (android, ios and windows).
When I use another command to get all as-

ion feed -lab (or) ion feed -l

It just shows the error in the browser as -

Unable to GET // __ ion-dev-server / ionic_lab.html

I had questions there in the ion forum , but this will not work for me, as there was no answer.

We hope for help !!!

+4
3

Package.json

"scripts": { "ionic:build": "ionic-app-scripts build" },

ionic serve --lab , ( )

: -lab RC2

Package.json

"scripts": { "build": "ionic-app-scripts build", "watch": "ionic-app-scripts watch", "serve:before": "watch", "emulate:before": "watch", "deploy:before": "build", "build:before": "build", "run:before": "watch" },

ionic serve --lab ( )

+3

Package.json "ionic: serve"

"scripts": {
    "ionic:build": "ionic-app-scripts build",
    "ionic:serve": "ionic-app-scripts serve"
},

"ionic: serve"

"scripts": {
    "ionic:build": "ionic-app-scripts build"
},
+4

Hi @Gulab Chand @Vojtech Ruzicka,

.
, -

  • .json -
  • -

"scripts": {
    "ionic:build": "ionic-app-scripts build",
    "ionic:serve": "ionic-app-scripts serve"
},
  1. -
"scripts": {
    "ionic:build": "ionic-app-scripts build"
},

!
-l -c -s/ -lab , enter image description here

+1

Source: https://habr.com/ru/post/1660567/


All Articles