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:
- Created 3 years ago
- Comments:5 (3 by maintainers)
Top 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 >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
\o/
Thanks
https://github.com/facebook/fbt/commit/4e4753def14de0d3610d4409092355b1450fc38e