question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

peer invalid: @babel/core@7.0.0-beta.38

See original GitHub issue

Do you want to request a feature or report a bug? Bug. It affects React Native too https://github.com/facebook/react-native/issues/18490

What is the current behavior? Can not generate npm-shrinkwrap.json file. With command npm ls @babel/plugin-check-constants@7.0.0-beta.38 I discovered that problem is in metro bundler package

└─┬ react-native@0.54.2
  └─┬ metro@0.28.0
    ├── UNMET PEER DEPENDENCY @babel/core@7.0.0-beta.42
    └── @babel/plugin-check-constants@7.0.0-beta.38

If the current behavior is a bug, please provide the steps to reproduce and a minimal repository on GitHub that we can yarn install and yarn test. Create new React Native app via react-native init, install node packages and run npm shrinkwrap command

What is the expected behavior? Generated npm-shrinkwrap.json file

Please provide your exact Metro configuration and mention your Metro, node, yarn/npm version and operating system. Environment: OS: Linux 4.4 Node: 6.13.1 Yarn: Not Found npm: 3.10.10 Watchman: 4.9.0 Xcode: N/A Android Studio: 3.0 AI-171.4443003

Packages: (wanted => installed) react: 16.3.0-alpha.1 => 16.3.0-alpha.1 react-native: 0.54.2 => 0.54.2

Issue Analytics

  • State:closed
  • Created 5 years ago
  • Reactions:6
  • Comments:9 (3 by maintainers)

github_iconTop GitHub Comments

5reactions
kenmacacommented, Oct 9, 2018

This issue is back in 0.57.2:

yarn check v1.10.1
warning "sane#fsevents#node-pre-gyp@^0.10.0" could be deduped from "0.10.3" to "node-pre-gyp@0.10.3"
error "metro#babel-preset-fbjs#@babel/plugin-check-constants#@babel/core@7.0.0-beta.38" doesn't satisfy found match of "@babel/core@7.1.2"
error Found 1 errors.
1reaction
rafecacommented, Oct 16, 2018

Hi!

Thanks for the heads up here! babel-beta.38 is being installed due to babel-preset-fbjs. It seems that with babel@7 stable @babel/plugin-check-constants is not needed anymore so we’re going to remove it from the corresponding package 😄

/cc @jstejada

Read more comments on GitHub >

github_iconTop Results From Across the Web

Angular update from 8 to 13 peer dependency problem
I'm updating my angular app by following the angular update guide and I'm stuck with an error of peer dependencies. First I update...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found