tjmehta / atom-term

shell tab for atom
MIT License
57 stars 15 forks source link

Installing “term@0.2.1” failed (Ubuntu 14.04 x86_64) #14

Open johnghill opened 10 years ago

johnghill commented 10 years ago

Ubuntu 14.04 3.13.0-24-generic x86_64 Atom 0.94.0 (from https://launchpad.net/~webupd8team/+archive/atom)

> pty.js@0.2.4 install /tmp/apm-install-dir-114412-11599-1wmyzt/node_modules/term/node_modules/pty.js
> node-gyp rebuild

make: Entering directory `/tmp/apm-install-dir-114412-11599-1wmyzt/node_modules/term/node_modules/pty.js/build'
  CXX(target) Release/obj.target/pty/src/unix/pty.o
make: Leaving directory `/tmp/apm-install-dir-114412-11599-1wmyzt/node_modules/term/node_modules/pty.js/build'

npm http GET https://registry.npmjs.org/term.js/0.0.3
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/pty.js
npm http 304 https://registry.npmjs.org/pty.js
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 GET https://registry.npmjs.org/nan/0.7.0
npm http GET https://registry.npmjs.org/extend
npm http 304 https://registry.npmjs.org/extend
npm http 304 https://registry.npmjs.org/nan/0.7.0
make: g++: Command not found
make: *** [Release/obj.target/pty/src/unix/pty.o] Error 127
gyp ERR! build error 
gyp ERR! stack Error: `make` failed with exit code: 2
gyp ERR! stack     at ChildProcess.onExit (/opt/atom/resources/app/apm/node_modules/atom-package-manager/node_modules/npm/node_modules/node-gyp/lib/build.js:267:23)
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 Linux 3.13.0-24-generic
gyp ERR! command "node" "/opt/atom/resources/app/apm/node_modules/atom-package-manager/node_modules/npm/node_modules/node-gyp/bin/node-gyp.js" "rebuild"
gyp ERR! cwd /tmp/apm-install-dir-114412-11599-1wmyzt/node_modules/term/node_modules/pty.js
gyp ERR! node -v v0.10.26
gyp ERR! node-gyp -v v0.12.2
gyp ERR! not ok 
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 Linux 3.13.0-24-generic
npm ERR! command "/opt/atom/resources/app/apm/node_modules/atom-package-manager/bin/node" "/opt/atom/resources/app/apm/node_modules/atom-package-manager/node_modules/npm/bin/npm-cli.js" "--userconfig" "/opt/atom/resources/app/apm/node_modules/atom-package-manager/.apmrc" "install" "/home/john/.atom/.node-gyp/.atom/.apm/term/0.2.1/package.tgz" "--target=0.11.10" "--arch=x64"
npm ERR! cwd /tmp/apm-install-dir-114412-11599-1wmyzt
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!     /tmp/apm-install-dir-114412-11599-1wmyzt/npm-debug.log
npm ERR! not ok code 0
NickNoordijk commented 10 years ago

Same issue here, term@0.2.2 failed.

johnghill commented 10 years ago

@NickNoordijk I discovered I was missing some packages, maybe try

sudo apt-get install node-gyp