petethepig/devtools-terminal

Windows installation errors ! how to fix is

realuserofgit opened this issue · 0 comments

while try intstalling devtools-terminal shows following errors

npm ERR! pty.js@0.2.4 install: node-gyp rebuild
npm ERR! Exit status 1
npm ERR!
npm ERR! Failed at the pty.js@0.2.4 install script.
npm ERR! This is most likely a problem with the pty.js package,
npm ERR! not with npm itself.
npm ERR! Tell the author that this fails on your system:
npm ERR! node-gyp rebuild
npm ERR! You can get their info via:
npm ERR! npm owner ls pty.js
npm ERR! There is likely additional logging output above.

npm ERR! System Windows_NT 6.1.7600
npm ERR! command "C:\Program Files\nodejs\node.exe" "C:\Program Files\nodejs\node_modules\npm\bin\npm-cli.js" "install"
"-g" "devtools-terminal"
npm ERR! cwd c:
npm ERR! node -v v0.10.22
npm ERR! npm -v 1.3.14
npm ERR! code ELIFECYCLE
npm ERR! Error: EPERM, open 'c:\npm-debug.log'
npm ERR! { [Error: EPERM, open 'c:\npm-debug.log'] errno: 50, code: 'EPERM', path: 'c:\npm-debug.log' }
npm ERR!
npm ERR! Please try running this command again as root/Administrator.

npm ERR! System Windows_NT 6.1.7600
npm ERR! command "C:\Program Files\nodejs\node.exe" "C:\Program Files\nodejs\node_modules\npm\bin\npm-cli.js" "install"
"-g" "devtools-terminal"
npm ERR! cwd c:
npm ERR! node -v v0.10.22
npm ERR! npm -v 1.3.14
npm ERR! path c:\npm-debug.log
npm ERR! code EPERM
npm ERR! errno 50
npm ERR! stack Error: EPERM, open 'c:\npm-debug.log'
npm http 200 https://registry.npmjs.org/base64id/-/base64id-0.1.0.tgz

how to fix it