You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository was archived by the owner on Apr 7, 2021. It is now read-only.
executing command like npx @dr-js/node will run node directly
but with added tag or version like npx @dr-js/node@dev, the correct package will install and run
also can test with existing command like npx @qwerty/git will just run git
When
when using npx to run a scoped package and:
have a name same as existing shell command, like: npx @dr-js/node
do not specify extra version or tag like: npx @dr-js/node@dev
Where
n/a
How
Current Behavior
n/a
~# npx @dr-js/node
Welcome to Node.js v12.13.0.
Type ".help" for more information.
>
Steps to Reproduce
n/a
Expected Behavior
n/a
~# npx @dr-js/node
npx: installed 2 in 3.437s
CLI Usage:
--config --c -c [OPTIONAL] [ARGUMENT=1]
from ENV: set to "env"
from JS/JSON file: set to "path/to/config.js|json"
--help --h -h [OPTIONAL] [ARGUMENT=0+]
show full help
--version --v -v [OPTIONAL] [ARGUMENT=0+]
...
Who
n/a
References
n/a
The text was updated successfully, but these errors were encountered:
dr-js
changed the title
[QUESTION] existing shell command will mask scoped package with the same name
[BUG] existing shell command will mask scoped package with the same name
Nov 8, 2019
What / Why
executing command like
npx @dr-js/node
will runnode
directlybut with added tag or version like
npx @dr-js/node@dev
, the correct package will install and runalso can test with existing command like
npx @qwerty/git
will just rungit
When
when using
npx
to run a scoped package and:npx @dr-js/node
npx @dr-js/node@dev
Where
How
Current Behavior
Steps to Reproduce
Expected Behavior
Who
References
The text was updated successfully, but these errors were encountered: