ngcc error while run `ng build` with Angular18

  Kiến thức lập trình

Package subpath ‘./ngcc’ is not defined by “exports” in /Users/xxx/node_modules/@angular/compiler-cli/package.json imported from /Users/xxx/node_modules/ng-packagr/lib/utils/ng-compiler-cli.js

anyone has idea about this error?

LEAVE A COMMENT