Open coderaiser opened 2 months ago
Having trouble reproducing this bug. Does it happen consistently?
We recently started hoisting aliased packages (@isaacs/cliui
uses three). Does this error still occur if you delete node_modules/c8/node_modules/
and reinstall?
Hello @coderaiser. Please provide a minimal reproduction using a GitHub repository, Replit, or CodeSandbox. Issues marked with needs repro
will be closed if they have no activity within 3 days.
Yes, after removing node_modules
it works good, here is steps to reproduce inside putout
repository:
npm i lerna@6 -g
lerna bootstrap
bun i
Yes, after removing
node_modules
it works good, here is steps to reproduce insideputout
repository:npm i lerna@6 -g lerna bootstrap bun i
Thanks, I can repro this. This is happening because bun is not resetting node_modules after installing with another package manager
What version of Bun is running?
1.1.14
What platform is your computer?
mac os
What steps can reproduce the bug?
What is the expected behavior?
Expected
c8
installed correctlyWhat do you see instead?
Incorrect dependency
strip-ansi
installed forc8
Additional information
cliui
requiresstrip-ansi@6.0.1
, but it is not installed at all, only versionstrip-ansi@7
used, which is required by šPutout, it is ESM and everything is failed