-
-
Notifications
You must be signed in to change notification settings - Fork 5k
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
Failed at the [email protected] install script 'node-gyp rebuild'. #2
Comments
This is strange, it should have complained about the node version, as the package requires node 8.x. Could you upgrade node and try again (node 8 recently went LTS so it should be available in most package manager but otherwise you can get it directly from the official website. Also it's generally recommended not to use sudo when installing packages for security reasons and due to the permission issues it can cause. Please see #1 for more information. |
Ok, so I ran these commands to update node which worked fine...
I then ran
adding a sudo e.g.
Any thoughts? |
Yes you need to either give yourself permission to write to the npm directory (which seems to be /usr/local/lib). You can find out what is the exact directory by tying Alternatively, you can set the install directory to your home directory, this is usually what I do since it avoids the permission issues. There's some info there on how to set this up: https://docs.npmjs.com/getting-started/fixing-npm-permissions |
Thank you - setting the install to my home directory worked! |
Update fork from original repository
* Korean Language Support Korean Language 100% Translated, but something is roughted. soon fix it ;) * some improved Some Improved * Improve v2 some polished * Ok, now Completed For Now, Completed Polish(Change Respect of Users, and several fixing & polishing) + 100% Translated. Ready to Shipping * Korean Language Update #2 1. 조플린 -> Joplin (Sorry i forgot) 2. Fuzzy correction. Korean Language Update #2 1. 조플린 -> Joplin (Sorry i forgot) 2. Fuzzy correction.
I ran into this on ubuntu 16.04 when I ran sudo npm install -g joplin
The text was updated successfully, but these errors were encountered: