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
I expect to see successfully executed tests with jest.
Actual behavior
ngcc-jest-processor: running ngcc
Error [ERR_PACKAGE_PATH_NOT_EXPORTED]: Package subpath './ngcc/main-ngcc.js' is not defined by "exports" in /jest-preset-angular/examples/example-app-v13/node_modules/@angular/compiler-cli/package.json
at new NodeError (node:internal/errors:371:5)
at throwExportsNotFound (node:internal/modules/esm/resolve:440:9)
at packageExportsResolve (node:internal/modules/esm/resolve:692:3)
at resolveExports (node:internal/modules/cjs/loader:482:36)
at Function.Module._findPath (node:internal/modules/cjs/loader:522:31)
at Function.Module._resolveFilename (node:internal/modules/cjs/loader:919:27)
at Function.resolve (node:internal/modules/cjs/helpers:108:19)
at Object.<anonymous> (/Users/mirco/Downloads/jest-preset-angular/examples/example-app-v13/node_modules/jest-preset-angular/build/utils/ngcc-jest-processor.js:22:21)
at Module._compile (node:internal/modules/cjs/loader:1101:14)
at Object.Module._extensions..js (node:internal/modules/cjs/loader:1153:10)
Version
10.1.0
Steps to reproduce
git clone https://github.com/thymikee/jest-preset-angular
cd jest-preset-angular/examples/example-app-v13
npm install
(with node 16.10)npm run test
Expected behavior
I expect to see successfully executed tests with jest.
Actual behavior
Additional context
I am aware of angular/components#23907 and #1149 (comment)
Environment
The text was updated successfully, but these errors were encountered: