-
Notifications
You must be signed in to change notification settings - Fork 35
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
Fix path to executable #119
Conversation
#119 works only when installed as package. For the ones installing it system wide (i.e. as stated in README intro as |
For the ones looking for a quick fix: # ln -s ../lib/node_modules/license-checker-rseidelsohn/bin/license-checker-rseidelsohn.js /usr/bin/license-checker-rseidelsohn
$ license-checker-rseidelsohn --version
4.4.1 |
I approve this message, all our CI/CD pipelines just exploded 👍 |
i've added this to my pipelines: export PATH=$PATH:$(dirname $(find / -name license-checker-rseidelsohn.js -type f -print -quit 2>/dev/null)) |
will this fix be merged soon and documentation updated? |
@RSeidelsohn Can you give this some love, so our CI/CD pipelines can become green once again 🤣 |
Hi @firecow , thanks for the nice ping - I just saw this and of course I merge it right now. Have a great weekend and please excuse me having brought you that error! |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Of course, I am very sorry for that. Thanks a lot for your PR!
@RSeidelsohn No problem at all, we can live with a couple of broken Renovate MR's 😄 |
Fix the path declaration for
bin
in package.json. This should fix running directly using npx.Tried running this and it worked again:
npx https://github.com/kriths/license-checker-rseidelsohn --json --production
Fixes: #118