nativescript-angular: @nativescript/angular does not compile with @nativescript/core
Environment {N} 6.2
Describe the bug Webpack compilation breaks with the following error
> [19-11-08 12:51:30.982] (CLI) ERROR in @nativescript/angular/common.ts(26,9): Error during template compile of 'NativeScriptCommonModule'
> [19-11-08 12:51:30.982] (CLI) Could not resolve tns-core-modules/ui/frame relative to [object Object]. in 'defaultFrameProvider'
> [19-11-08 12:51:30.982] (CLI) 'defaultFrameProvider' contains the error at @nativescript/angular/platform-providers.ts(44,48).
>
Expected behavior To compile without any problems
Additional context This file is causing the problem as it still tries to import from tns-core-modules instead of @nativescript/core. https://github.com/NativeScript/nativescript-angular/blob/87c8cea84b878e2e7b8707e3e7ff7a21bfdd2090/nativescript-angular/platform-providers.ts#L3-L6
About this issue
- Original URL
- State: closed
- Created 5 years ago
- Comments: 19 (5 by maintainers)
Commits related to this issue
- chore: run tests with aot and uglify Add tests for https://github.com/NativeScript/nativescript-angular/issues/2058 — committed to NativeScript/nativescript-tooling-qa by dtopuzov 4 years ago
@diegovincent - please open a new issue; with the entire bug info filled out. Hard to know why with no information. Please also read: https://nativescript.org/blog/nativescript-6-7-xcode-compatibility/ as this could also be part of your failure.