petethepig / devtools-terminal

Terminal in Chrome Devtools
http://blog.dfilimonov.com/2013/09/12/devtools-terminal.html
MIT License
1.31k stars 88 forks source link

Mac install broke #26

Open jim0266 opened 10 years ago

jim0266 commented 10 years ago

OS X 10.9.1 Chrome 32.0.1700.77 Running BASH shell Devtools Terminal 0.4.0

Installed node.js w/o problem. Had to run next command at Root, but it fails:

JAMESs-Mac-Pro:~ Jim$ sudo npm install -g devtools-terminal Password: npm http GET https://registry.npmjs.org/devtools-terminal npm http 304 https://registry.npmjs.org/devtools-terminal npm http GET https://registry.npmjs.org/pty.js npm http GET https://registry.npmjs.org/optimist npm http GET https://registry.npmjs.org/mkdirp npm http GET https://registry.npmjs.org/socket.io npm http 304 https://registry.npmjs.org/mkdirp npm http 304 https://registry.npmjs.org/optimist npm http 304 https://registry.npmjs.org/socket.io npm http 304 https://registry.npmjs.org/pty.js npm http GET https://registry.npmjs.org/wordwrap npm http GET https://registry.npmjs.org/minimist npm http GET https://registry.npmjs.org/socket.io-client/0.9.16 npm http GET https://registry.npmjs.org/policyfile/0.0.4 npm http GET https://registry.npmjs.org/redis/0.7.3 npm http GET https://registry.npmjs.org/base64id/0.1.0

pty.js@0.2.3 install /usr/local/lib/node_modules/devtools-terminal/node_modules/pty.js node-gyp rebuild

shell-init: error retrieving current directory: getcwd: cannot access parent directories: Permission denied sh: node-gyp: command not found npm ERR! pty.js@0.2.3 install: node-gyp rebuild npm ERR! Exit status 127 npm ERR! npm ERR! Failed at the pty.js@0.2.3 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 Darwin 13.0.0 npm ERR! command "node" "/usr/local/bin/npm" "install" "-g" "devtools-terminal" npm ERR! cwd /Users/Jim npm ERR! node -v v0.10.24 npm ERR! npm -v 1.3.21 npm ERR! code ELIFECYCLE npm http 304 https://registry.npmjs.org/minimist npm http 304 https://registry.npmjs.org/wordwrap npm http 304 https://registry.npmjs.org/policyfile/0.0.4 npm http 304 https://registry.npmjs.org/socket.io-client/0.9.16 npm http 304 https://registry.npmjs.org/redis/0.7.3 npm http 304 https://registry.npmjs.org/base64id/0.1.0 npm http GET https://registry.npmjs.org/uglify-js/1.2.5 npm http GET https://registry.npmjs.org/xmlhttprequest/1.4.2 npm http GET https://registry.npmjs.org/ws npm http GET https://registry.npmjs.org/active-x-obfuscator/0.0.1 npm http 304 https://registry.npmjs.org/uglify-js/1.2.5 npm http 304 https://registry.npmjs.org/ws npm http 304 https://registry.npmjs.org/xmlhttprequest/1.4.2 npm http 304 https://registry.npmjs.org/active-x-obfuscator/0.0.1 npm http GET https://registry.npmjs.org/zeparser/0.0.5 npm http GET https://registry.npmjs.org/tinycolor npm http GET https://registry.npmjs.org/commander npm http GET https://registry.npmjs.org/options npm http GET https://registry.npmjs.org/nan npm http 304 https://registry.npmjs.org/zeparser/0.0.5 npm http 304 https://registry.npmjs.org/commander npm http 304 https://registry.npmjs.org/tinycolor npm http 304 https://registry.npmjs.org/options npm http 304 https://registry.npmjs.org/nan

ws@0.4.31 install /usr/local/lib/node_modules/devtools-terminal/node_modules/socket.io/node_modules/socket.io-client/node_modules/ws (node-gyp rebuild 2> builderror.log) || (exit 0)

shell-init: error retrieving current directory: getcwd: cannot access parent directories: Permission denied job-working-directory: error retrieving current directory: getcwd: cannot access parent directories: Permission denied job-working-directory: error retrieving current directory: getcwd: cannot access parent directories: Permission denied npm ERR! npm ERR! Additional logging details can be found in: npm ERR! /Users/Jim/npm-debug.log npm ERR! not ok code 0

Let me know if you want npm-debug.log

TheOneTruePax-zz commented 10 years ago

Same exact error.

jim0266 commented 10 years ago

Thanks for any ideas. Current error install. Seems different from a few days ago.

JAMESs-Mac-Pro:Documents Jim$ sudo sudo npm install -g devtools-terminal npm http GET https://registry.npmjs.org/devtools-terminal npm http 304 https://registry.npmjs.org/devtools-terminal npm http GET https://registry.npmjs.org/pty.js npm http GET https://registry.npmjs.org/optimist npm http GET https://registry.npmjs.org/mkdirp npm http GET https://registry.npmjs.org/socket.io npm http 304 https://registry.npmjs.org/optimist npm http 304 https://registry.npmjs.org/socket.io npm http 304 https://registry.npmjs.org/mkdirp npm http 304 https://registry.npmjs.org/pty.js npm http GET https://registry.npmjs.org/wordwrap npm http GET https://registry.npmjs.org/minimist npm http GET https://registry.npmjs.org/socket.io-client/0.9.16 npm http GET https://registry.npmjs.org/policyfile/0.0.4 npm http GET https://registry.npmjs.org/base64id/0.1.0 npm http GET https://registry.npmjs.org/redis/0.7.3

pty.js@0.2.3 install /usr/local/lib/node_modules/devtools-terminal/node_modules/pty.js node-gyp rebuild

shell-init: error retrieving current directory: getcwd: cannot access parent directories: Permission denied sh: node-gyp: command not found npm ERR! pty.js@0.2.3 install: node-gyp rebuild npm ERR! Exit status 127 npm ERR! npm ERR! Failed at the pty.js@0.2.3 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 Darwin 13.0.0 npm ERR! command "node" "/usr/local/bin/npm" "install" "-g" "devtools-terminal" npm ERR! cwd /Users/Jim/Documents npm ERR! node -v v0.10.24 npm ERR! npm -v 1.3.21 npm ERR! code ELIFECYCLE npm http 304 https://registry.npmjs.org/wordwrap npm http 304 https://registry.npmjs.org/minimist npm http 304 https://registry.npmjs.org/socket.io-client/0.9.16 npm http 304 https://registry.npmjs.org/policyfile/0.0.4 npm http 304 https://registry.npmjs.org/base64id/0.1.0 npm http 304 https://registry.npmjs.org/redis/0.7.3 npm http GET https://registry.npmjs.org/uglify-js/1.2.5 npm http GET https://registry.npmjs.org/xmlhttprequest/1.4.2 npm http GET https://registry.npmjs.org/ws npm http GET https://registry.npmjs.org/active-x-obfuscator/0.0.1 npm http 304 https://registry.npmjs.org/uglify-js/1.2.5 npm http 304 https://registry.npmjs.org/active-x-obfuscator/0.0.1 npm http 304 https://registry.npmjs.org/xmlhttprequest/1.4.2 npm http 304 https://registry.npmjs.org/ws npm http GET https://registry.npmjs.org/zeparser/0.0.5 npm http GET https://registry.npmjs.org/commander npm http GET https://registry.npmjs.org/nan npm http GET https://registry.npmjs.org/tinycolor npm http GET https://registry.npmjs.org/options npm http 304 https://registry.npmjs.org/zeparser/0.0.5 npm http 304 https://registry.npmjs.org/tinycolor npm http 304 https://registry.npmjs.org/commander npm http 304 https://registry.npmjs.org/nan npm http 304 https://registry.npmjs.org/options

ws@0.4.31 install /usr/local/lib/node_modules/devtools-terminal/node_modules/socket.io/node_modules/socket.io-client/node_modules/ws (node-gyp rebuild 2> builderror.log) || (exit 0)

shell-init: error retrieving current directory: getcwd: cannot access parent directories: Permission denied job-working-directory: error retrieving current directory: getcwd: cannot access parent directories: Permission denied job-working-directory: error retrieving current directory: getcwd: cannot access parent directories: Permission denied npm ERR! npm ERR! Additional logging details can be found in: npm ERR! /Users/Jim/Documents/npm-debug.log npm ERR! not ok code 0

jim0266 commented 10 years ago

Some help would be appreciated.

petethepig commented 10 years ago

I think you should file this to the pty.js repo maintainers https://github.com/chjj/pty.js/