-
Notifications
You must be signed in to change notification settings - Fork 5
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
Install > missing chmod +x #39
Comments
Hi @pablos-here I believe it's not related and strongly advise to avoid installing npm packages as privileged user. You can change this behavior with something like this:
Now you install every npm package without
|
Hi @Beaglefoot , Would you please elaborate why it's not related?
I appreciate the warning. |
Well, this whole cli thing works because of this: First of all typescript files are compiled to js in
Then js files are published as npm package and aforementioned On installation what's available on
And the real js file has executable bit set for all users:
If your result is different then probably some other rules are applied by your system or configuration. I would suggest to check with docker. |
Hi @Beaglefoot , Thank you for the information. I appreciate it. I've installed several[1] other Given the above, it would suggest that the issue is with the packaging rather than my environment. Have you tested installing If it helps any, I'm on a rolling distro (openSUSE Tumbleweed). Assuming you've tested it globally and it works, perhaps there's an issue looming. Thx! References
|
Hi,
Tickled that there's an
awk
LSP. Thank you!A slight install issue,
../lib/node_modules/awk-language-server/out/cli.js
needs its execution bit set.Test case
With a fresh install:
# npm i -g awk-language-server
$ awk-language-server
faults with/usr/local/bin/awk-language-server: Permission denied.
Work-around
# cd /usr/local/bin
# chmod +x ../lib/node_modules/awk-language-server/out/cli.js
The text was updated successfully, but these errors were encountered: