You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
mkdir bun-test &&cd ./bun-test
bun init
bun add @isaacs/cliui
What is the expected behavior?
It should resolve dependencies with the npm: prefix correctly
What do you see instead?
error: No version matching "npm:string-width@^4.2.0" found for specifier "string-width-cjs" (but package exists)
error: No version matching "npm:strip-ansi@^6.0.1" found for specifier "strip-ansi-cjs" (but package exists)
error: No version matching "npm:wrap-ansi@^7.0.0" found for specifier "wrap-ansi-cjs" (but package exists)
Additional information
When i look at the corresponding package.json from the dependency @isaacs/cliui i see this resolution:
so its requesting the packages in cjs version in their previous version - to prevent breaking changes i guess.
bun can ignore them in the end, but it should download the dependencies anyways so the dependency graph is satisfied.
this problem is quite problematic, because @isaacs/cliui is used by [email protected] wich is used by a lot of packages
The text was updated successfully, but these errors were encountered:
I have the same problem with @MUI/lab
getting this error: error: package "@mui/x-tree-view" with tag "https://pkg.csb.dev/mui/mui-x/commit/1f23b33d/@mui/x-tree-view" not found, but package exists
What version of Bun is running?
0.1.2
What platform is your computer?
Darwin 21.6.0 x86_64 i386
What steps can reproduce the bug?
What is the expected behavior?
It should resolve dependencies with the npm: prefix correctly
What do you see instead?
Additional information
When i look at the corresponding package.json from the dependency @isaacs/cliui i see this resolution:
so its requesting the packages in cjs version in their previous version - to prevent breaking changes i guess.
bun can ignore them in the end, but it should download the dependencies anyways so the dependency graph is satisfied.
this problem is quite problematic, because @isaacs/cliui is used by [email protected] wich is used by a lot of packages
The text was updated successfully, but these errors were encountered: