Environment
Provide the content of the package.json file in the project:
@nativescript/schematics@10.1.0
Describe the bug
When starting the newly created app, the error Uncaught ReferenceError: __decorate is not defined occurs in the browser and the app crashes.
To Reproduce
ng new -c=@nativescript/schematics dummy-nativescript --shared
cd dummy-nativescript
ng serve
Expected behavior
No error
Additional context
The solution is to remove the following lines from the tsconfig.json:
(Credits: https://stackoverflow.com/a/64088843)
Reactions are currently unavailable
Environment
Provide the content of the package.json file in the project:
Describe the bug
When starting the newly created app, the error Uncaught ReferenceError: __decorate is not defined occurs in the browser and the app crashes.
To Reproduce
Expected behavior
No error
Additional context
The solution is to remove the following lines from the tsconfig.json:
(Credits: https://stackoverflow.com/a/64088843)