tjmehta / atom-term

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

Install error #25

Open jamestillercode opened 10 years ago

jamestillercode commented 10 years ago
> pty.js@0.2.4 install /private/var/folders/yy/0n9pg9b92tq8pw716kxr7pz00000gn/T/apm-install-dir-114714-26885-j3iot9/node_modules/term/node_modules/pty.js
> node-gyp rebuild

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

npm http GET https://registry.npmjs.org/term.js/0.0.3
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/term.js/-/term.js-0.0.3.tgz
In file included from ../src/unix/pty.cc:16:
../node_modules/nan/nan.h:352:13: error: no member named 'New' in 'v8::String'
    return  _NAN_ERROR(v8::Exception::Error, errmsg);
            ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
../node_modules/nan/nan.h:332:50: note: expanded from macro '_NAN_ERROR'
# define _NAN_ERROR(fun, errmsg) fun(v8::String::New(errmsg))
                                     ~~~~~~~~~~~~^
../node_modules/nan/nan.h:356:5: error: no member named 'ThrowException' in namespace 'v8'
    _NAN_THROW_ERROR(v8::Exception::Error, errmsg);
    ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
../node_modules/nan/nan.h:337:11: note: expanded from macro '_NAN_THROW_ERROR'
      v8::ThrowException(_NAN_ERROR(fun, errmsg));                             \
      ~~~~^
../node_modules/nan/nan.h:356:5: error: no member named 'New' in 'v8::String'
    _NAN_THROW_ERROR(v8::Exception::Error, errmsg);
    ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
../node_modules/nan/nan.h:337:26: note: expanded from macro '_NAN_THROW_ERROR'
      v8::ThrowException(_NAN_ERROR(fun, errmsg));                             \
                         ^~~~~~~~~~~~~~~~~~~~~~~
../node_modules/nan/nan.h:332:50: note: expanded from macro '_NAN_ERROR'
# define _NAN_ERROR(fun, errmsg) fun(v8::String::New(errmsg))
                                     ~~~~~~~~~~~~^
../node_modules/nan/nan.h:361:9: error: no type named 'ThrowException' in namespace 'v8'
    v8::ThrowException(error);
    ~~~~^
../node_modules/nan/nan.h:368:65: error: no member named 'New' in 'v8::String'
    v8::Local<v8::Value> err = v8::Exception::Error(v8::String::New(msg));
                                                    ~~~~~~~~~~~~^
../node_modules/nan/nan.h:370:26: error: no member named 'New' in 'v8::String'
    obj->Set(v8::String::New("code"), v8::Int32::New(errorNumber));
             ~~~~~~~~~~~~^
../node_modules/nan/nan.h:382:12: error: no member named 'New' in 'v8::String'
    return _NAN_ERROR(v8::Exception::TypeError, errmsg);
           ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
../node_modules/nan/nan.h:332:50: note: expanded from macro '_NAN_ERROR'
# define _NAN_ERROR(fun, errmsg) fun(v8::String::New(errmsg))
                                     ~~~~~~~~~~~~^
../node_modules/nan/nan.h:386:5: error: no member named 'ThrowException' in namespace 'v8'
    _NAN_THROW_ERROR(v8::Exception::TypeError, errmsg);
    ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
../node_modules/nan/nan.h:337:11: note: expanded from macro '_NAN_THROW_ERROR'
      v8::ThrowException(_NAN_ERROR(fun, errmsg));                             \
      ~~~~^
../node_modules/nan/nan.h:386:5: error: no member named 'New' in 'v8::String'
    _NAN_THROW_ERROR(v8::Exception::TypeError, errmsg);
    ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
../node_modules/nan/nan.h:337:26: note: expanded from macro '_NAN_THROW_ERROR'
      v8::ThrowException(_NAN_ERROR(fun, errmsg));                             \
                         ^~~~~~~~~~~~~~~~~~~~~~~
../node_modules/nan/nan.h:332:50: note: expanded from macro '_NAN_ERROR'
# define _NAN_ERROR(fun, errmsg) fun(v8::String::New(errmsg))
                                     ~~~~~~~~~~~~^
../node_modules/nan/nan.h:390:12: error: no member named 'New' in 'v8::String'
    return _NAN_ERROR(v8::Exception::RangeError, errmsg);
           ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
../node_modules/nan/nan.h:332:50: note: expanded from macro '_NAN_ERROR'
# define _NAN_ERROR(fun, errmsg) fun(v8::String::New(errmsg))
                                     ~~~~~~~~~~~~^
../node_modules/nan/nan.h:394:5: error: no member named 'ThrowException' in namespace 'v8'
    _NAN_THROW_ERROR(v8::Exception::RangeError, errmsg);
    ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
../node_modules/nan/nan.h:337:11: note: expanded from macro '_NAN_THROW_ERROR'
      v8::ThrowException(_NAN_ERROR(fun, errmsg));                             \
      ~~~~^
../node_modules/nan/nan.h:394:5: error: no member named 'New' in 'v8::String'
    _NAN_THROW_ERROR(v8::Exception::RangeError, errmsg);
    ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
../node_modules/nan/nan.h:337:26: note: expanded from macro '_NAN_THROW_ERROR'
      v8::ThrowException(_NAN_ERROR(fun, errmsg));                             \
                         ^~~~~~~~~~~~~~~~~~~~~~~
../node_modules/nan/nan.h:332:50: note: expanded from macro '_NAN_ERROR'
# define _NAN_ERROR(fun, errmsg) fun(v8::String::New(errmsg))
                                     ~~~~~~~~~~~~^
../node_modules/nan/nan.h:714:49: error: too few arguments to function call, single argument 'isolate' was not specified
    v8::Local<v8::Object> obj = v8::Object::New();
                                ~~~~~~~~~~~~~~~ ^
/Users/JimboSlice/.atom/.node-gyp/.node-gyp/0.11.13/deps/v8/include/v8.h:2372:3: note: 'New' declared here
  static Local<Object> New(Isolate* isolate);
  ^
In file included from ../src/unix/pty.cc:16:
../node_modules/nan/nan.h:720:49: error: too few arguments to function call, single argument 'isolate' was not specified
    v8::Local<v8::Object> obj = v8::Object::New();
                                ~~~~~~~~~~~~~~~ ^
/Users/JimboSlice/.atom/.node-gyp/.node-gyp/0.11.13/deps/v8/include/v8.h:2372:3: note: 'New' declared here
  static Local<Object> New(Isolate* isolate);
  ^
In file included from ../src/unix/pty.cc:16:
../node_modules/nan/nan.h:727:12: error: no member named 'Dispose' in 'v8::Persistent<v8::Object, v8::NonCopyablePersistentTraits<v8::Object> >'
    handle.Dispose();
    ~~~~~~ ^
../node_modules/nan/nan.h:728:12: error: no member named 'Clear' in 'v8::Persistent<v8::Object, v8::NonCopyablePersistentTraits<v8::Object> >'
    handle.Clear();
    ~~~~~~ ^
../node_modules/nan/nan.h:733:39: error: no member named 'NewSymbol' in 'v8::String'; did you mean 'IsSymbol'?
    NanPersistentToLocal(handle)->Set(NanSymbol("callback"), fn);
                                      ^~~~~~~~~~~~~~~~~~~~~
../node_modules/nan/nan.h:169:38: note: expanded from macro 'NanSymbol'
#define NanSymbol(value) v8::String::NewSymbol(value)
                         ~~~~~~~~~~~~^
/Users/JimboSlice/.atom/.node-gyp/.node-gyp/0.11.13/deps/v8/include/v8.h:1356:8: note: 'IsSymbol' declared here
  bool IsSymbol() const;
       ^
In file included from ../src/unix/pty.cc:16:
../node_modules/nan/nan.h:733:39: error: call to non-static member function without an object argument
    NanPersistentToLocal(handle)->Set(NanSymbol("callback"), fn);
                                      ^~~~~~~~~~~~~~~~~~~~~
../node_modules/nan/nan.h:169:38: note: expanded from macro 'NanSymbol'
#define NanSymbol(value) v8::String::NewSymbol(value)
                         ~~~~~~~~~~~~^~~~~~~~~
../node_modules/nan/nan.h:737:46: error: no member named 'NewSymbol' in 'v8::String'; did you mean 'IsSymbol'?
    return NanPersistentToLocal(handle)->Get(NanSymbol("callback"))
                                             ^~~~~~~~~~~~~~~~~~~~~
../node_modules/nan/nan.h:169:38: note: expanded from macro 'NanSymbol'
#define NanSymbol(value) v8::String::NewSymbol(value)
                         ~~~~~~~~~~~~^
/Users/JimboSlice/.atom/.node-gyp/.node-gyp/0.11.13/deps/v8/include/v8.h:1356:8: note: 'IsSymbol' declared here
  bool IsSymbol() const;
       ^
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.3.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/yy/0n9pg9b92tq8pw716kxr7pz00000gn/T/apm-install-dir-114714-26885-j3iot9/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 Darwin 13.3.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" "--globalconfig" "/Applications/Atom.app/Contents/Resources/app/apm/node_modules/atom-package-manager/.apmrc" "--userconfig" "/Users/JimboSlice/.atom/.apmrc" "install" "/var/folders/yy/0n9pg9b92tq8pw716kxr7pz00000gn/T/d-114714-26885-103kh8e/package.tgz" "--target=0.11.13" "--arch=x64"
npm ERR! cwd /private/var/folders/yy/0n9pg9b92tq8pw716kxr7pz00000gn/T/apm-install-dir-114714-26885-j3iot9
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/yy/0n9pg9b92tq8pw716kxr7pz00000gn/T/apm-install-dir-114714-26885-j3iot9/npm-debug.log
npm ERR! not ok code 0
praneetloke commented 10 years ago

Found this as a workaround, haven't tried it yet myself. But I am facing this issue as well.

EDIT: Disregard. The link I mentioned above reports a different error with pty.js.

jwtowner commented 10 years ago

I've run into the same problem. I'm running on Linux Mint 17, probably a configuration header issue.

DCKT commented 10 years ago

I've the same problem on OS X 10.9.4 Any solutions where found ?

oneezy commented 10 years ago

* Same Problem * (Windows 7 user)

pty.js@0.2.4 install C:\Users\Oneeezy\AppData\Local\Temp\apm-install-dir-114819-8356-11wyxtl\node_modules\term\node_modules\pty.js node-gyp rebuild

C:\Users\Oneeezy\AppData\Local\Temp\apm-install-dir-114819-8356-11wyxtl\node_modules\term\node_modules\pty.js>node "c:\Program Files\Atom\resources\app\apm\node_modules\atom-package-manager\node_modules\npm\bin\node-gyp-bin....\node_modules\node-gyp\bin\node-gyp.js" rebuild Building the projects in this solution one at a time. To enable parallel build, please add the "/m" switch. MSBUILD : error MSB3428: Could not load the Visual C++ component "VCBuild.exe". To fix this, 1) install the .NET Framework 2.0 SDK, 2) install Microsoft Visual Studio 2005 or 3) add the location of the component to the system path if it is installed elsewhere. [C:\Users\Oneeezy\AppData\Local\Temp\apm-install-dir-114819-8356-11wyxtl\node_modules\term\node_modules\pty.js\build\binding.sln] MSBUILD : error MSB3428: Could not load the Visual C++ component "VCBuild.exe". To fix this, 1) install the .NET Framework 2.0 SDK, 2) install Microsoft Visual Studio 2005 or 3) add the location of the component to the system path if it is installed elsewhere. [C:\Users\Oneeezy\AppData\Local\Temp\apm-install-dir-114819-8356-11wyxtl\node_modules\term\node_modules\pty.js\build\binding.sln]

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/debounce/0.0.3 npm http 304 https://registry.npmjs.org/pty.js npm http 304 https://registry.npmjs.org/term.js/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/nan/0.7.0 npm http 304 https://registry.npmjs.org/extend gypnpm 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 Windows_NT 6.1.7601 npm ERR! command "c:\Program Files\Atom\resources\app\apm\node_modules\atom-package-manager\bin\node.exe" "c:\Program Files\Atom\resources\app\apm\node_modules\atom-package-manager\node_modules\npm\bin\npm-cli.js" "--globalconfig" "c:\Program Files\Atom\resources\app\apm\node_modules\atom-package-manager.apmrc" "--userconfig" "C:\Users\Oneeezy.atom.apmrc" "install" "C:\Users\Oneeezy.atom.node-gyp.atom.apm\term\0.2.2\package.tgz" "--target=0.16.0" "--arch=ia32" npm ERR! cwd C:\Users\Oneeezy\AppData\Local\Temp\apm-install-dir-114819-8356-11wyxtl npm ERR! node -v v0.10.30 npm ERR! npm -v 1.4.4 npm ERR! code ELIFECYCLE npm

Nxt3 commented 10 years ago

Same issue, Linux Mint 17

hawkins commented 9 years ago

Same issue, OS X 10.9.5

schardong commented 9 years ago

Same issue, Ubuntu 14.04

alexlawrence commented 9 years ago

Same issue, OS X 10.9.2

kon commented 9 years ago

Same issue, OSX 10.10

thiphariel commented 9 years ago

Same issue... Like @kon : OS X 10.10.1

dimas-cyriaco commented 9 years ago

Same issue, Ubuntu 14.04

m-bra commented 9 years ago

Same issue, elementary OS Luna

kmdavis commented 9 years ago

Same issue, OSX 10.10.1 atom 0.154.0

reggi commented 9 years ago

Same issue OSX 10.10.1

mikepost commented 9 years ago

So basically ... this plugin is no longer maintained.

tjmehta commented 9 years ago

:( someone forked it and created atom-term2 or something. Not sure why they didn't PR. I was planning on reaching out to them and figuring that out before I reimplement what they have already done

—@tjmehta Typed using my thumbs..

On Mon, Jan 19, 2015 at 2:55 PM, mikepost notifications@github.com wrote:

So basically ... this plugin is no longer maintained.

Reply to this email directly or view it on GitHub: https://github.com/tjmehta/atom-term/issues/25#issuecomment-70575736

faddah commented 9 years ago

@tjmehta ,

seeing this also with atom 0.182.0 on ubuntu linux 14.04 lts with unity. same as @schardong @dimascyriaco above.

the forked atom-term2 package you mention in this thread above doesn't install on this set-up either, gives exact same pty.js/node/npm errors.

so will this ever get fixed for the latest atom, please?

best,

— faddah portland, oregon, u.s.a.

tjmehta commented 9 years ago

Im planning on hacking a lot this wkend I’ll try and check this out for you all. Maybe ill merge atom-terms2 fixes in as well.

— @tjmehta

On Fri, Feb 20, 2015 at 2:07 PM, Faddah Wolf notifications@github.com wrote:

@tjmehta , seeing this also with atom 0.182.0 on ubuntu linux 14.04 lts with unity. same as @schardong @dimascyriaco above. the forked atom-term2 package you mention in this thread above doesn't install on this set-up either, gives exact same pty.js/node/npm errors. so will this ever get fixed for the latest atom, please? best, — faddah

portland, oregon, u.s.a.

Reply to this email directly or view it on GitHub: https://github.com/tjmehta/atom-term/issues/25#issuecomment-75328231