Skip to content

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

@ahnpnl

Description

@ahnpnl

🐛 Bug Report

[email protected] prints out lots of warnings when installing deps

To Reproduce

Steps to reproduce the behavior:

warning "jest > @jest/core > jest-snapshot > @babel/[email protected]" has unmet peer dependency "@babel/core@^7.0.0-0".
warning "jest > @jest/core > jest-snapshot > [email protected]" has unmet peer dependency "@babel/core@^7.0.0".
warning "jest > @jest/core > jest-snapshot > babel-preset-current-node-syntax > @babel/[email protected]" has unmet peer dependency "@babel/core@^7.0.0-0".
warning "jest > @jest/core > jest-snapshot > babel-preset-current-node-syntax > @babel/[email protected]" has unmet peer dependency "@babel/core@^7.0.0-0".
warning "jest > @jest/core > jest-snapshot > babel-preset-current-node-syntax > @babel/[email protected]" has unmet peer dependency "@babel/core@^7.0.0-0".
warning "jest > @jest/core > jest-snapshot > babel-preset-current-node-syntax > @babel/[email protected]" has unmet peer dependency "@babel/core@^7.0.0-0".
warning "jest > @jest/core > jest-snapshot > babel-preset-current-node-syntax > @babel/[email protected]" has unmet peer dependency "@babel/core@^7.0.0-0".
warning "jest > @jest/core > jest-snapshot > babel-preset-current-node-syntax > @babel/[email protected]" has unmet peer dependency "@babel/core@^7.0.0-0".
warning "jest > @jest/core > jest-snapshot > babel-preset-current-node-syntax > @babel/[email protected]" has unmet peer dependency "@babel/core@^7.0.0-0".
warning "jest > @jest/core > jest-snapshot > babel-preset-current-node-syntax > @babel/[email protected]" has unmet peer dependency "@babel/core@^7.0.0-0".
warning "jest > @jest/core > jest-snapshot > babel-preset-current-node-syntax > @babel/[email protected]" has unmet peer dependency "@babel/core@^7.0.0-0".
warning "jest > @jest/core > jest-snapshot > babel-preset-current-node-syntax > @babel/[email protected]" has unmet peer dependency "@babel/core@^7.0.0-0".
warning "jest > @jest/core > jest-snapshot > babel-preset-current-node-syntax > @babel/[email protected]" has unmet peer dependency "@babel/core@^7.0.0-0".
warning "jest > @jest/core > jest-snapshot > babel-preset-current-node-syntax > @babel/[email protected]" 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

Metadata

Metadata

Assignees

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions