Note: This article was published on 10/12/2024.
This is a seres of articles about Angular Installation, Upgrading.
- Angular Installation and Environment Setup
- Update Angular For Environment And Project
- Update nx-angular:
- Update nx-Angular from 12 to 17 (1) --- Initial Point
- Update nx-Angular from 12 to 17 (2) --- in a nx environment
- Update nx-Angular from 12 to 17 (3) --- to Latest or Version by Version?
- Update nx-Angular from 12 to 17 (4) --- Debugging (1) --- this article
- Update nx-Angular from 12 to 17 (5) --- Debugging (2)
- Update nx-Angular from 12 to 17 (6) --- .Net updating and Angular updating
Introduction
This article is to discuss some major errors incurred in this upgrading process.
The content of this article:
- Introduction
- Error 1: --- @use --- new way to @import
- Error 2: --- Cannot Resolve'ngx-observable-lifecycle'
- Error 3: --- enabled to enabledNonBlocking
- Error 4: --- error TS1005: '?' expected
- Error 5: --- @import => @use for ag-grid
- Error 6: --- error TS2345: Argument of type partial is not assignable to parameter of type
- Error 7: --- error TS5101: specify compilerOption '"ignoreDeprecations": "5.0"'
Error 1: --- @use --- new way to @import
-
Upgrade to [email protected]
Error:

Solution:

Code Changed:

Error 2: --- Cannot Resolve'ngx-observable-lifecycle'
-
Upgrade to [email protected]
Error:

Solution:

After installation:

Error 3: --- enabled to enabledNonBlocking
-
npx nx migrate [email protected]
Error:

solution:















Join the conversation! Your thoughts help the community grow.