I’m getting errors after a v2 install, any tips?
ionic start test sidemenu --v2
cd test
$ ionic serve --lab
I then get these console errors
Pointing to the ionic-lab.html file
If I change the angular.min.js to the CDN it works but then says it doesn’t know BOOTSTRAP…
I’m not sure what to do because it is a clean install so I think everything should be working normally…
Your system information:
Cordova CLI: 6.2.0
Ionic Framework Version: 2.0.0-rc.3
Ionic CLI Version: 2.1.8
Ionic App Lib Version: 2.1.4
Ionic App Scripts Version: 0.0.45
ios-deploy version: 1.8.6
ios-sim version: 5.0.8
OS: macOS Sierra
Node Version: v5.0.0
Xcode version: Xcode 8.1 Build version 8B62
Any advice is greatly appreciated,
Thanks,
Pieter-Jan
I would make sure to have the latest Ionic CLI version to start with. You can check what’s the latest version of any package using npm:
$ npm view ionic version
2.1.13
$ npm view cordova version
6.4.0
Thanks for the reply, I updated but the issue is not solved.
Updated:
Your system information:
Cordova CLI: 6.4.0
Ionic Framework Version: 2.0.0-rc.3
Ionic CLI Version: 2.1.13
Ionic App Lib Version: 2.1.7
Ionic App Scripts Version: 0.0.45
ios-deploy version: 1.8.6
ios-sim version: 5.0.8
OS: macOS Sierra
Node Version: v5.0.0
Xcode version: Xcode 8.1 Build version 8B62
Does it work without --lab
?
Yes it does,
To be honest the lab environment seems to be working as normal(not sure how to be 100% sure if everything is working but I can navigate in the starter template) but I still get the error.
I think Angular is being loaded in afterwards when the app initialises.
Console from --lab environment
Console without --lab
update: I have been working on the app for about a week now. I still get the same error but lab environment seems to work fine… any fix is still welcome