bun pm cache rm for packages removed with bun remove #8078
guest271314
started this conversation in
Ideas
Replies: 2 comments 5 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.
4 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
Given
bun install esbuild, do stuff withesbuild, thenbun remove esbuildthe@esbuildfolder still exists innode_modules.package.jsonis updated, however after a secondbun installjust to see what happens whenesbuildis no longer inpackage.json@esbuildfolder is still innode_modulesafterremoveand subsequentinstall.Either an option to
remove, e.g.,--cache-remove(referring to package innode_modules), or an option toinstall, e.g.,--force-remove, oruninstallcommand (remove fromnode_modulesand~/.bun/install/cache) can be added to explicitly remove removed packages.Beta Was this translation helpful? Give feedback.
All reactions