force fresh install (clear cache) of single package from tarball #8568
Unanswered
theoephraim
asked this question in
Q&A
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
I am using pkg.pg.new to test out preview releases of packages. This means that I'm installing packages from a remote URL related to the PR (ex:
https://pkg.pr.new/@myorg/sometool@123
) which points to a tarball. As my PR is updated, the remote tarball will be updated, but it seems that pnpm wants to cache it locally and will not actually re-install the updated tarball.Maybe I'm missing something in the docs, but is there a simple way to force a fresh install of a specific package?
(The
--force
flag does not clear the cache)Running
pnpm store prune
and deleting localnode_modules
before a fresh install does result in a fresh install, but this is obviously undesirable, as it clears the entire pnpm store. I just want to re-install a specific package.Beta Was this translation helpful? Give feedback.
All reactions