Open rlnd1 opened 3 years ago
This may or may not be your issue, but your package json is referencing @nativescript/webpack: '~5.0.0-beta.0'
, It is possible the version specified in your lock file is too low of a version for Angular 12. You should try upgrading it to 5.0.0-beta.15
or use @nativescript/webpack@beta
to grab the latest beta and see if that helps.
Thank you for your help. Unfortunately, the problem stays the same (even the Webpack logs).
I think check the rest of your imports. Like "nativescript": "^7.2.1",
. I don't think that should be in there. And in the dev area you have "@nativescript/schematics": "^10.1.0",
, but that is no longer a thing with {N}8.
@rlnd1 , I get a similar exception. I fix it by adding source-map in devDependencies of package.json
"source-map": "~0.6.0",
maybe you can try it.
Environment tns info:
package.json:
tsconfig.json:
main.ts and polyfills.ts as in https://blog.nativescript.org/nativescript-angular-12/index.html
Describe the bug I try to update the NS 8.0 application to Angular 12. I followed the update guide from the NativeScript blog. If I try to run the app, webpack outputs some warnings, but the build succeeds. However, after launching, the app crashes immediately. I deleted the platforms folder before running.
Webpack warnings:
Error log: