Home > Enterprise >  How to get npx to use latest bin script after publish
How to get npx to use latest bin script after publish

Time:08-11

I published a package and later on published another one. Now when I try to run it using npx @matriarx/typescript init it keeps using the old script from the previous release and breaks.

How can I get npx to use the latest bin script?

CodePudding user response:

There is a bug with the npx cache.

To fix it delete the cache at ~/.npm/_npx.

  •  Tags:  
  • npm
  • Related