Comments (10)
I get the same problem on Ubuntu 16.04, but even using sudo:
sudo npm install -g oni-vim
For some reason a global install is trying to write to ~/.npm in my home folder, with the following error:
npm ERR! Error: EACCES: permission denied, mkdir '/home/erahhal/.npm/oni-plugin-typescript'
There's definitely something wrong here.
from oni.
I've published version 0.1.2 at npm, so please try sudo npm install -g oni-vim
again. The postinstall
script that was causing problems was removed with #40. Thanks!
from oni.
Works for me :)
from oni.
verified that this fix worked.
from oni.
I get this error when running npm install -g oni-vim
from oni.
Interesting, I haven't seen this - and it looks like the npm install step is working okay on TravisCI (which is Linux).
If you clone & build the repo, does it work?
from oni.
Yes, I could build it manually.
from oni.
Getting the same error as @erahhal. A little more info: it's trying to open $HOME/package.json when I try and run sudo npm run install:oni-plugin-typescript
.
EDIT: Also ubuntu 16.04
from oni.
Same problem on Ubuntu 16.04. Missing write access to /usr/local/lib/node_modules ...
I found when install by sudo npm install -g oni-vim
, the oni-plugin-typescript
dir's owner in $HOME/.npm is nobody, does it matter?
from oni.
Hmm, I think I need to get rid of the postinstall
script that runs npm install
in the oni-plugin-typescript
directory, and push those dependencies up.
from oni.
Related Issues (20)
- Unable to find csproj in golang project HOT 1
- (n)vi(m) in terminal within oni HOT 4
- Rebind regular hjkl motions for moving around globally in Oni's UI HOT 1
- Explorer does not show new files HOT 1
- Oni crashes on LSP call HOT 1
- replace nevim binary with newer
- how to use gopls with oni HOT 1
- Java autocompletion popup displaying wrong suggestion HOT 1
- Fuzzy Finder not working with WSL2 directory HOT 1
- How add support for new language with language server HOT 1
- how to display tabline in Oni? HOT 1
- Oni does not respect editor.quickOpen.execCommand HOT 1
- Adding support for Alt-Shift key bindings HOT 1
- Metals (Scala) language server integration works, but not auto-complete selection
- No file will open on Ubuntu 19.04 HOT 5
- UI freezes for ~10 seconds on :! external commands on Windows HOT 1
- Insiders link in Issue Template is 404'd
- 100%+ CPU spikes when typing colon commands HOT 1
- How to cycle through completions with tab? HOT 1
- Request: add .nix build script HOT 1
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 oni.