What happened?
ionic serve --lab now opens a new browser window but doesn’t load the app.
If I use http://localhost:8100 I can see the app in the browser, but --lab has stopped working and I HAVE to enter http://localhost:8100
I’ve downgraded but now even v3.19.0 is broken too.
Just tried on my machine, no problem, --lab
works fine
Maybe something went wrong with your install? Or which node are you using?
Here my ionic info
for comparison:
cli packages:
@ionic/cli-utils : 1.19.1
ionic (Ionic CLI) : 3.19.1
global packages:
cordova (Cordova CLI) : 8.0.0
Gulp CLI : CLI version 3.9.1 Local version 3.9.1
local packages:
@ionic/app-scripts : 3.1.8
Cordova Platforms : android 7.0.0 ios 4.5.4
Ionic Framework : ionic-angular 3.9.2
System:
Android SDK Tools : 26.1.1
ios-deploy : 1.9.2
ios-sim : 5.0.13
Node : v9.4.0
npm : 5.6.0
OS : macOS Sierra
Xcode : Xcode 9.2 Build version 9C40b
Environment Variables:
ANDROID_HOME : /Users/my/Library/Android/sdk
Misc:
backend : pro
Here is mine:
[WARN] Error with ./www/lib/ionic/version.json file: FILE_NOT_FOUND, trying
./bower.json.
[WARN] Error with ./www/lib/ionic/version.json file: FILE_NOT_FOUND, trying
./bower.json.
cli packages: (/usr/local/lib/node_modules)
@ionic/cli-utils : 1.19.1
ionic (Ionic CLI) : 3.19.1
global packages:
cordova (Cordova CLI) : 8.0.0
Gulp CLI : CLI version 3.9.1 Local version 3.9.1
local packages:
Cordova Platforms : android 7.0.0 ios 4.5.4
Ionic Framework : ionic1 1.3.4
System:
Node : v8.9.3
npm : 5.5.1
OS : macOS High Sierra
Xcode : Xcode 9.2 Build version 9C40b
Environment Variables:
ANDROID_HOME : not set
Misc:
backend : pro
Well according your error msg, you face the exact same problem as you already posted here and solved. Have you try to solve it the same way as you did?
I’ve just tested a different Ionic 2 project and it works fine.
I do get this error with “ionic info” though:
Error with ./www/lib/ionic/version.json file: FILE_NOT_FOUND, trying
./bower.json.
forza11:
npm i -D -E @ionic /lab
Did exactly what you said, it worked great for me.
thanks, it worked well for me