So it appears there is a problem with the published version of @nativescript/schematics.
https://github.com/NativeScript/nativescript-schematics/issues/283
There are instructions in there on how to download the latest schematics.
After that, I ran into the following error:
Invalid options object. Copy Plugin has been initialized using an options object that does not match the API schema.
- options[0] misses the property 'patterns'. Should be:
[non-empty string | object { from, to?, context?, globOptions?, toType?, force?, flatten?, transform?, cacheTransform?, transformPath?, noErrorOnMissing? }, ...] (should not have fewer than 1 item)
- options[1] misses the property 'patterns'. Should be:
[non-empty string | object { from, to?, context?, globOptions?, toType?, force?, flatten?, transform?, cacheTransform?, transformPath?, noErrorOnMissing? }, ...] (should not have fewer than 1 item)
- options[2] misses the property 'patterns'. Should be:
[non-empty string | object { from, to?, context?, globOptions?, toType?, force?, flatten?, transform?, cacheTransform?, transformPath?, noErrorOnMissing? }, ...] (should not have fewer than 1 item)
ValidationError: Invalid options object. Copy Plugin has been initialized using an options object that does not match the API schema.
Which was fixed by doing what is explained in:
Nativescript Angular code sharing project problem with Webpack
Which led to the project building successfully, and then
Webpack build done!
Project successfully prepared (android)
Successfully transferred package.json on device emulator-5554.
Successfully transferred runtime.js on device emulator-5554.
Successfully transferred tns-java-classes.js on device emulator-5554.
Restarting application on device emulator-5554...
System.err: An uncaught Exception occurred on "main" thread.
System.err: Unable to create application com.tns.NativeScriptApplication: com.tns.NativeScriptException: Cannot compile /data/data/org.nativescript.test/files/app/bundle.js
System.err: SyntaxError: Unexpected identifier
System.err: File: (file:///data/data/org.nativescript.test/files/app/bundle.js:34:144)
and from there I'm stuck...
I've tried disabling IVY and running with ivy as discussed https://github.com/NativeScript/nativescript-angular/wiki/Updating-and-developing-for-@nativescript-angular-v9-with-Ivy-or-without and have had 0 success.