Angular flavor crashes after splash #1044
Description
Environment
$ tns info
✔ Component nativescript has 6.1.0 version and is up to date.
✔ Component tns-core-modules has 6.1.0 version and is up to date.
✔ Component tns-android has 6.1.0 version and is up to date.
✔ Component tns-ios has 6.1.0 version and is up to date.
$ node --version
v10.16.0
Describe the bug
master
(NativeScript/NativeScript@ca02ff1) of tns-core-modules
causes app crash immediately after launch via tns run
. Splash screen shows, then immediate crash without any error in the logs.
To Reproduce
$ node --version
v10.16.0
$tns --version
6.1.0
$ git clone https://github.com/NativeScript/NativeScript
$ tns create v6test --ng --appid com.rynop.v6test
$ cd v6test
$ npm install --save ../NativeScript/tns-core-modules
+ tns-core-modules@6.2.0
$ grep tns-core package.json
"tns-core-modules": "file:../NativeScript/tns-core-modules",
$ cd ../NativeScript && npm install
$ npm run tsc-w
In another tab:
$ cd projects/v6test
$ tns run ios
Expected behavior
simulator/emulator should start and run without error.
Additional context
Prior to 6.1.0
this issue manifested itself in the following error:
CONSOLE ERROR file:///src/Users/ryan/projects/NativeScript/tns-core-modules/trace/trace.ts:184:30 Error: Could not load CSS from app.css: TypeError: Expected module identifier to be a string.
Issue originally spotted in a somewhat related issue NativeScript/NativeScript#7745 . Multiple people reporting this
same issue.
Not being able to run without webpack, makes it really difficult to track down and debug these type of startup/core NS problems.