You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
Marc Cornellà 3741d1aa02
fix(npx)!: detect new `npx` versions and fail gracefully (#10452)
4 years ago
..
README.md
npx.plugin.zsh

README.md

npx plugin

Deprecation

Since npm v7, npx has been moved to npm exec. With the move, the --shell-auto-fallback argument for npx has been removed:

Shell fallback functionality is removed, as it is not advisable.

When using npm v7, you'll get this error:

npx: the --shell-auto-fallback argument has been removed

If you get this error, just disable the plugin by removing it from the plugins array in your zshrc file. This plugin will no longer be maintained and will be removed in the future, when the older npx versions are no longer available.