[BUG] NPX uses cached GIST instead of latest #2641
Labels
Bug
thing that needs fixing
Needs Triage
needs review for next steps
Release 7.x
work is associated with a specific npm 7 release
Current Behavior:
Installing from Gist using package.json and js file is a really interesting use of npx.
Trying this out on Windows, I found it cached the first gist version of the package and any changes to the gist weren't picked up.
Deleting the cache fixes this. Is there a command line option to delete the cache?
Expected Behavior:
Updating the code in a gist should be picked up by the installer as a difference or change, or installed each time npx is run.
Steps To Reproduce:
Running npx 7.5.1 from a Windows command line, I was able to replicate by simply creating a basic gist with an error, then trying to fix it.
https://gist.github.com/asears/cf8d95776e13f6472c1fb56b57659400
Cached version will be used rather than latest.
Environment:
Windows 19041.746.
Node 15.8.0
npm/npx: 7.5.1
The text was updated successfully, but these errors were encountered: