You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Jun 4, 2023. It is now read-only.
I'm very new to this but am extremely excited to get this setup. Can anyone help point me in the right direction from here? What am I doing wrong or what am I missing? Thank you all for your help!
You should try with elevated privileges, ie.: npm ERR! Please try running this command again as root/Administrator.
The package manager - npm in this case - tries to create files in system directories. The regular user doesn't have permission to apply those changes therefore you have to run the command as root.
For that you have to type:
sudo npm install -g airsonos - please note the sudo command at the beginning.
I'm very new to this but am extremely excited to get this setup. Can anyone help point me in the right direction from here? What am I doing wrong or what am I missing? Thank you all for your help!
new-host-5:~ mattwoehnker1$ npm install -g airsonos
npm ERR! Darwin 14.3.0
npm ERR! argv "/usr/local/bin/node" "/usr/local/bin/npm" "install" "-g" "airsonos"
npm ERR! node v4.1.1
npm ERR! npm v2.14.4
npm ERR! path /usr/local/lib/node_modules/airsonos
npm ERR! code EACCES
npm ERR! errno -13
npm ERR! syscall rmdir
npm ERR! Error: EACCES: permission denied, rmdir '/usr/local/lib/node_modules/airsonos'
npm ERR! at Error (native)
npm ERR! { [Error: EACCES: permission denied, rmdir '/usr/local/lib/node_modules/airsonos']
npm ERR! errno: -13,
npm ERR! code: 'EACCES',
npm ERR! syscall: 'rmdir',
npm ERR! path: '/usr/local/lib/node_modules/airsonos' }
npm ERR!
npm ERR! Please try running this command again as root/Administrator.
npm ERR! error rolling back Error: EACCES: permission denied, rmdir '/usr/local/lib/node_modules/airsonos'
npm ERR! error rolling back at Error (native)
npm ERR! error rolling back { [Error: EACCES: permission denied, rmdir '/usr/local/lib/node_modules/airsonos']
npm ERR! error rolling back errno: -13,
npm ERR! error rolling back code: 'EACCES',
npm ERR! error rolling back syscall: 'rmdir',
npm ERR! error rolling back path: '/usr/local/lib/node_modules/airsonos' }
npm ERR! Please include the following file with any support request:
npm ERR! /Users/mattwoehnker1/npm-debug.log
new-host-5:~ mattwoehnker1$
The text was updated successfully, but these errors were encountered: