Comments (4)
I assume this is unrelated to bash-language-server
, but a problem with your npm installation.
Thoughts to fix your npm installation:
- I don't understand why you need to use
sudo
, have you tried without? - you could try adding
npm i -g bash-language-server --unsafe-perm=true --allow-root
- Other ideas: https://stackoverflow.com/questions/35954725/error-eacces-permission-denied-when-trying-to-install-eslint-using-npm
from bash-language-server.
I tried the sudo option as that is what the error message seemed to say it wanted. I tried option 2 and it didn't help (possibly due to my previous sudo'ing). What has worked though, was in the link you sent, by configuring npm to tell it that "global" is somewhere in my account rather than under /usr/lib.
Thanks for the help!
from bash-language-server.
npm i -g bash-language-server --unsafe-perm=true --allow-root
worked on Arch Linux for me
from bash-language-server.
I used
sudo npm i -g bash-language-server
- ubuntu 18.04 / 18.10
from bash-language-server.
Related Issues (20)
- `'textDocument/rename'` does not include variable references in `(( ))` (arithmetic) HOT 1
- shellcheck's directive for shell is not working HOT 1
- Bash IDE VsCode Extension not being updated HOT 3
- Code snippet for `case` is invalid HOT 1
- The npm package has not updated HOT 1
- [question] how do I set --indent for shfmt HOT 2
- Formatting files using shfmt results in an empty file when shfmt can't parse the file
- pnpm compile failed HOT 1
- local variables which are defined & re-assigned in a function are shown to be accessible globally
- Do not trigger heredoc functionality within bash Arithmetic expansion with left shift operator
- Autocomplete environment variables HOT 1
- The GUI application was launched unexpectedly by the VSCode Bash IDE during string completion HOT 2
- Update pnpm-lock to address CVE issues
- Inlay Hint Support HOT 3
- `shfmt` doesn't work in VS Code HOT 3
- Outline shows multiple identical variables in the same function
- bash-language-server in vscode extension is not up to date HOT 1
- Send valid document range for textDocument/format HOT 5
- Problems with big endian / s390x HOT 1
- Official OpenVSX Release
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from bash-language-server.