onetab-sync icon indicating copy to clipboard operation
onetab-sync copied to clipboard

Unable to install

Open Raymo111 opened this issue 4 years ago • 5 comments

NPM error:

npm WARN checkPermissions Missing write access to /usr/lib/node_modules
npm ERR! code EACCES
npm ERR! syscall access
npm ERR! path /usr/lib/node_modules
npm ERR! errno -13
npm ERR! Error: EACCES: permission denied, access '/usr/lib/node_modules'
npm ERR!  [Error: EACCES: permission denied, access '/usr/lib/node_modules'] {
npm ERR!   stack: "Error: EACCES: permission denied, access '/usr/lib/node_modules'",
npm ERR!   errno: -13,
npm ERR!   code: 'EACCES',
npm ERR!   syscall: 'access',
npm ERR!   path: '/usr/lib/node_modules'
npm ERR! }
npm ERR! 
npm ERR! The operation was rejected by your operating system.
npm ERR! It is likely you do not have the permissions to access this file as the current user
npm ERR! 
npm ERR! If you believe this might be a permissions issue, please double-check the
npm ERR! permissions of the file and its containing directories, or try running
npm ERR! the command again as root/Administrator.

npm ERR! A complete log of this run can be found in:
npm ERR!     /home/raymo/.npm/_logs/2019-10-19T18_16_30_440Z-debug.log

Raymo111 avatar Oct 19 '19 18:10 Raymo111

I am also seeing this issue

BradleyAllanDavis avatar Oct 24 '19 02:10 BradleyAllanDavis

@Raymo111 @bad884 When installing NPM packages globally, you usually need to sudo the installation

doamatto avatar Mar 21 '20 21:03 doamatto

@doamatto does this extension work for you?

RONNCC avatar Nov 17 '20 07:11 RONNCC

@doamatto does this extension work for you?

@RONNCC It's been a hot while since I've used it, but it worked fine, to my recollection.

doamatto avatar Nov 17 '20 14:11 doamatto

@doamatto ok just tried it and wasn't able to, so remade and updated it haha, also new npm package and like https://github.com/RONNCC/onetab-sync

RONNCC avatar Nov 17 '20 22:11 RONNCC