-
Notifications
You must be signed in to change notification settings - Fork 3.3k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[BUG] npx with github scheme will fail without any message #5749
Comments
I found |
cli/lib/utils/config/flatten.js Line 23 in 292156c
I think this line is the problem. the XXX says |
And on the latest branch, here's the problem. Lines 22 to 26 in bc5ec05
|
good catch! the mix up between the npx bin and the npm bin is definitely what's broken here |
This appears to be fixed on latest npm ~ $ npx github:viperproject/check-license-header#v1 check
check-license-header check
Check license headers
Options:
--version Show version number [boolean]
-c, --config Path to JSON config file [string] [required]
--path Path to working directory[string] [default: "/Users/milaninfy"]
-h, --help Show help [boolean]
--strict Specifies whether files not covered by the configuration should
be treated as errors [boolean] [default: false]
Missing required argument: c
Please specify path to config file
~ $ npm -v
10.8.3
~ $ npx -v
10.8.3 |
it looks fixed by #6762 |
Is there an existing issue for this?
This issue exists in the latest npm version
Current Behavior
falls (exits 1) without any error message
Expected Behavior
run viperproject/check-license-header
Steps To Reproduce
npx github:viperproject/check-license-header#v1
Environment
The text was updated successfully, but these errors were encountered: