atom-term
atom-term copied to clipboard
Just clicked install and got an error. Never used Atom before.
Installing “[email protected]” failed. Less…
[email protected] install /private/var/folders/xb/4xylgjlx08jbv1b59gh7fgnh0000gn/T/apm-install-dir-114231-28102-scbdqa/node_modules/term/node_modules/pty.js node-gyp rebuild
npm http GET https://registry.npmjs.org/pty.js
npm http GET https://registry.npmjs.org/keypather
npm http GET https://registry.npmjs.org/debounce/0.0.3
npm http GET https://registry.npmjs.org/term.js/0.0.3
npm http 200 https://registry.npmjs.org/keypather
npm http GET https://registry.npmjs.org/keypather/-/keypather-1.3.2.tgz
npm http 200 https://registry.npmjs.org/pty.js
npm http 200 https://registry.npmjs.org/term.js/0.0.3
npm http 200 https://registry.npmjs.org/debounce/0.0.3
npm http GET https://registry.npmjs.org/pty.js/-/pty.js-0.2.4.tgz
npm http GET https://registry.npmjs.org/term.js/-/term.js-0.0.3.tgz
npm http GET https://registry.npmjs.org/debounce/-/debounce-0.0.3.tgz
npm http 200 https://registry.npmjs.org/keypather/-/keypather-1.3.2.tgz
npm http 200 https://registry.npmjs.org/term.js/-/term.js-0.0.3.tgz
npm http 200 https://registry.npmjs.org/debounce/-/debounce-0.0.3.tgz
npm http 200 https://registry.npmjs.org/pty.js/-/pty.js-0.2.4.tgz
npm http GET https://registry.npmjs.org/nan/0.7.0
npm http GET https://registry.npmjs.org/extend
npm http 200 https://registry.npmjs.org/nan/0.7.0
npm http GET https://registry.npmjs.org/nan/-/nan-0.7.0.tgz
npm http 200 https://registry.npmjs.org/extend
npm http GET https://registry.npmjs.org/extend/-/extend-1.2.1.tgz
npm http 200 https://registry.npmjs.org/nan/-/nan-0.7.0.tgz
npm http 200 https://registry.npmjs.org/extend/-/extend-1.2.1.tgz
/Applications/Atom.app/Contents/Resources/app/apm/node_modules/atom-package-manager/node_modules/npm/bin/node-gyp-bin/node-gyp: line 2: node: command not found
npm ERR! [email protected] install: node-gyp rebuild
npm ERR! Exit status 127
npm ERR!
npm ERR! Failed at the [email protected] 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.1.0 npm ERR! command "/Applications/Atom.app/Contents/Resources/app/apm/node_modules/atom-package-manager/bin/node_darwin_x64" "/Applications/Atom.app/Contents/Resources/app/apm/node_modules/atom-package-manager/node_modules/npm/bin/npm-cli.js" "--userconfig" "/Applications/Atom.app/Contents/Resources/app/apm/node_modules/atom-package-manager/.apmrc" "install" "/var/folders/xb/4xylgjlx08jbv1b59gh7fgnh0000gn/T/d-114231-28102-1c0eaki/package.tgz" "--target=0.11.10" "--arch=x64" npm ERR! cwd /private/var/folders/xb/4xylgjlx08jbv1b59gh7fgnh0000gn/T/apm-install-dir-114231-28102-scbdqa npm ERR! node -v v0.10.26 npm ERR! npm -v 1.4.4 npm ERR! code ELIFECYCLE npm ERR! npm ERR! Additional logging details can be found in: npm ERR! /private/var/folders/xb/4xylgjlx08jbv1b59gh7fgnh0000gn/T/apm-install-dir-114231-28102-scbdqa/npm-debug.log npm ERR! not ok code 0
http://discuss.atom.io/t/node-command-not-found/5604/2
If you open Atom from the console instead of the GUI launcher, it will have your environment variables which likely include the PATH for node.
I suggest you post the npm (apm) install error on pty.js github. Regarding the $PATH, I'll plan on adding a configuration page where you can tweak env vars, path etc.
Thanks for the feedback!
On Thursday, April 3, 2014, Josh Chisholm [email protected] wrote:
http://discuss.atom.io/t/node-command-not-found/5604/2
If you open Atom from the console instead of the GUI launcher, it will have your environment variables which likely include the PATH for node.
Reply to this email directly or view it on GitHubhttps://github.com/tjmehta/atom-term/issues/5#issuecomment-39438702 .
Typed using my thumbs..
I'm got an error too.

me too.
[email protected] install /private/var/folders/_t/z824fys912g48ylq1d473hsm0000gn/T/apm-install-dir-11436-40354-fn1w5x/node_modules/term/node_modules/pty.js node-gyp rebuild
npm http GET https://registry.npmjs.org/term.js/0.0.3
npm http GET https://registry.npmjs.org/pty.js
npm http GET https://registry.npmjs.org/debounce/0.0.3
npm http GET https://registry.npmjs.org/keypather
npm http 304 https://registry.npmjs.org/keypather
npm http 304 https://registry.npmjs.org/term.js/0.0.3
npm http 304 https://registry.npmjs.org/debounce/0.0.3
npm http 304 https://registry.npmjs.org/pty.js
npm http GET https://registry.npmjs.org/nan/0.7.0
npm http GET https://registry.npmjs.org/extend
npm http 304 https://registry.npmjs.org/nan/0.7.0
npm http 304 https://registry.npmjs.org/extend
/Applications/Atom.app/Contents/Resources/app/apm/node_modules/atom-package-manager/node_modules/npm/bin/node-gyp-bin/node-gyp: line 2: node: command not found
npm ERR! [email protected] install: node-gyp rebuild
npm ERR! Exit status 127
npm ERR!
npm ERR! Failed at the [email protected] 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.1.0 npm ERR! command "/Applications/Atom.app/Contents/Resources/app/apm/node_modules/atom-package-manager/bin/node_darwin_x64" "/Applications/Atom.app/Contents/Resources/app/apm/node_modules/atom-package-manager/node_modules/npm/bin/npm-cli.js" "--userconfig" "/Applications/Atom.app/Contents/Resources/app/apm/node_modules/atom-package-manager/.apmrc" "install" "/Users/ryangurnick/.atom/.node-gyp/.atom/.apm/term/0.1.3/package.tgz" "--target=0.11.10" "--arch=x64" npm ERR! cwd /private/var/folders/_t/z824fys912g48ylq1d473hsm0000gn/T/apm-install-dir-11436-40354-fn1w5x npm ERR! node -v v0.10.26 npm ERR! npm -v 1.4.4 npm ERR! code ELIFECYCLE npm ERR! npm ERR! Additional logging details can be found in: npm ERR! /private/var/folders/_t/z824fys912g48ylq1d473hsm0000gn/T/apm-install-dir-11436-40354-fn1w5x/npm-debug.log npm ERR! not ok code 0
weird. I just pushed a new version last night is it still happening?
Yep -- still happening. I tried opening Atom from the command line and from the GUI. Both times I got the same 'command not found' error.
I got it to work following these steps: http://discuss.atom.io/t/cant-install-or-update-packages/1623/15?u=tgraybam
Not sure I can explain how it all came together... a combination of permissions, path, versions?
Just tried to install Term via Atom package manager and no luck.
> [email protected] install /private/var/folders/0h/hmyvvlln0_gcc22cxkkrr6h80000gn/T/apm-install-dir-114317-8113-kkn836/node_modules/term/node_modules/pty.js
> node-gyp rebuild
npm http GET https://registry.npmjs.org/debounce/0.0.3
npm http GET https://registry.npmjs.org/term.js/0.0.3
npm http GET https://registry.npmjs.org/pty.js
npm http GET https://registry.npmjs.org/keypather
npm http 304 https://registry.npmjs.org/pty.js
npm http 304 https://registry.npmjs.org/term.js/0.0.3
npm http 304 https://registry.npmjs.org/debounce/0.0.3
npm http 304 https://registry.npmjs.org/keypather
npm http GET https://registry.npmjs.org/nan/0.7.0
npm http GET https://registry.npmjs.org/extend
npm http 304 https://registry.npmjs.org/nan/0.7.0
npm http 304 https://registry.npmjs.org/extend
/Applications/Atom.app/Contents/Resources/app/apm/node_modules/atom-package-manager/node_modules/npm/bin/node-gyp-bin/node-gyp: line 2: node: command not found
npm ERR! [email protected] install: `node-gyp rebuild`
npm ERR! Exit status 127
npm ERR!
npm ERR! Failed at the [email protected] 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.1.0
npm ERR! command "/Applications/Atom.app/Contents/Resources/app/apm/node_modules/atom-package-manager/bin/node_darwin_x64" "/Applications/Atom.app/Contents/Resources/app/apm/node_modules/atom-package-manager/node_modules/npm/bin/npm-cli.js" "--userconfig" "/Applications/Atom.app/Contents/Resources/app/apm/node_modules/atom-package-manager/.apmrc" "install" "/Users/grawl/.atom/.node-gyp/.atom/.apm/term/0.2.1/package.tgz" "--target=0.11.10" "--arch=x64"
npm ERR! cwd /private/var/folders/0h/hmyvvlln0_gcc22cxkkrr6h80000gn/T/apm-install-dir-114317-8113-kkn836
npm ERR! node -v v0.10.26
npm ERR! npm -v 1.4.4
npm ERR! code ELIFECYCLE
npm ERR!
npm ERR! Additional logging details can be found in:
npm ERR! /private/var/folders/0h/hmyvvlln0_gcc22cxkkrr6h80000gn/T/apm-install-dir-114317-8113-kkn836/npm-debug.log
npm ERR! not ok code 0
Same story with Terminal package.
Also tried to run sudo node-gyp rebuild and no luck too:
Devastator:~ grawl$ sudo node-gyp rebuild
gyp info it worked if it ends with ok
gyp info using [email protected]
gyp info using [email protected] | darwin | x64
gyp info spawn python
gyp info spawn args [ '/usr/local/lib/node_modules/node-gyp/gyp/gyp_main.py',
gyp info spawn args 'binding.gyp',
gyp info spawn args '-f',
gyp info spawn args 'make',
gyp info spawn args '-I',
gyp info spawn args '/Users/grawl/build/config.gypi',
gyp info spawn args '-I',
gyp info spawn args '/usr/local/lib/node_modules/node-gyp/addon.gypi',
gyp info spawn args '-I',
gyp info spawn args '/Users/grawl/.node-gyp/0.10.26/common.gypi',
gyp info spawn args '-Dlibrary=shared_library',
gyp info spawn args '-Dvisibility=default',
gyp info spawn args '-Dnode_root_dir=/Users/grawl/.node-gyp/0.10.26',
gyp info spawn args '-Dmodule_root_dir=/Users/grawl',
gyp info spawn args '--depth=.',
gyp info spawn args '--no-parallel',
gyp info spawn args '--generator-output',
gyp info spawn args 'build',
gyp info spawn args '-Goutput_dir=.' ]
gyp: binding.gyp not found (cwd: /Users/grawl) while trying to load binding.gyp
gyp ERR! configure error
gyp ERR! stack Error: `gyp` failed with exit code: 1
gyp ERR! stack at ChildProcess.onCpExit (/usr/local/lib/node_modules/node-gyp/lib/configure.js:340:16)
gyp ERR! stack at ChildProcess.EventEmitter.emit (events.js:98:17)
gyp ERR! stack at Process.ChildProcess._handle.onexit (child_process.js:797:12)
gyp ERR! System Darwin 13.1.0
gyp ERR! command "node" "/usr/local/bin/node-gyp" "rebuild"
gyp ERR! cwd /Users/grawl
gyp ERR! node -v v0.10.26
gyp ERR! node-gyp -v v0.13.0
gyp ERR! not ok
I know that I need to install python and g++/gcc but I think that this is not my business.
I have bouth Python 2 and 3 installed how do i tell it to use python 2 and stop complaining about python 3?
Probably a $PATH issue, I don't have an option to configure this yet but you could manually do it for now— Typed using my thumbs..
On Fri, Jun 6, 2014 at 10:55 AM, Daniil Pintjuk [email protected] wrote:
I have bouth Python 2 and 3 installed how do i tell it to use python 2 and stop complaining about python 3?
Reply to this email directly or view it on GitHub: https://github.com/tjmehta/atom-term/issues/5#issuecomment-45352800