tygeradmin@tablet:~$ npm install -g appium
returns
> (node-gyp rebuild 2> builderror.log) || (exit 0)
make: Entering directory `/home/tygeradmin/.node/lib/node_modules/appium/node_modules/ws/build'
CXX(target) Release/obj.target/bufferutil/src/bufferutil.o
SOLINK_MODULE(target) Release/obj.target/bufferutil.node
SOLINK_MODULE(target) Release/obj.target/bufferutil.node: Finished
COPY Release/bufferutil.node
CXX(target) Release/obj.target/validation/src/validation.o
SOLINK_MODULE(target) Release/obj.target/validation.node
SOLINK_MODULE(target) Release/obj.target/validation.node: Finished
COPY Release/validation.node
make: Leaving directory `/home/tygeradmin/.node/lib/node_modules/appium/node_modules/ws/build'
npm WARN engine [email protected]: wanted: {"node":"0.8.x"} (current: {"node":"0.10.36","npm":"1.4.28"})
> [email protected] install /home/tygeradmin/.node/lib/node_modules/appium/node_modules/socket.io/node_modules/engine.io/node_modules/ws
> (node-gyp rebuild 2> builderror.log) || (exit 0)
make: Entering directory `/home/tygeradmin/.node/lib/node_modules/appium/node_modules/socket.io/node_modules/engine.io/node_modules/ws/build'
CXX(target) Release/obj.target/bufferutil/src/bufferutil.o
SOLINK_MODULE(target) Release/obj.target/bufferutil.node
SOLINK_MODULE(target) Release/obj.target/bufferutil.node: Finished
COPY Release/bufferutil.node
CXX(target) Release/obj.target/validation/src/validation.o
SOLINK_MODULE(target) Release/obj.target/validation.node
SOLINK_MODULE(target) Release/obj.target/validation.node: Finished
COPY Release/validation.node
make: Leaving directory `/home/tygeradmin/.node/lib/node_modules/appium/node_modules/socket.io/node_modules/engine.io/node_modules/ws/build'
npm WARN engine [email protected]: wanted: {"node":"0.8.x"} (current: {"node":"0.10.36","npm":"1.4.28"})
npm WARN engine [email protected]: wanted: {"node":"0.8.x"} (current: {"node":"0.10.36","npm":"1.4.28"})
npm WARN engine [email protected]: wanted: {"node":"0.8.x"} (current: {"node":"0.10.36","npm":"1.4.28"})
npm WARN engine [email protected]: wanted: {"node":"0.8.x"} (current: {"node":"0.10.36","npm":"1.4.28"})
> [email protected] install /home/tygeradmin/.node/lib/node_modules/appium/node_modules/socket.io/node_modules/socket.io-client/node_modules/engine.io-client/node_modules/ws
> (node-gyp rebuild 2> builderror.log) || (exit 0)
make: Entering directory `/home/tygeradmin/.node/lib/node_modules/appium/node_modules/socket.io/node_modules/socket.io-client/node_modules/engine.io-client/node_modules/ws/build'
CXX(target) Release/obj.target/bufferutil/src/bufferutil.o
SOLINK_MODULE(target) Release/obj.target/bufferutil.node
SOLINK_MODULE(target) Release/obj.target/bufferutil.node: Finished
COPY Release/bufferutil.node
CXX(target) Release/obj.target/validation/src/validation.o
SOLINK_MODULE(target) Release/obj.target/validation.node
SOLINK_MODULE(target) Release/obj.target/validation.node: Finished
COPY Release/validation.node
make: Leaving directory `/home/tygeradmin/.node/lib/node_modules/appium/node_modules/socket.io/node_modules/socket.io-client/node_modules/engine.io-client/node_modules/ws/build'
npm ERR! Error: EACCES, open '/home/tygeradmin/.npm/xmlbuilder/2.5.2/package.tgz'
npm ERR! { [Error: EACCES, open '/home/tygeradmin/.npm/xmlbuilder/2.5.2/package.tgz']
npm ERR! errno: 3,
npm ERR! code: 'EACCES',
npm ERR! path: '/home/tygeradmin/.npm/xmlbuilder/2.5.2/package.tgz',
npm ERR! parent: 'xml2js' }
npm ERR!
npm ERR! Please try running this command again as root/Administrator.
npm ERR! System Linux 3.8.0-29-generic
npm ERR! command "/usr/bin/node" "/usr/bin/npm" "install" "-g" "appium"
npm ERR! cwd /home/tygeradmin
npm ERR! node -v v0.10.36
npm ERR! npm -v 1.4.28
npm ERR! path /home/tygeradmin/.npm/xmlbuilder/2.5.2/package.tgz
npm ERR! code EACCES
npm ERR! errno 3
npm ERR! stack Error: EACCES, open '/home/tygeradmin/.npm/xmlbuilder/2.5.2/package.tgz'
npm ERR! not ok code 0