Closed yoieh closed 8 years ago
This looks like a botched package installation, probably by Atom. If you uninstall/reinstall term3, does it work? If that still fails with the same error, can paste the output of apm install term3
? (Depending on your Atom install, you may to use the exact path to apm
.)
I sorry for late repaly. I installed it manual. When Im trying to install it with atom Im getting:
>ptyw.js@0.3.7 install /tmp/apm-install-dir-116325-3192-1xkjuiu/node_modules/term3/node_modules/ptyw.js
> node-gyp rebuild
make: Entering directory `/tmp/apm-install-dir-116325-3192-1xkjuiu/node_modules/term3/node_modules/ptyw.js/build'
CXX(target) Release/obj.target/pty/src/unix/pty.o
make: Leaving directory `/tmp/apm-install-dir-116325-3192-1xkjuiu/node_modules/term3/node_modules/ptyw.js/build'
npm WARN deprecated react-tools@0.11.2: react-tools is deprecated. For more information, visit https://fb.me/react-tools-deprecated
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 (/usr/share/atom/resources/app/apm/node_modules/npm/node_modules/node-gyp/lib/build.js:269:23)
gyp ERR! stack at ChildProcess.emit (events.js:98:17)
gyp ERR! stack at Process.ChildProcess._handle.onexit (child_process.js:820:12)
gyp ERR! System Linux 3.19.0-58-generic
gyp ERR! command "node" "/usr/share/atom/resources/app/apm/node_modules/npm/node_modules/node-gyp/bin/node-gyp.js" "rebuild"
gyp ERR! cwd /tmp/apm-install-dir-116325-3192-1xkjuiu/node_modules/term3/node_modules/ptyw.js
gyp ERR! node -v v0.10.40
gyp ERR! node-gyp -v v2.0.2
gyp ERR! not ok
npm WARN deprecated graceful-fs@2.0.3: graceful-fs version 3 and before will fail on newer node releases. Please update to graceful-fs@^4.0.0 as soon as possible.
npm ERR! Linux 3.19.0-58-generic
npm ERR! argv "/usr/share/atom/resources/app/apm/bin/node" "/usr/share/atom/resources/app/apm/node_modules/npm/bin/npm-cli.js" "--globalconfig" "/home/yoieh/.atom/.apm/.apmrc" "--userconfig" "/home/yoieh/.atom/.apmrc" "install" "/tmp/d-116325-3192-ccst7p/package.tgz" "--target=0.36.8" "--arch=x64"
npm ERR! node v0.10.40
npm ERR! npm v2.13.3
npm ERR! code ELIFECYCLE
npm ERR! ptyw.js@0.3.7 install: `node-gyp rebuild`
npm ERR! Exit status 1
npm ERR!
npm ERR! Failed at the ptyw.js@0.3.7 install script 'node-gyp rebuild'.
npm ERR! This is most likely a problem with the ptyw.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 ptyw.js
npm ERR! There is likely additional logging output above.
npm ERR! Please include the following file with any support request:
npm ERR! /tmp/apm-install-dir-116325-3192-1xkjuiu/npm-debug.log`
And with apm:
`> ptyw.js@0.3.7 install /tmp/apm-install-dir-116325-3293-knjoaz/node_modules/term3/node_modules/ptyw.js
> node-gyp rebuild
make: Entering directory `/tmp/apm-install-dir-116325-3293-knjoaz/node_modules/term3/node_modules/ptyw.js/build'
CXX(target) Release/obj.target/pty/src/unix/pty.o
make: Leaving directory `/tmp/apm-install-dir-116325-3293-knjoaz/node_modules/term3/node_modules/ptyw.js/build'
npm WARN deprecated react-tools@0.11.2: react-tools is deprecated. For more information, visit https://fb.me/react-tools-deprecated
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 (/usr/share/atom/resources/app/apm/node_modules/npm/node_modules/node-gyp/lib/build.js:269:23)
gyp ERR! stack at ChildProcess.emit (events.js:98:17)
gyp ERR! stack at Process.ChildProcess._handle.onexit (child_process.js:820:12)
gyp ERR! System Linux 3.19.0-58-generic
gyp ERR! command "node" "/usr/share/atom/resources/app/apm/node_modules/npm/node_modules/node-gyp/bin/node-gyp.js" "rebuild"
gyp ERR! cwd /tmp/apm-install-dir-116325-3293-knjoaz/node_modules/term3/node_modules/ptyw.js
gyp ERR! node -v v0.10.40
gyp ERR! node-gyp -v v2.0.2
gyp ERR! not ok
npm WARN deprecated graceful-fs@2.0.3: graceful-fs version 3 and before will fail on newer node releases. Please update to graceful-fs@^4.0.0 as soon as possible.
npm ERR! Linux 3.19.0-58-generic
npm ERR! argv "/usr/share/atom/resources/app/apm/bin/node" "/usr/share/atom/resources/app/apm/node_modules/npm/bin/npm-cli.js" "--globalconfig" "/home/yoieh/.atom/.apm/.apmrc" "--userconfig" "/home/yoieh/.atom/.apmrc" "install" "/tmp/d-116325-3293-16bepqu/package.tgz" "--target=0.36.8" "--arch=x64"
npm ERR! node v0.10.40
npm ERR! npm v2.13.3
npm ERR! code ELIFECYCLE
npm ERR! ptyw.js@0.3.7 install: `node-gyp rebuild`
npm ERR! Exit status 1
npm ERR!
npm ERR! Failed at the ptyw.js@0.3.7 install script 'node-gyp rebuild'.
npm ERR! This is most likely a problem with the ptyw.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 ptyw.js
npm ERR! There is likely additional logging output above.
npm ERR! Please include the following file with any support request:
npm ERR! /tmp/apm-install-dir-116325-3293-knjoaz/npm-debug.log
Looks like you need to install g++.
sudo apt-get install build-essential
and retry.
Tanks silly me to not see the make: g++: Command not found
...
Now its working fine!
Atom Version: 1.7.1 System: Ubuntu 14.04.4 Thrown From: term3 package, v0.21.4
Stack Trace
Failed to load the term3 package
Commands
Config
Installed Packages