You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Install or update Angular to the latest version (19.0.6)
Install or update Ng Zorro to latest version (19.0.1)
Run 'ng build' or 'ng serve'
What is expected?
The build to succeed without any errors.
What is actually happening?
After updating to the latest version of Angular (19.0.6) and NG Zorro (19.0.1), the following error is thrown when building or running the project:
Could not resolve "@ctrl/tinycolor"
node_modules/ng-zorro-antd/fesm2022/ng-zorro-antd-core-config.mjs:5:26:
5 │ import { TinyColor } from '@ctrl/tinycolor';
╵ ~~~~~~~~~~~~~~~~~
You can mark the path "@ctrl/tinycolor" as external to exclude it from the bundle, which will remove this error and leave the unresolved path in the bundle.
Environment
Info
ng-zorro-antd
19.0.1
Browser
Chrome 131.0.6778.205
The text was updated successfully, but these errors were encountered:
Having the same issue here. I was able to npm install @ctrl/tinycolor to the project to get it to build but would be nice to have all the dependencies already pulled. Ran into this issue with several projects.
Reproduction link
https://stackblitz.com/edit/stackblitz-starters-zc1rmhbh?file=package.json
Steps to reproduce
What is expected?
The build to succeed without any errors.
What is actually happening?
After updating to the latest version of Angular (19.0.6) and NG Zorro (19.0.1), the following error is thrown when building or running the project:
The text was updated successfully, but these errors were encountered: