bun pm cache rm for packages removed with bun remove #8078
guest271314
started this conversation in
Ideas
Replies: 2 comments 4 replies
-
I cannot believe the only option would be to delete node_modules and reinstall. What am I missing? |
Beta Was this translation helpful? Give feedback.
1 reply
-
OK. So ATM the winner is... deleting the node_module dir and reinstalling 😃 |
Beta Was this translation helpful? Give feedback.
3 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Given
bun install esbuild
, do stuff withesbuild
, thenbun remove esbuild
the@esbuild
folder still exists innode_modules
.package.json
is updated, however after a secondbun install
just to see what happens whenesbuild
is no longer inpackage.json
@esbuild
folder is still innode_modules
afterremove
and subsequentinstall
.Either an option to
remove
, e.g.,--cache-remove
(referring to package innode_modules
), or an option toinstall
, e.g.,--force-remove
, oruninstall
command (remove fromnode_modules
and~/.bun/install/cache
) can be added to explicitly remove removed packages.Beta Was this translation helpful? Give feedback.
All reactions