Skip to content
This repository has been archived by the owner on Jun 4, 2023. It is now read-only.

Install problem #186

Closed
Paul0102 opened this issue Jul 4, 2015 · 1 comment
Closed

Install problem #186

Paul0102 opened this issue Jul 4, 2015 · 1 comment

Comments

@Paul0102
Copy link

Paul0102 commented Jul 4, 2015

Hi there,

I'm trying to install Airsonos but it seems like I'm not that good at it. I installed node 0.10.33. But the rest doesnt work. There seems to be an access problem. Can someone give me any help ? I don't know what to do.

Thanks a lot !
Paul

MBP-de-Paul-3:~ Paul$ npm install airsonos -g
npm ERR! Error: EACCES, mkdir '/usr/local/lib/node_modules/airsonos'
npm ERR! { [Error: EACCES, mkdir '/usr/local/lib/node_modules/airsonos']
npm ERR! errno: 3,
npm ERR! code: 'EACCES',
npm ERR! path: '/usr/local/lib/node_modules/airsonos',
npm ERR! fstream_type: 'Directory',
npm ERR! fstream_path: '/usr/local/lib/node_modules/airsonos',
npm ERR! fstream_class: 'DirWriter',
npm ERR! fstream_stack:
npm ERR! [ '/usr/local/lib/node_modules/npm/node_modules/fstream/lib/dir-writer.js:36:23',
npm ERR! '/usr/local/lib/node_modules/npm/node_modules/mkdirp/index.js:46:53',
npm ERR! 'Object.oncomplete (fs.js:107:15)' ] }
npm ERR!
npm ERR! Please try running this command again as root/Administrator.

npm ERR! System Darwin 14.3.0
npm ERR! command "node" "/usr/local/bin/npm" "install" "airsonos" "-g"
npm ERR! cwd /Users/Paul
npm ERR! node -v v0.10.33
npm ERR! npm -v 1.4.28
npm ERR! path /usr/local/lib/node_modules/airsonos
npm ERR! fstream_path /usr/local/lib/node_modules/airsonos
npm ERR! fstream_type Directory
npm ERR! fstream_class DirWriter
npm ERR! code EACCES
npm ERR! errno 3
npm ERR! stack Error: EACCES, mkdir '/usr/local/lib/node_modules/airsonos'
npm ERR! fstream_stack /usr/local/lib/node_modules/npm/node_modules/fstream/lib/dir-writer.js:36:23
npm ERR! fstream_stack /usr/local/lib/node_modules/npm/node_modules/mkdirp/index.js:46:53
npm ERR! fstream_stack Object.oncomplete (fs.js:107:15)
npm ERR!
npm ERR! Additional logging details can be found in:
npm ERR! /Users/Paul/npm-debug.log
npm ERR! not ok code 0

@ghost
Copy link

ghost commented Jul 4, 2015

Try this:
sudo npm install airsonos -g

@stephen stephen closed this as completed Aug 9, 2015
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants