A RetroSearch Logo

Home - News ( United States | United Kingdom | Italy | Germany ) - Football scores

Search Query:

Showing content from https://github.com/orgs/pnpm/discussions/8568 below:

force fresh install (clear cache) of single package from tarball · pnpm · Discussion #8568 · GitHub

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?

Things that do not work:

The only thing that does work is clearing the entire cache -- pnpm store prune && rm -rf node_modules && pnpm i
But this is obviously undesirable, as it clears the entire pnpm store. I just want to re-install this specific package.


RetroSearch is an open source project built by @garambo | Open a GitHub Issue

Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo

HTML: 3.2 | Encoding: UTF-8 | Version: 0.7.4