Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

@9.0.0-next.14 no longer works with node 15 #920

Closed
johncrim opened this issue May 11, 2021 · 0 comments · Fixed by #923
Closed

@9.0.0-next.14 no longer works with node 15 #920

johncrim opened this issue May 11, 2021 · 0 comments · Fixed by #923

Comments

@johncrim
Copy link
Contributor

johncrim commented May 11, 2021

💥 Regression Report

I've been using node 15 successfully for a while now, angular does not prevent me from using it. However commit 0803124 broke my ability to use node 15 with the latest jest-preset-angular.

Last working version

Worked up to version: 9.0.0-next.13

Stopped working in version: 9.0.0-next.14

To Reproduce

Steps to reproduce the behavior:

Using node 15:

❯ yarn upgrade jest-preset-angular@9.0.0-next.14

yarn upgrade v1.22.5
[1/4] Resolving packages...
[2/4] Fetching packages...
warning Pattern ["typescript@>=4.0.0 and <4.2.0"] is trying to unpack in the same destination "C:\\Users\\johnc\\AppData\\Local\\Yarn\\Cache\\v6\\npm-typescript-4.1.5-123a3b214aaff3be32926f0d8f1f6e704eb89a72-integrity\\node_modules\\typescript" as pattern ["typescript@4.1.5"]. This could result in non-deterministic behavior, skipping.
info fsevents@2.3.2: The platform "win32" is incompatible with this module.
info "fsevents@2.3.2" is an optional dependency and failed compatibility check. Excluding it from installation.
info fsevents@1.2.13: The platform "win32" is incompatible with this module.
info "fsevents@1.2.13" is an optional dependency and failed compatibility check. Excluding it from installation.
info fsevents@2.1.3: The platform "win32" is incompatible with this module.
info "fsevents@2.1.3" is an optional dependency and failed compatibility check. Excluding it from installation.
error jest-preset-angular@9.0.0-next.14: The engine "node" is incompatible with this module. Expected version "^12.14.1 || ^14.15.0". Got "15.12.0"
error Found incompatible module.

Expected behavior

jest-preset-angular doesn't prevent me from upgrading, if angular doesn't prohibit the newer version of node.

envinfo

System:
    OS: Windows 10

Angular CLI: 11.2.4
Node: 15.12.0
OS: win32 x64

Npm packages:
    jest: ^27.0.0-next.4
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant