Skip to content
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

can't npm install #5

Open
andrelec1 opened this issue Jan 3, 2018 · 0 comments
Open

can't npm install #5

andrelec1 opened this issue Jan 3, 2018 · 0 comments

Comments

@andrelec1
Copy link

i try to use you lib but i can't install :/
i have Onion Omega2+ with a 2go sdcard ...

~/.npmrc :

    prefix="/tmp/mounts/SD-P1/.npm-global"
    cache="/tmp/mounts/SD-P1/.npm-cache"

i try to install module and i get :

root@Omega-B321:/tmp/run/mountd/mmcblk0p1/project# npm install github:sdesalas/node-serialport-omega2
npm ERR! Linux 4.4.46
npm ERR! argv "/usr/bin/node" "/usr/bin/npm" "install" "github:sdesalas/node-serialport-omega2"
npm ERR! node v4.3.1
npm ERR! npm  v2.14.12
npm ERR! path /tmp/mounts/SD-P1/.npm-cache/_git-remotes/_templates
npm ERR! code EPERM
npm ERR! errno -1
npm ERR! syscall chown

npm ERR! Error: EPERM: operation not permitted, chown '/tmp/mounts/SD-P1/.npm-cache/_git-remotes/_templates'
npm ERR!     at Error (native)
npm ERR!  { [Error: EPERM: operation not permitted, chown '/tmp/mounts/SD-P1/.npm-cache/_git-remotes/_templates']
npm ERR!   errno: -1,
npm ERR!   code: 'EPERM',
npm ERR!   syscall: 'chown',
npm ERR!   path: '/tmp/mounts/SD-P1/.npm-cache/_git-remotes/_templates' }
npm ERR!
npm ERR! Please try running this command again as root/Administrator.

npm ERR! Please include the following file with any support request:
npm ERR!     /tmp/run/mountd/mmcblk0p1/project/npm-debug.log
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant