-
-
Notifications
You must be signed in to change notification settings - Fork 196
Description
Environment
Provide version numbers for the following components (information can be retrieved by running tns info
in your project folder or by inspecting the package.json
of the project):
✔ Component nativescript has 5.0.0-2018-10-08-12421 version and is up to date.
✔ Component tns-core-modules has 4.2.1 version and is up to date.
✔ Component tns-android has 4.2.0 version and is up to date.
✔ Component tns-ios has 4.2.0 version and is up to date.
Describe the bug
tns preview --bundle
breaks in Angular Projects with an error message: ERROR Error: Uncaught (in promise): Error: ActionBar(1) is not a valid View instance.
To Reproduce
I've only tested this on Android.
tns create test --ng
cd test
npm i -D nativescript-dev-webpack@next
tns preview --bundle
However, when I run tns run android --bundle
or tns preview
, the project runs correctly.