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.

Dependencies between the latest fbt packages seems to be busted

See original GitHub issue

🐛 Bug Report

It looks like that the most recent version of fbt, babel-plugin-fbt and babel-plugin-fbt-runtime

To Reproduce

Create an empty folder and get started with

npm i

Now that we got a fresh and empty module, let’s try to install fbt:

npm i fbt babel-plugin-fbt babel-plugin-fbt-runtime

We get the following error:

$ npm i fbt babel-plugin-fbt babel-plugin-fbt-runtime
npm ERR! code ERESOLVE
npm ERR! ERESOLVE unable to resolve dependency tree
npm ERR!
npm ERR! While resolving: undefined@undefined
npm ERR! Found: babel-plugin-fbt@0.16.0
npm ERR! node_modules/babel-plugin-fbt
npm ERR!   babel-plugin-fbt@"*" from the root project
npm ERR!
npm ERR! Could not resolve dependency:
npm ERR! peer babel-plugin-fbt@"^0.10.x" from fbt@0.16.0
npm ERR! node_modules/fbt
npm ERR!   fbt@"*" from the root project
npm ERR!
npm ERR! Fix the upstream dependency conflict, or retry
npm ERR! this command with --force, or --legacy-peer-deps
npm ERR! to accept an incorrect (and potentially broken) dependency resolution.
npm ERR!
npm ERR! See /home/deadalnix/.npm/eresolve-report.txt for a full report.

npm ERR! A complete log of this run can be found in:
npm ERR!     /home/deadalnix/.npm/_logs/2021-01-06T22_04_00_308Z-debug.log

Note that babel-plugin-fbt and babel-plugin-fbt-runtime can be installed individually, but not together, fbt cannot be installed at all without using --force .

Expected behavior

Node install the fbt packages and we can continue out happy life.

envinfo

$ npx envinfo --system --binaries

  System:
    OS: Linux 5.9 Debian GNU/Linux bullseye/sid
    CPU: (12) x64 Intel(R) Xeon(R) CPU D-1531 @ 2.20GHz
    Memory: 18.07 GB / 31.27 GB
    Container: Yes
    Shell: 5.1.0 - /bin/bash
  Binaries:
    Node: 12.19.0 - /usr/bin/node
    npm: 7.3.0 - /usr/bin/npm
    Watchman: 4.9.0 - /usr/bin/watchman

Issue Analytics

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

github_iconTop GitHub Comments

github_iconTop Results From Across the Web

Problems with conflicts and broken dependencies
Hello everyone. When I tried updating my system today, I got the following result: [nikos@asus-e502na ~]$ sudo dnf upgrade --refresh
Read more >
When Package Dependencies Become Problematic
In this article we explore some common security holes caused by npm packages.
Read more >
Fringe benefits tax – a guide for employers
The employee pays income tax on the cash component of their salary package, not including the salary-sacrificed fringe benefits. FBT.
Read more >
EARLY INTERVENTION, TREATMENT, AND MANAGEMENT ...
As mentioned earlier, this research has demonstrated positive effects for reducing alcohol use; the research with SBI among those with other substance use ......
Read more >
Official VRChat Blog
Official posts by the VRChat team regarding development, new features, announcements, and other important information.
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