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

jest 27: more warnings are printed out when installing deps #10931

Closed
ahnpnl opened this issue Dec 8, 2020 · 2 comments · Fixed by #10946
Closed

jest 27: more warnings are printed out when installing deps #10931

ahnpnl opened this issue Dec 8, 2020 · 2 comments · Fixed by #10946

Comments

@ahnpnl
Copy link
Contributor

ahnpnl commented Dec 8, 2020

🐛 Bug Report

jest@27.0.0-next.2 prints out lots of warnings when installing deps

To Reproduce

Steps to reproduce the behavior:

warning "jest > @jest/core > jest-snapshot > @babel/plugin-syntax-typescript@7.12.1" has unmet peer dependency "@babel/core@^7.0.0-0".
warning "jest > @jest/core > jest-snapshot > babel-preset-current-node-syntax@1.0.0" has unmet peer dependency "@babel/core@^7.0.0".
warning "jest > @jest/core > jest-snapshot > babel-preset-current-node-syntax > @babel/plugin-syntax-async-generators@7.8.4" has unmet peer dependency "@babel/core@^7.0.0-0".
warning "jest > @jest/core > jest-snapshot > babel-preset-current-node-syntax > @babel/plugin-syntax-bigint@7.8.3" has unmet peer dependency "@babel/core@^7.0.0-0".
warning "jest > @jest/core > jest-snapshot > babel-preset-current-node-syntax > @babel/plugin-syntax-class-properties@7.12.1" has unmet peer dependency "@babel/core@^7.0.0-0".
warning "jest > @jest/core > jest-snapshot > babel-preset-current-node-syntax > @babel/plugin-syntax-import-meta@7.10.4" has unmet peer dependency "@babel/core@^7.0.0-0".
warning "jest > @jest/core > jest-snapshot > babel-preset-current-node-syntax > @babel/plugin-syntax-json-strings@7.8.3" has unmet peer dependency "@babel/core@^7.0.0-0".
warning "jest > @jest/core > jest-snapshot > babel-preset-current-node-syntax > @babel/plugin-syntax-logical-assignment-operators@7.10.4" has unmet peer dependency "@babel/core@^7.0.0-0".
warning "jest > @jest/core > jest-snapshot > babel-preset-current-node-syntax > @babel/plugin-syntax-nullish-coalescing-operator@7.8.3" has unmet peer dependency "@babel/core@^7.0.0-0".
warning "jest > @jest/core > jest-snapshot > babel-preset-current-node-syntax > @babel/plugin-syntax-numeric-separator@7.10.4" has unmet peer dependency "@babel/core@^7.0.0-0".
warning "jest > @jest/core > jest-snapshot > babel-preset-current-node-syntax > @babel/plugin-syntax-object-rest-spread@7.8.3" has unmet peer dependency "@babel/core@^7.0.0-0".
warning "jest > @jest/core > jest-snapshot > babel-preset-current-node-syntax > @babel/plugin-syntax-optional-catch-binding@7.8.3" has unmet peer dependency "@babel/core@^7.0.0-0".
warning "jest > @jest/core > jest-snapshot > babel-preset-current-node-syntax > @babel/plugin-syntax-optional-chaining@7.8.3" has unmet peer dependency "@babel/core@^7.0.0-0".
warning "jest > @jest/core > jest-snapshot > babel-preset-current-node-syntax > @babel/plugin-syntax-top-level-await@7.12.1" has unmet peer dependency "@babel/core@^7.0.0-0".

Expected behavior

Should have no warnings like jest 26 or at least very few warnings.

Link to repl or repo (highly encouraged)

https://github.com/ahnpnl/ts-jest-babel-example/tree/jest-27-dep-warning

envinfo

jest 26

 System:
    OS: macOS 11.0.1
    CPU: (8) x64 Intel(R) Core(TM) i7-7700HQ CPU @ 2.80GHz
  Binaries:
    Node: 14.15.1 - /usr/local/bin/node
    Yarn: 1.22.10 - /usr/local/bin/yarn
    npm: 7.0.14 - /usr/local/bin/npm
  npmPackages:
    jest: ^26.6.3 => 26.6.3 

jest 27

System:
    OS: macOS 11.0.1
    CPU: (8) x64 Intel(R) Core(TM) i7-7700HQ CPU @ 2.80GHz
  Binaries:
    Node: 14.15.1 - /usr/local/bin/node
    Yarn: 1.22.10 - /usr/local/bin/yarn
    npm: 7.0.14 - /usr/local/bin/npm
  npmPackages:
    jest: ^27.0.0-next.2 => 27.0.0-next.2 

cc @SimenB @jeysal

@SimenB
Copy link
Member

SimenB commented Dec 8, 2020

From #7792 - could you take a look @jeysal?

@github-actions
Copy link

This issue has been automatically locked since there has not been any recent activity after it was closed. Please open a new issue for related bugs.
Please note this issue tracker is not a help forum. We recommend using StackOverflow or our discord channel for questions.

@github-actions github-actions bot locked as resolved and limited conversation to collaborators Jun 15, 2021
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

Successfully merging a pull request may close this issue.

3 participants