-
-
Notifications
You must be signed in to change notification settings - Fork 6.6k
Closed
Labels
Description
🐛 Bug Report
[email protected]
prints out lots of warnings when installing deps
To Reproduce
Steps to reproduce the behavior:
-
Check out https://github.com/ahnpnl/ts-jest-babel-example/tree/jest-27-dep-warning
-
Run
yarn
to install deps and observe no warnings -
Run
yarn upgrade jest@next
and observe lots of warnings
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