atom-archive / terminal

Atom Terminal package - *not currently maintained*
MIT License
232 stars 35 forks source link

Installing terminal fails on Atom 0.51.0 #19

Closed spicycode closed 9 years ago

spicycode commented 10 years ago
> pty.js@0.2.4 install /private/var/folders/y0/grpy95596n3108gcym3j0s2c0000gn/T/apm-install-dir-114122-71824-27ladi/node_modules/terminal/node_modules/pty.js
> node-gyp rebuild

npm http GET http://gh-contractor-zcbenz.s3.amazonaws.com/temp/pty.js-0.2.4.tgz
npm http GET https://registry.npmjs.org/guid/0.0.10
npm http GET https://registry.npmjs.org/emissary
npm http 200 http://gh-contractor-zcbenz.s3.amazonaws.com/temp/pty.js-0.2.4.tgz
npm http 304 https://registry.npmjs.org/guid/0.0.10
npm http 304 https://registry.npmjs.org/emissary
npm http GET https://registry.npmjs.org/underscore-plus
npm http GET https://registry.npmjs.org/mixto
npm http GET https://registry.npmjs.org/property-accessors
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/underscore-plus
npm http 304 https://registry.npmjs.org/property-accessors
npm http 304 https://registry.npmjs.org/nan/0.7.0
npm http 304 https://registry.npmjs.org/mixto
npm http GET https://registry.npmjs.org/underscore
npm http 304 https://registry.npmjs.org/extend
/Applications/Atom.app/Contents/Resources/app/node_modules/atom-package-manager/node_modules/npm/bin/node-gyp-bin/node-gyp: line 2: node: command not found
npm ERR! pty.js@0.2.4 install: `node-gyp rebuild`
npm ERR! Exit status 127
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 Darwin 13.0.0
npm ERR! command "/Applications/Atom.app/Contents/Frameworks/Atom Helper.app/Contents/MacOS/Atom Helper" "/Applications/Atom.app/Contents/Resources/app/node_modules/atom-package-manager/node_modules/npm/bin/npm-cli.js" "--userconfig" "/Applications/Atom.app/Contents/Resources/app/node_modules/atom-package-manager/.apmrc" "install" "/Users/spicycode/.atom/.node-gyp/.atom/.apm/terminal/0.27.0/package.tgz" "--target=0.11.10" "--arch=x64"
npm ERR! cwd /private/var/folders/y0/grpy95596n3108gcym3j0s2c0000gn/T/apm-install-dir-114122-71824-27ladi
npm ERR! node -v v0.11.10
npm ERR! npm -v 1.3.18
npm ERR! code ELIFECYCLE
npm http 304 https://registry.npmjs.org/underscore
npm ERR! 
npm ERR! Additional logging details can be found in:
npm ERR!     /private/var/folders/y0/grpy95596n3108gcym3j0s2c0000gn/T/apm-install-dir-114122-71824-27ladi/npm-debug.log
npm ERR! not ok code 0
tstachl commented 10 years ago

Similar issue on Version 0.69.0 (0.69.0)

> pty.js@0.2.2 install /private/var/folders/n_/5yd480d13_q3gj3gy_g6slm8n8qsmj/T/apm-install-dir-114211-70068-zulpgp/node_modules/terminal/node_modules/pty.js
> node-gyp rebuild

  CXX(target) Release/obj.target/pty/src/unix/pty.o

npm http GET https://registry.npmjs.org/pty.js/0.2.2
npm http GET https://registry.npmjs.org/guid/0.0.10
npm http 200 https://registry.npmjs.org/guid/0.0.10
npm http GET https://registry.npmjs.org/guid/-/guid-0.0.10.tgz
npm http 200 https://registry.npmjs.org/pty.js/0.2.2
npm http GET https://registry.npmjs.org/pty.js/-/pty.js-0.2.2.tgz
npm http 200 https://registry.npmjs.org/guid/-/guid-0.0.10.tgz
npm http 200 https://registry.npmjs.org/pty.js/-/pty.js-0.2.2.tgz
../src/unix/pty.cc:65:15: error: unknown type name 'Arguments'; did you mean 'v8::internal::Arguments'?
PtyFork(const Arguments&);
              ^~~~~~~~~
              v8::internal::Arguments
/Users/tstachl/.atom/.node-gyp/.node-gyp/0.11.10/deps/v8/include/v8.h:140:7: note: 'v8::internal::Arguments' declared here
class Arguments;
      ^
../src/unix/pty.cc:68:15: error: unknown type name 'Arguments'; did you mean 'v8::internal::Arguments'?
PtyOpen(const Arguments&);
              ^~~~~~~~~
              v8::internal::Arguments
/Users/tstachl/.atom/.node-gyp/.node-gyp/0.11.10/deps/v8/include/v8.h:140:7: note: 'v8::internal::Arguments' declared here
class Arguments;
      ^
../src/unix/pty.cc:71:17: error: unknown type name 'Arguments'; did you mean 'v8::internal::Arguments'?
PtyResize(const Arguments&);
                ^~~~~~~~~
                v8::internal::Arguments
/Users/tstachl/.atom/.node-gyp/.node-gyp/0.11.10/deps/v8/include/v8.h:140:7: note: 'v8::internal::Arguments' declared here
class Arguments;
      ^
../src/unix/pty.cc:74:18: error: unknown type name 'Arguments'; did you mean 'v8::internal::Arguments'?
PtyGetProc(const Arguments&);
                 ^~~~~~~~~
                 v8::internal::Arguments
/Users/tstachl/.atom/.node-gyp/.node-gyp/0.11.10/deps/v8/include/v8.h:140:7: note: 'v8::internal::Arguments' declared here
class Arguments;
      ^
../src/unix/pty.cc:104:15: error: unknown type name 'Arguments'; did you mean 'v8::internal::Arguments'?
PtyFork(const Arguments& args) {
              ^~~~~~~~~
              v8::internal::Arguments
/Users/tstachl/.atom/.node-gyp/.node-gyp/0.11.10/deps/v8/include/v8.h:140:7: note: 'v8::internal::Arguments' declared here
class Arguments;
      ^
../src/unix/pty.cc:105:15: error: no matching constructor for initialization of 'v8::HandleScope'
  HandleScope scope;
              ^
/Users/tstachl/.atom/.node-gyp/.node-gyp/0.11.10/deps/v8/include/v8.h:756:3: note: candidate constructor not viable: requires single argument 'isolate', but no arguments were provided
  HandleScope(Isolate* isolate);
  ^
/Users/tstachl/.atom/.node-gyp/.node-gyp/0.11.10/deps/v8/include/v8.h:783:3: note: candidate constructor not viable: requires 1 argument, but 0 were provided
  HandleScope(const HandleScope&);
  ^
../src/unix/pty.cc:226:15: error: unknown type name 'Arguments'; did you mean 'v8::internal::Arguments'?
PtyOpen(const Arguments& args) {
              ^~~~~~~~~
              v8::internal::Arguments
/Users/tstachl/.atom/.node-gyp/.node-gyp/0.11.10/deps/v8/include/v8.h:140:7: note: 'v8::internal::Arguments' declared here
class Arguments;
      ^
../src/unix/pty.cc:227:15: error: no matching constructor for initialization of 'v8::HandleScope'
  HandleScope scope;
              ^
/Users/tstachl/.atom/.node-gyp/.node-gyp/0.11.10/deps/v8/include/v8.h:756:3: note: candidate constructor not viable: requires single argument 'isolate', but no arguments were provided
  HandleScope(Isolate* isolate);
  ^
/Users/tstachl/.atom/.node-gyp/.node-gyp/0.11.10/deps/v8/include/v8.h:783:3: note: candidate constructor not viable: requires 1 argument, but 0 were provided
  HandleScope(const HandleScope&);
  ^
../src/unix/pty.cc:277:17: error: unknown type name 'Arguments'; did you mean 'v8::internal::Arguments'?
PtyResize(const Arguments& args) {
                ^~~~~~~~~
                v8::internal::Arguments
/Users/tstachl/.atom/.node-gyp/.node-gyp/0.11.10/deps/v8/include/v8.h:140:7: note: 'v8::internal::Arguments' declared here
class Arguments;
      ^
../src/unix/pty.cc:278:15: error: no matching constructor for initialization of 'v8::HandleScope'
  HandleScope scope;
              ^
/Users/tstachl/.atom/.node-gyp/.node-gyp/0.11.10/deps/v8/include/v8.h:756:3: note: candidate constructor not viable: requires single argument 'isolate', but no arguments were provided
  HandleScope(Isolate* isolate);
  ^
/Users/tstachl/.atom/.node-gyp/.node-gyp/0.11.10/deps/v8/include/v8.h:783:3: note: candidate constructor not viable: requires 1 argument, but 0 were provided
  HandleScope(const HandleScope&);
  ^
../src/unix/pty.cc:311:18: error: unknown type name 'Arguments'; did you mean 'v8::internal::Arguments'?
PtyGetProc(const Arguments& args) {
                 ^~~~~~~~~
                 v8::internal::Arguments
/Users/tstachl/.atom/.node-gyp/.node-gyp/0.11.10/deps/v8/include/v8.h:140:7: note: 'v8::internal::Arguments' declared here
class Arguments;
      ^
../src/unix/pty.cc:312:15: error: no matching constructor for initialization of 'v8::HandleScope'
  HandleScope scope;
              ^
/Users/tstachl/.atom/.node-gyp/.node-gyp/0.11.10/deps/v8/include/v8.h:756:3: note: candidate constructor not viable: requires single argument 'isolate', but no arguments were provided
  HandleScope(Isolate* isolate);
  ^
/Users/tstachl/.atom/.node-gyp/.node-gyp/0.11.10/deps/v8/include/v8.h:783:3: note: candidate constructor not viable: requires 1 argument, but 0 were provided
  HandleScope(const HandleScope&);
  ^
../src/unix/pty.cc:499:10: error: use of undeclared identifier 'openpty'
  return openpty(amaster, aslave, name, (termios *)termp, (winsize *)winp);
         ^
../src/unix/pty.cc:545:10: error: use of undeclared identifier 'forkpty'
  return forkpty(amaster, name, (termios *)termp, (winsize *)winp);
         ^
../src/unix/pty.cc:555:15: error: no matching constructor for initialization of 'v8::HandleScope'
  HandleScope scope;
              ^
/Users/tstachl/.atom/.node-gyp/.node-gyp/0.11.10/deps/v8/include/v8.h:756:3: note: candidate constructor not viable: requires single argument 'isolate', but no arguments were provided
  HandleScope(Isolate* isolate);
  ^
/Users/tstachl/.atom/.node-gyp/.node-gyp/0.11.10/deps/v8/include/v8.h:783:3: note: candidate constructor not viable: requires 1 argument, but 0 were provided
  HandleScope(const HandleScope&);
  ^
15 errors generated.
make: *** [Release/obj.target/pty/src/unix/pty.o] Error 1
gyp ERR! build error 
gyp ERR! stack Error: `make` failed with exit code: 2
gyp ERR! stack     at ChildProcess.onExit (/Applications/Atom.app/Contents/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 Darwin 12.5.0
gyp ERR! command "node" "/Applications/Atom.app/Contents/Resources/app/apm/node_modules/atom-package-manager/node_modules/npm/node_modules/node-gyp/bin/node-gyp.js" "rebuild"
gyp ERR! cwd /private/var/folders/n_/5yd480d13_q3gj3gy_g6slm8n8qsmj/T/apm-install-dir-114211-70068-zulpgp/node_modules/terminal/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.2 install: `node-gyp rebuild`
npm ERR! Exit status 1
npm ERR! 
npm ERR! Failed at the pty.js@0.2.2 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 12.5.0

npm ERR! command "/Applications/Atom.app/Contents/Resources/app/apm/node_modules/atom-package-manager/bin/node" "/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/n_/5yd480d13_q3gj3gy_g6slm8n8qsmj/T/d-114211-70068-1icka1o/package.tgz" "--target=0.11.10" "--arch=x64"
npm ERR! cwd /private/var/folders/n_/5yd480d13_q3gj3gy_g6slm8n8qsmj/T/apm-install-dir-114211-70068-zulpgp
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/n_/5yd480d13_q3gj3gy_g6slm8n8qsmj/T/apm-install-dir-114211-70068-zulpgp/npm-debug.log
npm ERR! not ok code 0
overallduka commented 10 years ago

+1 v0.69.0

chumpy commented 10 years ago

also experiencing error installing on Atom v0.71.0

Installing “terminal@0.1.0” failed. Less…

> pty.js@0.2.2 install /private/var/folders/lm/vdwqsh896x934dysfpx6jc1w0000gn/T/apm-install-dir-114211-64730-t7sq28/node_modules/terminal/node_modules/pty.js
> node-gyp rebuild

  CXX(target) Release/obj.target/pty/src/unix/pty.o

npm http GET https://registry.npmjs.org/guid/0.0.10
npm http GET https://registry.npmjs.org/pty.js/0.2.2
npm http 304 https://registry.npmjs.org/guid/0.0.10
npm http 304 https://registry.npmjs.org/pty.js/0.2.2
../src/unix/pty.cc:65:15: error: unknown type name 'Arguments'; did you mean 'v8::internal::Arguments'?
PtyFork(const Arguments&);
              ^~~~~~~~~
              v8::internal::Arguments
/Users/kevinbeddingfield/.atom/.node-gyp/.node-gyp/0.11.10/deps/v8/include/v8.h:140:7: note: 'v8::internal::Arguments' declared here
class Arguments;
      ^
../src/unix/pty.cc:68:15: error: unknown type name 'Arguments'; did you mean 'v8::internal::Arguments'?
PtyOpen(const Arguments&);
              ^~~~~~~~~
              v8::internal::Arguments
/Users/kevinbeddingfield/.atom/.node-gyp/.node-gyp/0.11.10/deps/v8/include/v8.h:140:7: note: 'v8::internal::Arguments' declared here
class Arguments;
      ^
../src/unix/pty.cc:71:17: error: unknown type name 'Arguments'; did you mean 'v8::internal::Arguments'?
PtyResize(const Arguments&);
                ^~~~~~~~~
                v8::internal::Arguments
/Users/kevinbeddingfield/.atom/.node-gyp/.node-gyp/0.11.10/deps/v8/include/v8.h:140:7: note: 'v8::internal::Arguments' declared here
class Arguments;
      ^
../src/unix/pty.cc:74:18: error: unknown type name 'Arguments'; did you mean 'v8::internal::Arguments'?
PtyGetProc(const Arguments&);
                 ^~~~~~~~~
                 v8::internal::Arguments
/Users/kevinbeddingfield/.atom/.node-gyp/.node-gyp/0.11.10/deps/v8/include/v8.h:140:7: note: 'v8::internal::Arguments' declared here
class Arguments;
      ^
../src/unix/pty.cc:104:15: error: unknown type name 'Arguments'; did you mean 'v8::internal::Arguments'?
PtyFork(const Arguments& args) {
              ^~~~~~~~~
              v8::internal::Arguments
/Users/kevinbeddingfield/.atom/.node-gyp/.node-gyp/0.11.10/deps/v8/include/v8.h:140:7: note: 'v8::internal::Arguments' declared here
class Arguments;
      ^
../src/unix/pty.cc:105:15: error: no matching constructor for initialization of 'v8::HandleScope'
  HandleScope scope;
              ^
/Users/kevinbeddingfield/.atom/.node-gyp/.node-gyp/0.11.10/deps/v8/include/v8.h:756:3: note: candidate constructor not viable: requires single argument 'isolate', but no arguments were provided
  HandleScope(Isolate* isolate);
  ^
/Users/kevinbeddingfield/.atom/.node-gyp/.node-gyp/0.11.10/deps/v8/include/v8.h:783:3: note: candidate constructor not viable: requires 1 argument, but 0 were provided
  HandleScope(const HandleScope&);
  ^
../src/unix/pty.cc:107:11: error: member access into incomplete type 'const v8::internal::Arguments'
  if (args.Length() < 6
          ^
/Users/kevinbeddingfield/.atom/.node-gyp/.node-gyp/0.11.10/deps/v8/include/v8.h:140:7: note: forward declaration of 'v8::internal::Arguments'
class Arguments;
      ^
../src/unix/pty.cc:123:30: error: type 'const v8::internal::Arguments' does not provide a subscript operator
  String::Utf8Value file(args[0]->ToString());
                         ~~~~^~
../src/unix/pty.cc:127:47: error: type 'const v8::internal::Arguments' does not provide a subscript operator
  Local<Array> argv_ = Local<Array>::Cast(args[1]);
                                          ~~~~^~
../src/unix/pty.cc:140:46: error: type 'const v8::internal::Arguments' does not provide a subscript operator
  Local<Array> env_ = Local<Array>::Cast(args[2]);
                                         ~~~~^~
../src/unix/pty.cc:150:30: error: type 'const v8::internal::Arguments' does not provide a subscript operator
  String::Utf8Value cwd_(args[3]->ToString());
                         ~~~~^~
../src/unix/pty.cc:155:21: error: type 'const v8::internal::Arguments' does not provide a subscript operator
  winp.ws_col = args[4]->IntegerValue();
                ~~~~^~
../src/unix/pty.cc:156:21: error: type 'const v8::internal::Arguments' does not provide a subscript operator
  winp.ws_row = args[5]->IntegerValue();
                ~~~~^~
../src/unix/pty.cc:163:11: error: member access into incomplete type 'const v8::internal::Arguments'
  if (args.Length() >= 8) {
          ^
/Users/kevinbeddingfield/.atom/.node-gyp/.node-gyp/0.11.10/deps/v8/include/v8.h:140:7: note: forward declaration of 'v8::internal::Arguments'
class Arguments;
      ^
../src/unix/pty.cc:164:15: error: type 'const v8::internal::Arguments' does not provide a subscript operator
    uid = args[6]->IntegerValue();
          ~~~~^~
../src/unix/pty.cc:165:15: error: type 'const v8::internal::Arguments' does not provide a subscript operator
    gid = args[7]->IntegerValue();
          ~~~~^~
../src/unix/pty.cc:226:15: error: unknown type name 'Arguments'; did you mean 'v8::internal::Arguments'?
PtyOpen(const Arguments& args) {
              ^~~~~~~~~
              v8::internal::Arguments
/Users/kevinbeddingfield/.atom/.node-gyp/.node-gyp/0.11.10/deps/v8/include/v8.h:140:7: note: 'v8::internal::Arguments' declared here
class Arguments;
      ^
../src/unix/pty.cc:227:15: error: no matching constructor for initialization of 'v8::HandleScope'
  HandleScope scope;
              ^
/Users/kevinbeddingfield/.atom/.node-gyp/.node-gyp/0.11.10/deps/v8/include/v8.h:756:3: note: candidate constructor not viable: requires single argument 'isolate', but no arguments were provided
  HandleScope(Isolate* isolate);
  ^
/Users/kevinbeddingfield/.atom/.node-gyp/.node-gyp/0.11.10/deps/v8/include/v8.h:783:3: note: candidate constructor not viable: requires 1 argument, but 0 were provided
  HandleScope(const HandleScope&);
  ^
../src/unix/pty.cc:229:11: error: member access into incomplete type 'const v8::internal::Arguments'
  if (args.Length() != 2
          ^
/Users/kevinbeddingfield/.atom/.node-gyp/.node-gyp/0.11.10/deps/v8/include/v8.h:140:7: note: forward declaration of 'v8::internal::Arguments'
class Arguments;
      ^
fatal error: too many errors emitted, stopping now [-ferror-limit=]
20 errors generated.
make: *** [Release/obj.target/pty/src/unix/pty.o] Error 1
gyp ERR! build error 
gyp ERR! stack Error: `make` failed with exit code: 2
gyp ERR! stack     at ChildProcess.onExit (/Applications/Atom.app/Contents/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 Darwin 13.1.0
gyp ERR! command "node" "/Applications/Atom.app/Contents/Resources/app/apm/node_modules/atom-package-manager/node_modules/npm/node_modules/node-gyp/bin/node-gyp.js" "rebuild"
gyp ERR! cwd /private/var/folders/lm/vdwqsh896x934dysfpx6jc1w0000gn/T/apm-install-dir-114211-64730-t7sq28/node_modules/terminal/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.2 install: `node-gyp rebuild`
npm ERR! Exit status 1
npm ERR! 
npm ERR! Failed at the pty.js@0.2.2 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" "/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/kevinbeddingfield/.atom/.node-gyp/.atom/.apm/terminal/0.1.0/package.tgz" "--target=0.11.10" "--arch=x64"
npm ERR! cwd /private/var/folders/lm/vdwqsh896x934dysfpx6jc1w0000gn/T/apm-install-dir-114211-64730-t7sq28
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/lm/vdwqsh896x934dysfpx6jc1w0000gn/T/apm-install-dir-114211-64730-t7sq28/npm-debug.log
npm ERR! not ok code 0
sekel commented 10 years ago

Same issue on Version 0.75.0 (0.75.0)

pty.js@0.2.4 install /private/var/folders/2x/qhjyhbx54m16m93vn915307000010g/T/apm-install-dir-114221-31555-gmf3yn/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/keypather npm http GET https://registry.npmjs.org/term.js/0.0.3 npm http GET https://registry.npmjs.org/pty.js npm http 200 https://registry.npmjs.org/keypather npm http 200 https://registry.npmjs.org/debounce/0.0.3 npm http GET https://registry.npmjs.org/keypather/-/keypather-1.3.2.tgz npm http GET https://registry.npmjs.org/debounce/-/debounce-0.0.3.tgz npm http 200 https://registry.npmjs.org/term.js/0.0.3 npm http GET https://registry.npmjs.org/term.js/-/term.js-0.0.3.tgz npm http 200 https://registry.npmjs.org/pty.js npm http 200 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 GET https://registry.npmjs.org/extend npm http GET https://registry.npmjs.org/nan/0.7.0 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! pty.js@0.2.4 install: node-gyp rebuild npm ERR! Exit status 127 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 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/2x/qhjyhbx54m16m93vn915307000010g/T/d-114221-31555-9lc1oh/package.tgz" "--target=0.11.10" "--arch=x64" npm ERR! cwd /private/var/folders/2x/qhjyhbx54m16m93vn915307000010g/T/apm-install-dir-114221-31555-gmf3yn 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/2x/qhjyhbx54m16m93vn915307000010g/T/apm-install-dir-114221-31555-gmf3yn/npm-debug.log npm ERR! not ok code 0

ebrentnelson commented 10 years ago

I see the same on Version 0.78.0 (0.78.0)

apm install terminal
Installing terminal to /Users/me/.atom/packages ✗

> pty.js@0.2.4 install /private/var/folders/ny/hq3q9v_5515547785nv879_r0000gn/T/apm-install-dir-114228-54588-z1zn0l/node_modules/terminal/node_modules/pty.js
> node-gyp rebuild

  CXX(target) Release/obj.target/pty/src/unix/pty.o

npm http GET http://gh-contractor-zcbenz.s3.amazonaws.com/temp/pty.js-0.2.4.tgz
npm http GET https://registry.npmjs.org/guid/0.0.10
npm http GET https://registry.npmjs.org/underscore-plus
npm http GET https://registry.npmjs.org/fs-plus
npm http GET https://registry.npmjs.org/emissary
npm http 200 http://gh-contractor-zcbenz.s3.amazonaws.com/temp/pty.js-0.2.4.tgz
npm http 304 https://registry.npmjs.org/guid/0.0.10
npm http 304 https://registry.npmjs.org/fs-plus
npm http 304 https://registry.npmjs.org/underscore-plus
npm http 304 https://registry.npmjs.org/emissary
npm http GET https://registry.npmjs.org/underscore
npm http GET https://registry.npmjs.org/rimraf
npm http GET https://registry.npmjs.org/mkdirp
npm http GET https://registry.npmjs.org/mixto
npm http GET https://registry.npmjs.org/property-accessors
npm http GET https://registry.npmjs.org/async
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/underscore
npm http 304 https://registry.npmjs.org/mkdirp
npm http 304 https://registry.npmjs.org/rimraf
npm http 304 https://registry.npmjs.org/async
npm http 304 https://registry.npmjs.org/mixto
npm http 304 https://registry.npmjs.org/nan/0.7.0
npm http 304 https://registry.npmjs.org/property-accessors
npm http 304 https://registry.npmjs.org/extend
../src/unix/pty.cc:37:10: fatal error: '/usr/include/util.h' file not found
#include </usr/include/util.h>
         ^
1 error generated.
make: *** [Release/obj.target/pty/src/unix/pty.o] Error 1
gyp ERR! build error
gyp ERR! stack Error: `make` failed with exit code: 2
gyp ERR! stack     at ChildProcess.onExit (/Applications/Atom.app/Contents/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:789:12)
gyp ERR! System Darwin 13.1.0
gyp ERR! command "node" "/Applications/Atom.app/Contents/Resources/app/apm/node_modules/atom-package-manager/node_modules/npm/node_modules/node-gyp/bin/node-gyp.js" "rebuild"
gyp ERR! cwd /private/var/folders/ny/hq3q9v_5515547785nv879_r0000gn/T/apm-install-dir-114228-54588-z1zn0l/node_modules/terminal/node_modules/pty.js
gyp ERR! node -v v0.10.20
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 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/bnelson/.atom/.node-gyp/.atom/.apm/terminal/0.28.0/package.tgz" "--target=0.11.10" "--arch=x64"
npm ERR! cwd /private/var/folders/ny/hq3q9v_5515547785nv879_r0000gn/T/apm-install-dir-114228-54588-z1zn0l
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/ny/hq3q9v_5515547785nv879_r0000gn/T/apm-install-dir-114228-54588-z1zn0l/npm-debug.log
npm ERR! not ok code 0
ghost commented 10 years ago

same issue :( Installing “terminal@0.28.0” failed. Less… Maybe my logs could be helpful..


> pty.js@0.2.4 install /private/var/folders/51/vmpy3zt97js73br44rv20ctw0000gn/T/apm-install-dir-11431-20190-zi0oum/node_modules/terminal/node_modules/pty.js
> node-gyp rebuild
npm http GET https://registry.npmjs.org/emissary
npm http GET https://registry.npmjs.org/underscore-plus
npm http GET https://registry.npmjs.org/guid/0.0.10
npm http GET https://registry.npmjs.org/fs-plus
npm http GET http://gh-contractor-zcbenz.s3.amazonaws.com/temp/pty.js-0.2.4.tgz
npm http 304 https://registry.npmjs.org/guid/0.0.10
npm http 304 https://registry.npmjs.org/fs-plus
npm http 304 https://registry.npmjs.org/emissary
npm http 304 https://registry.npmjs.org/underscore-plus
npm http 200 http://gh-contractor-zcbenz.s3.amazonaws.com/temp/pty.js-0.2.4.tgz
npm http GET https://registry.npmjs.org/underscore
npm http GET https://registry.npmjs.org/mkdirp
npm http GET https://registry.npmjs.org/async
npm http GET https://registry.npmjs.org/rimraf
npm http GET https://registry.npmjs.org/mixto
npm http GET https://registry.npmjs.org/property-accessors
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/underscore
npm http 304 https://registry.npmjs.org/async
npm http 304 https://registry.npmjs.org/mkdirp
npm http 304 https://registry.npmjs.org/property-accessors
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 http 304 https://registry.npmjs.org/rimraf
npm http 304 https://registry.npmjs.org/mixto
npm ERR! error rolling back Error: ENOTEMPTY, rmdir '/private/var/folders/51/vmpy3zt97js73br44rv20ctw0000gn/T/apm-install-dir-11431-20190-zi0oum/node_modules/terminal/node_modules/fs-plus/node_modules/mkdirp'
npm ERR! error rolling back  terminal@0.28.0 { [Error: ENOTEMPTY, rmdir '/private/var/folders/51/vmpy3zt97js73br44rv20ctw0000gn/T/apm-install-dir-11431-20190-zi0oum/node_modules/terminal/node_modules/fs-plus/node_modules/mkdirp']
npm ERR! error rolling back   errno: 53,
npm ERR! error rolling back   code: 'ENOTEMPTY',
npm ERR! error rolling back   path: '/private/var/folders/51/vmpy3zt97js73br44rv20ctw0000gn/T/apm-install-dir-11431-20190-zi0oum/node_modules/terminal/node_modules/fs-plus/node_modules/mkdirp' }
npm ERR! pty.js@0.2.4 install: `node-gyp rebuild`
npm ERR! Exit status 127
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 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/bmalets/.atom/.node-gyp/.atom/.apm/terminal/0.28.0/package.tgz" "--target=0.11.10" "--arch=x64"
npm ERR! cwd /private/var/folders/51/vmpy3zt97js73br44rv20ctw0000gn/T/apm-install-dir-11431-20190-zi0oum
npm ERR! node -v v0.10.26
npm ERR! npm -v 1.4.4
npm ERR! code ELIFECYCLE
npm ERR! Error: ENOENT, lstat '/private/var/folders/51/vmpy3zt97js73br44rv20ctw0000gn/T/apm-install-dir-11431-20190-zi0oum/node_modules/terminal/node_modules/fs-plus/node_modules/async/README.md'
npm ERR! If you need help, you may report this *entire* log,
npm ERR! including the npm and node versions, at:
npm ERR!     
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/bmalets/.atom/.node-gyp/.atom/.apm/terminal/0.28.0/package.tgz" "--target=0.11.10" "--arch=x64"
npm ERR! cwd /private/var/folders/51/vmpy3zt97js73br44rv20ctw0000gn/T/apm-install-dir-11431-20190-zi0oum
npm ERR! node -v v0.10.26
npm ERR! npm -v 1.4.4
npm ERR! path /private/var/folders/51/vmpy3zt97js73br44rv20ctw0000gn/T/apm-install-dir-11431-20190-zi0oum/node_modules/terminal/node_modules/fs-plus/node_modules/async/README.md
npm ERR! fstream_path /private/var/folders/51/vmpy3zt97js73br44rv20ctw0000gn/T/apm-install-dir-11431-20190-zi0oum/node_modules/terminal/node_modules/fs-plus/node_modules/async/README.md
npm ERR! fstream_type File
npm ERR! fstream_class FileWriter
npm ERR! code ENOENT
npm ERR! errno 34
npm ERR! fstream_stack /Applications/Atom.app/Contents/Resources/app/apm/node_modules/atom-package-manager/node_modules/npm/node_modules/fstream/lib/writer.js:284:26
npm ERR! fstream_stack Object.oncomplete (fs.js:107:15)
npm ERR! EEXIST, mkdir '/private/var/folders/51/vmpy3zt97js73br44rv20ctw0000gn/T/apm-install-dir-11431-20190-zi0oum/node_modules/terminal/node_modules/fs-plus/node_modules/mkdirp/test'
File exists: /private/var/folders/51/vmpy3zt97js73br44rv20ctw0000gn/T/apm-install-dir-11431-20190-zi0oum/node_modules/terminal/node_modules/fs-plus/node_modules/mkdirp/test
Move it away, and try again. 
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/bmalets/.atom/.node-gyp/.atom/.apm/terminal/0.28.0/package.tgz" "--target=0.11.10" "--arch=x64"
npm ERR! cwd /private/var/folders/51/vmpy3zt97js73br44rv20ctw0000gn/T/apm-install-dir-11431-20190-zi0oum
npm ERR! node -v v0.10.26
npm ERR! npm -v 1.4.4
npm ERR! path /private/var/folders/51/vmpy3zt97js73br44rv20ctw0000gn/T/apm-install-dir-11431-20190-zi0oum/node_modules/terminal/node_modules/fs-plus/node_modules/mkdirp/test
npm ERR! fstream_path /private/var/folders/51/vmpy3zt97js73br44rv20ctw0000gn/T/apm-install-dir-11431-20190-zi0oum/node_modules/terminal/node_modules/fs-plus/node_modules/mkdirp/test/root.js
npm ERR! fstream_type File
npm ERR! fstream_class FileWriter
npm ERR! code EEXIST
npm ERR! errno 47
npm ERR! fstream_stack /Applications/Atom.app/Contents/Resources/app/apm/node_modules/atom-package-manager/node_modules/npm/node_modules/fstream/lib/writer.js:171:23
npm ERR! fstream_stack /Applications/Atom.app/Contents/Resources/app/apm/node_modules/atom-package-manager/node_modules/npm/node_modules/mkdirp/index.js:37:53
npm ERR! fstream_stack Object.oncomplete (fs.js:107:15)
npm ERR! 
npm ERR! Additional logging details can be found in:
npm ERR!     /private/var/folders/51/vmpy3zt97js73br44rv20ctw0000gn/T/apm-install-dir-11431-20190-zi0oum/npm-debug.log
npm ERR! not ok code 0
jrschumacher commented 10 years ago

See solution here https://github.com/atom/terminal/issues/28#issuecomment-39405908