Skip to content
This repository has been archived by the owner on Jul 24, 2024. It is now read-only.

NPM install failing in node 0.11.13 #301

Closed
hiddentao opened this issue May 6, 2014 · 18 comments
Closed

NPM install failing in node 0.11.13 #301

hiddentao opened this issue May 6, 2014 · 18 comments

Comments

@hiddentao
Copy link

In node 0.11.13 (the current 0.11 version in Travis CI too) if I do an npm install I get:

home@l0c4l:~/tmp/t$ npm install node-sass
npm http GET https://registry.npmjs.org/node-sass
npm http 304 https://registry.npmjs.org/node-sass
...
> node-sass@0.8.6 install /Users/home/tmp/t/node_modules/node-sass
> node build.js

  CXX(target) Release/obj.target/binding/binding.o
In file included from ../binding.cpp:1:
../node_modules/nan/nan.h:339:13: error: no member named 'New' in 'v8::String'
    return  _NAN_ERROR(v8::Exception::Error, errmsg);
            ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
../node_modules/nan/nan.h:319:50: note: expanded from macro '_NAN_ERROR'
# define _NAN_ERROR(fun, errmsg) fun(v8::String::New(errmsg))
                                     ~~~~~~~~~~~~^
../node_modules/nan/nan.h:343:5: error: no member named 'ThrowException' in namespace 'v8'
    _NAN_THROW_ERROR(v8::Exception::Error, errmsg);
    ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
../node_modules/nan/nan.h:324:11: note: expanded from macro '_NAN_THROW_ERROR'
      v8::ThrowException(_NAN_ERROR(fun, errmsg));                             \
      ~~~~^
../node_modules/nan/nan.h:343:5: error: no member named 'New' in 'v8::String'
    _NAN_THROW_ERROR(v8::Exception::Error, errmsg);
    ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
../node_modules/nan/nan.h:324:26: note: expanded from macro '_NAN_THROW_ERROR'
      v8::ThrowException(_NAN_ERROR(fun, errmsg));                             \
                         ^~~~~~~~~~~~~~~~~~~~~~~
../node_modules/nan/nan.h:319:50: note: expanded from macro '_NAN_ERROR'
# define _NAN_ERROR(fun, errmsg) fun(v8::String::New(errmsg))
                                     ~~~~~~~~~~~~^
../node_modules/nan/nan.h:348:9: error: no type named 'ThrowException' in namespace 'v8'
    v8::ThrowException(error);
    ~~~~^
../node_modules/nan/nan.h:355: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:357:26: error: no member named 'New' in 'v8::String'
    obj->Set(v8::String::New("code"), v8::Int32::New(errorNumber));
             ~~~~~~~~~~~~^
../node_modules/nan/nan.h:369:12: error: no member named 'New' in 'v8::String'
    return _NAN_ERROR(v8::Exception::TypeError, errmsg);
           ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
../node_modules/nan/nan.h:319:50: note: expanded from macro '_NAN_ERROR'
# define _NAN_ERROR(fun, errmsg) fun(v8::String::New(errmsg))
                                     ~~~~~~~~~~~~^
../node_modules/nan/nan.h:373:5: error: no member named 'ThrowException' in namespace 'v8'
    _NAN_THROW_ERROR(v8::Exception::TypeError, errmsg);
    ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
../node_modules/nan/nan.h:324:11: note: expanded from macro '_NAN_THROW_ERROR'
      v8::ThrowException(_NAN_ERROR(fun, errmsg));                             \
      ~~~~^
../node_modules/nan/nan.h:373:5: error: no member named 'New' in 'v8::String'
    _NAN_THROW_ERROR(v8::Exception::TypeError, errmsg);
    ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
../node_modules/nan/nan.h:324:26: note: expanded from macro '_NAN_THROW_ERROR'
      v8::ThrowException(_NAN_ERROR(fun, errmsg));                             \
                         ^~~~~~~~~~~~~~~~~~~~~~~
../node_modules/nan/nan.h:319:50: note: expanded from macro '_NAN_ERROR'
# define _NAN_ERROR(fun, errmsg) fun(v8::String::New(errmsg))
                                     ~~~~~~~~~~~~^
../node_modules/nan/nan.h:377:12: error: no member named 'New' in 'v8::String'
    return _NAN_ERROR(v8::Exception::RangeError, errmsg);
           ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
../node_modules/nan/nan.h:319:50: note: expanded from macro '_NAN_ERROR'
# define _NAN_ERROR(fun, errmsg) fun(v8::String::New(errmsg))
                                     ~~~~~~~~~~~~^
../node_modules/nan/nan.h:381:5: error: no member named 'ThrowException' in namespace 'v8'
    _NAN_THROW_ERROR(v8::Exception::RangeError, errmsg);
    ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
../node_modules/nan/nan.h:324:11: note: expanded from macro '_NAN_THROW_ERROR'
      v8::ThrowException(_NAN_ERROR(fun, errmsg));                             \
      ~~~~^
../node_modules/nan/nan.h:381:5: error: no member named 'New' in 'v8::String'
    _NAN_THROW_ERROR(v8::Exception::RangeError, errmsg);
    ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
../node_modules/nan/nan.h:324:26: note: expanded from macro '_NAN_THROW_ERROR'
      v8::ThrowException(_NAN_ERROR(fun, errmsg));                             \
                         ^~~~~~~~~~~~~~~~~~~~~~~
../node_modules/nan/nan.h:319:50: note: expanded from macro '_NAN_ERROR'
# define _NAN_ERROR(fun, errmsg) fun(v8::String::New(errmsg))
                                     ~~~~~~~~~~~~^
../node_modules/nan/nan.h:727:49: error: too few arguments to function call, single argument 'isolate' was not specified
    v8::Local<v8::Object> obj = v8::Object::New();
                                ~~~~~~~~~~~~~~~ ^
/Users/home/.node-gyp/0.11.13/deps/v8/include/v8.h:2457:3: note: 'New' declared here
  static Local<Object> New(Isolate* isolate);
  ^
In file included from ../binding.cpp:1:
../node_modules/nan/nan.h:733:49: error: too few arguments to function call, single argument 'isolate' was not specified
    v8::Local<v8::Object> obj = v8::Object::New();
                                ~~~~~~~~~~~~~~~ ^
/Users/home/.node-gyp/0.11.13/deps/v8/include/v8.h:2457:3: note: 'New' declared here
  static Local<Object> New(Isolate* isolate);
  ^
In file included from ../binding.cpp:1:
../node_modules/nan/nan.h:740:12: error: no member named 'Dispose' in 'v8::Persistent<v8::Object, v8::NonCopyablePersistentTraits<v8::Object> >'
    handle.Dispose();
    ~~~~~~ ^
../node_modules/nan/nan.h:741:12: error: no member named 'Clear' in 'v8::Persistent<v8::Object, v8::NonCopyablePersistentTraits<v8::Object> >'
    handle.Clear();
    ~~~~~~ ^
../node_modules/nan/nan.h:746:39: error: no member named 'NewSymbol' in 'v8::String'; did you mean 'IsSymbol'?
    NanPersistentToLocal(handle)->Set(NanSymbol("callback"), fn);
                                      ^~~~~~~~~~~~~~~~~~~~~
../node_modules/nan/nan.h:181:38: note: expanded from macro 'NanSymbol'
#define NanSymbol(value) v8::String::NewSymbol(value)
                         ~~~~~~~~~~~~^
/Users/home/.node-gyp/0.11.13/deps/v8/include/v8.h:1441:8: note: 'IsSymbol' declared here
  bool IsSymbol() const;
       ^
In file included from ../binding.cpp:1:
../node_modules/nan/nan.h:746:39: error: call to non-static member function without an object argument
    NanPersistentToLocal(handle)->Set(NanSymbol("callback"), fn);
                                      ^~~~~~~~~~~~~~~~~~~~~
../node_modules/nan/nan.h:181:38: note: expanded from macro 'NanSymbol'
#define NanSymbol(value) v8::String::NewSymbol(value)
                         ~~~~~~~~~~~~^~~~~~~~~
../node_modules/nan/nan.h:750:46: error: no member named 'NewSymbol' in 'v8::String'; did you mean 'IsSymbol'?
    return NanPersistentToLocal(handle)->Get(NanSymbol("callback"))
                                             ^~~~~~~~~~~~~~~~~~~~~
../node_modules/nan/nan.h:181:38: note: expanded from macro 'NanSymbol'
#define NanSymbol(value) v8::String::NewSymbol(value)
                         ~~~~~~~~~~~~^
/Users/home/.node-gyp/0.11.13/deps/v8/include/v8.h:1441: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/binding/binding.o] Error 1
gyp ERR! build error 
gyp ERR! stack Error: `make` failed with exit code: 2
gyp ERR! stack     at ChildProcess.onExit (/Users/home/src/nvm/v0.11.13/lib/node_modules/npm/node_modules/node-gyp/lib/build.js:267:23)
gyp ERR! stack     at ChildProcess.EventEmitter.emit (events.js:110:17)
gyp ERR! stack     at Process.ChildProcess._handle.onexit (child_process.js:1046:12)
gyp ERR! System Darwin 13.1.0
gyp ERR! command "node" "/Users/home/src/nvm/v0.11.13/lib/node_modules/npm/node_modules/node-gyp/bin/node-gyp.js" "rebuild"
gyp ERR! cwd /Users/home/tmp/t/node_modules/node-sass
gyp ERR! node -v v0.11.13
gyp ERR! node-gyp -v v0.13.0
gyp ERR! not ok 
Build failed
npm ERR! node-sass@0.8.6 install: `node build.js`
npm ERR! Exit status 1
npm ERR! 
npm ERR! Failed at the node-sass@0.8.6 install script.
npm ERR! This is most likely a problem with the node-sass package,
npm ERR! not with npm itself.
npm ERR! Tell the author that this fails on your system:
npm ERR!     node build.js
npm ERR! You can get their info via:
npm ERR!     npm owner ls node-sass
npm ERR! There is likely additional logging output above.

npm ERR! System Darwin 13.1.0
npm ERR! command "/Users/home/src/nvm/v0.11.13/bin/node" "/Users/home/src/nvm/v0.11.13/bin/npm" "install" "node-sass"
npm ERR! cwd /Users/home/tmp/t
npm ERR! node -v v0.11.13
npm ERR! npm -v 1.4.9
npm ERR! code ELIFECYCLE
npm ERR! 
npm ERR! Additional logging details can be found in:
npm ERR!     /Users/home/tmp/t/npm-debug.log
npm ERR! not ok code 0
@hiddentao
Copy link
Author

Seeing this in the node-sass Travis CI build too: https://travis-ci.org/andrew/node-sass/jobs/24517252

@andrew
Copy link
Contributor

andrew commented May 6, 2014

Yeah, @jhnns found the same issue #290 (comment), which appears to be because of some breaking changes in 0.11.13 which means we'll need to upgrade nan, I think he's working on a pull request for that.

@hiddentao
Copy link
Author

Awesome, I'll raise a pull request for grunt-sass once done.

On 06/05/2014 8:09pm, Andrew Nesbitt wrote:

Yeah, @jhnns https://github.com/jhnns found the same issue #290
(comment)
#290 (comment),
which appears to be because of some breaking changes in 0.11.13 which
means we'll need to upgrade |nan|, I think he's working on a pull
request for that.


Reply to this email directly or view it on GitHub
#301 (comment).

@jhnns
Copy link
Contributor

jhnns commented May 6, 2014

Yep, I'll open a pull request so you can track the progress.

@jhnns
Copy link
Contributor

jhnns commented May 6, 2014

#302

@ParveenLukha
Copy link

I am still facing a very similar issue on node-sass install
My node version 0.11.12
on Ubuntu OS I am running command

npm install node-sass

after some time it gives error

node build.js

make: Entering directory /home/adminuser/Desktop/livinzone/lz-frontend/node_modules/node-sass/build' CXX(target) Release/obj.target/binding/binding.o make: g++: Command not found make: *** [Release/obj.target/binding/binding.o] Error 127 make: Leaving directory/home/adminuser/Desktop/livinzone/lz-frontend/node_modules/node-sass/build'
gyp ERR! build error
gyp ERR! stack Error: make failed with exit code: 2
gyp ERR! stack at ChildProcess.onExit (/home/adminuser/Downloads/node-v0.11.12-linux-x86/lib/node_modules/npm/node_modules/node-gyp/lib/build.js:267:23)
gyp ERR! stack at ChildProcess.EventEmitter.emit (events.js:107:17)
gyp ERR! stack at Process.ChildProcess._handle.onexit (child_process.js:1045:12)
gyp ERR! System Linux 3.5.0-17-generic
gyp ERR! command "node" "/home/adminuser/Downloads/node-v0.11.12-linux-x86/lib/node_modules/npm/node_modules/node-gyp/bin/node-gyp.js" "rebuild"
gyp ERR! cwd /home/adminuser/Desktop/livinzone/lz-frontend/node_modules/node-sass
gyp ERR! node -v v0.11.12
gyp ERR! node-gyp -v v0.12.2
gyp ERR! not ok
Build failed
npm ERR! node-sass@0.8.6 install: node build.js
npm ERR! Exit status 1
npm ERR!
npm ERR! Failed at the node-sass@0.8.6 install script.
npm ERR! This is most likely a problem with the node-sass package,
npm ERR! not with npm itself.
npm ERR! Tell the author that this fails on your system:
npm ERR! node build.js
npm ERR! You can get their info via:
npm ERR! npm owner ls node-sass
npm ERR! There is likely additional logging output above.

npm ERR! System Linux 3.5.0-17-generic
npm ERR! command "/home/adminuser/Downloads/node-v0.11.12-linux-x86/bin/node" "/home/adminuser/Downloads/node-v0.11.12-linux-x86/bin/npm" "install" "node-sass@v0.8.6"
npm ERR! cwd /home/adminuser/Desktop/livinzone/lz-frontend
npm ERR! node -v v0.11.12
npm ERR! npm -v 1.4.3
npm ERR! code ELIFECYCLE
npm ERR!
npm ERR! Additional logging details can be found in:
npm ERR! /home/adminuser/Desktop/livinzone/lz-frontend/npm-debug.log
npm ERR! not ok code 0

@andrew
Copy link
Contributor

andrew commented Jun 13, 2014

@ParveenLukha based on this comment https://github.com/rvagg/nan#may-2014-major-changes-for-v8-325--node-01113 I don't think you'll ever get it to work with v0.11.12, needs to be at least v0.11.13 or greater.

@ParveenLukha
Copy link

I have installed node v0.11.13 but still facing the same issue.

ules/node-sass

node build.js

gyp http GET http://nodejs.org/dist/v0.11.13/node-v0.11.13.tar.gz
gyp http 200 http://nodejs.org/dist/v0.11.13/node-v0.11.13.tar.gz
gyp http GET http://nodejs.org/dist/v0.11.13/SHASUMS.txt
gyp http 200 http://nodejs.org/dist/v0.11.13/SHASUMS.txt
make: Entering directory /home/adminuser/Desktop/livinzone/lz-frontend/node_modules/node-sass/build' CXX(target) Release/obj.target/binding/binding.o make: g++: Command not found make: *** [Release/obj.target/binding/binding.o] Error 127 make: Leaving directory/home/adminuser/Desktop/livinzone/lz-frontend/node_modules/node-sass/build'
gyp ERR! build error
gyp ERR! stack Error: make failed with exit code: 2
gyp ERR! stack at ChildProcess.onExit (/home/adminuser/Downloads/node-v0.11.13-linux-x86/lib/node_modules/npm/node_modules/node-gyp/lib/build.js:267:23)
gyp ERR! stack at ChildProcess.EventEmitter.emit (events.js:110:17)
gyp ERR! stack at Process.ChildProcess._handle.onexit (child_process.js:1046:12)
gyp ERR! System Linux 3.5.0-17-generic
gyp ERR! command "node" "/home/adminuser/Downloads/node-v0.11.13-linux-x86/lib/node_modules/npm/node_modules/node-gyp/bin/node-gyp.js" "rebuild"
gyp ERR! cwd /home/adminuser/Desktop/livinzone/lz-frontend/node_modules/node-sass
gyp ERR! node -v v0.11.13
gyp ERR! node-gyp -v v0.13.0
gyp ERR! not ok
Build failed
npm ERR! node-sass@0.9.2 install: node build.js
npm ERR! Exit status 1
npm ERR!
npm ERR! Failed at the node-sass@0.9.2 install script.
npm ERR! This is most likely a problem with the node-sass package,
npm ERR! not with npm itself.
npm ERR! Tell the author that this fails on your system:
npm ERR! node build.js
npm ERR! You can get their info via:
npm ERR! npm owner ls node-sass
npm ERR! There is likely additional logging output above.

npm ERR! System Linux 3.5.0-17-generic
npm ERR! command "/home/adminuser/Downloads/node-v0.11.13-linux-x86/bin/node" "/home/adminuser/Downloads/node-v0.11.13-linux-x86/bin/npm" "install" "node-sass"
npm ERR! cwd /home/adminuser/Desktop/livinzone/lz-frontend
npm ERR! node -v v0.11.13
npm ERR! npm -v 1.4.9
npm ERR! code ELIFECYCLE
npm ERR!
npm ERR! Additional logging details can be found in:
npm ERR! /home/adminuser/Desktop/livinzone/lz-frontend/npm-debug.log
npm ERR! not ok code 0

@ParveenLukha
Copy link

Hi Andrew
Please do let me know if any other version of Node will help me.
Thanks for helping.

@ParveenLukha
Copy link

@andrew I feel that this can be issue of node-sass module
As mentioned on Unitech/pm2#450 it had the similar issue which is resolved now.Can you please have a look and help me install node-sass.

@andrew
Copy link
Contributor

andrew commented Jun 16, 2014

Can you give this a try with v0.9.3: https://github.com/sass/node-sass/releases/tag/v0.9.3

@hiddentao
Copy link
Author

Works for me in node 0.11.13 on OS X. Just got one minor warning:

../libsass/functions.cpp:939:17: warning: comparison of unsigned expression < 0 is always false [-Wtautological-compare]
      if (index < 0 || index > l->length() - 1) error("index out of bounds for `" + string(sig) + "`", path, position);
          ~~~~~ ^ ~

@andrew
Copy link
Contributor

andrew commented Jun 16, 2014

@hiddentao I believe that's been fixed here: sass/libsass#401 we'll roll it into a future version.

@aral
Copy link

aral commented Aug 17, 2014

Also an issue with node-gyp (I got it while installing Gaze).

@appdevdesigns
Copy link

I still have the issue. I was installing email-templates and received the following errors :

> node-sass@0.8.6 install /home1/[snip]/email-templates/node_modules/node-sass
> node build.js

make: Entering directory `/home1/[snip]/email-templates/node_modules/node-sass/build'
  CXX(target) Release/obj.target/binding/binding.o
In file included from ../binding.cpp:1:
../node_modules/nan/nan.h: In function ‘v8::Handle<v8::Value> NanError(const char*)’:
../node_modules/nan/nan.h:339: error: ‘New’ is not a member of ‘v8::String’
../node_modules/nan/nan.h: In function ‘void NanThrowError(const char*)’:
../node_modules/nan/nan.h:343: error: ‘ThrowException’ is not a member of ‘v8’
../node_modules/nan/nan.h:343: error: ‘New’ is not a member of ‘v8::String’
../node_modules/nan/nan.h: In function ‘void NanThrowError(v8::Handle<v8::Value>)’:
../node_modules/nan/nan.h:348: error: ‘ThrowException’ is not a member of ‘v8’
../node_modules/nan/nan.h: In function ‘v8::Handle<v8::Value> NanError(const char*, int)’:
../node_modules/nan/nan.h:355: error: ‘New’ is not a member of ‘v8::String’
../node_modules/nan/nan.h:357: error: ‘New’ is not a member of ‘v8::String’
../node_modules/nan/nan.h:357: error: no matching function for call to ‘v8::Integer::New(const int&)’
/home1/appdevde/.node-gyp/0.11.13/deps/v8/include/v8.h:2074: note: candidates are: static v8::Local<v8::Integer> v8::Integer::New(v8::Isolate*, int32_t)
../node_modules/nan/nan.h: In function ‘v8::Handle<v8::Value> NanTypeError(const char*)’:
../node_modules/nan/nan.h:369: error: ‘New’ is not a member of ‘v8::String’
../node_modules/nan/nan.h: In function ‘void NanThrowTypeError(const char*)’:
../node_modules/nan/nan.h:373: error: ‘ThrowException’ is not a member of ‘v8’
../node_modules/nan/nan.h:373: error: ‘New’ is not a member of ‘v8::String’
../node_modules/nan/nan.h: In function ‘v8::Handle<v8::Value> NanRangeError(const char*)’:
../node_modules/nan/nan.h:377: error: ‘New’ is not a member of ‘v8::String’
../node_modules/nan/nan.h: In function ‘void NanThrowRangeError(const char*)’:
../node_modules/nan/nan.h:381: error: ‘ThrowException’ is not a member of ‘v8’
../node_modules/nan/nan.h:381: error: ‘New’ is not a member of ‘v8::String’
../node_modules/nan/nan.h: In constructor ‘NanCallback::NanCallback()’:
../node_modules/nan/nan.h:727: error: no matching function for call to ‘v8::Object::New()’
/home1/appdevde/.node-gyp/0.11.13/deps/v8/include/v8.h:2457: note: candidates are: static v8::Local<v8::Object> v8::Object::New(v8::Isolate*)
../node_modules/nan/nan.h: In constructor ‘NanCallback::NanCallback(const v8::Handle<v8::Function>&)’:
../node_modules/nan/nan.h:733: error: no matching function for call to ‘v8::Object::New()’
/home1/appdevde/.node-gyp/0.11.13/deps/v8/include/v8.h:2457: note: candidates are: static v8::Local<v8::Object> v8::Object::New(v8::Isolate*)
../node_modules/nan/nan.h: In destructor ‘NanCallback::~NanCallback()’:
../node_modules/nan/nan.h:740: error: ‘class v8::Persistent<v8::Object, v8::NonCopyablePersistentTraits<v8::Object> >’ has no member named ‘Dispose’
../node_modules/nan/nan.h:741: error: ‘class v8::Persistent<v8::Object, v8::NonCopyablePersistentTraits<v8::Object> >’ has no member named ‘Clear’
../node_modules/nan/nan.h: In member function ‘void NanCallback::SetFunction(const v8::Handle<v8::Function>&)’:
../node_modules/nan/nan.h:746: error: ‘NewSymbol’ is not a member of ‘v8::String’
../node_modules/nan/nan.h: In member function ‘v8::Local<v8::Function> NanCallback::GetFunction()’:
../node_modules/nan/nan.h:750: error: ‘NewSymbol’ is not a member of ‘v8::String’
../node_modules/nan/nan.h:751: error: expected primary-expression before ‘>’ token
../node_modules/nan/nan.h:751: error: expected primary-expression before ‘)’ token
../node_modules/nan/nan.h: In member function ‘void NanCallback::Call(int, v8::Handle<v8::Value>*)’:
../node_modules/nan/nan.h:759: error: ‘NewSymbol’ is not a member of ‘v8::String’
../node_modules/nan/nan.h:759: error: expected primary-expression before ‘>’ token
../node_modules/nan/nan.h:759: error: expected primary-expression before ‘)’ token
../node_modules/nan/nan.h:761: error: ‘GetCurrent’ is not a member of ‘v8::Context’
../node_modules/nan/nan.h: In member function ‘void NanAsyncWorker::SavePersistent(const char*, v8::Local<v8::Object>&)’:
../node_modules/nan/nan.h:808: error: ‘NewSymbol’ is not a member of ‘v8::String’
../node_modules/nan/nan.h: In member function ‘v8::Local<v8::Object> NanAsyncWorker::GetFromPersistent(const char*)’:
../node_modules/nan/nan.h:815: error: ‘NewSymbol’ is not a member of ‘v8::String’
../node_modules/nan/nan.h:815: error: expected primary-expression before ‘>’ token
../node_modules/nan/nan.h:815: error: expected primary-expression before ‘)’ token
../node_modules/nan/nan.h: In member function ‘virtual void NanAsyncWorker::HandleErrorCallback()’:
../node_modules/nan/nan.h:837: error: ‘New’ is not a member of ‘v8::String’
../binding.cpp: In function ‘void extractOptions(const v8::FunctionCallbackInfo<v8::Value>&, void*, sass_context_wrapper*, bool)’:
../binding.cpp:29: error: ‘AsciiValue’ is not a member of ‘v8::String’
../binding.cpp:29: error: expected ‘;’ before ‘astr’
../binding.cpp:31: error: ‘AsciiValue’ is not a member of ‘v8::String’
../binding.cpp:31: error: expected ‘;’ before ‘bstr’
../binding.cpp:32: error: ‘bstr’ was not declared in this scope
../binding.cpp:49: error: ‘AsciiValue’ is not a member of ‘v8::String’
../binding.cpp:49: error: expected ‘;’ before ‘cstr’
../binding.cpp:50: error: ‘cstr’ was not declared in this scope
../binding.cpp:56: error: ‘AsciiValue’ is not a member of ‘v8::String’
../binding.cpp:56: error: expected ‘;’ before ‘cstr’
../binding.cpp:57: error: ‘cstr’ was not declared in this scope
../binding.cpp:63: error: ‘astr’ was not declared in this scope
../binding.cpp:71: error: ‘AsciiValue’ is not a member of ‘v8::String’
../binding.cpp:71: error: expected ‘;’ before ‘dstr’
../binding.cpp:72: error: ‘dstr’ was not declared in this scope
../binding.cpp:77: error: ‘astr’ was not declared in this scope
../binding.cpp: In function ‘void MakeCallback(uv_work_t*)’:
../binding.cpp:99: error: ‘New’ is not a member of ‘v8::String’
/home1/appdevde/.node-gyp/0.11.13/deps/v8/include/v8.h:6550: error: too few arguments to function ‘v8::Handle<v8::Primitive> v8::Null(v8::Isolate*)’
../binding.cpp:101: error: at this point in file
../binding.cpp:104: error: ‘New’ is not a member of ‘v8::String’
../binding.cpp:104: error: ‘New’ is not a member of ‘v8::String’
../binding.cpp:112: error: ‘New’ is not a member of ‘v8::String’
../binding.cpp:112: error: ‘New’ is not a member of ‘v8::String’
../binding.cpp:115: error: no matching function for call to ‘v8::Integer::New(int&)’
/home1/appdevde/.node-gyp/0.11.13/deps/v8/include/v8.h:2074: note: candidates are: static v8::Local<v8::Integer> v8::Integer::New(v8::Isolate*, int32_t)
../binding.cpp: In function ‘void RenderSync(const v8::FunctionCallbackInfo<v8::Value>&)’:
../binding.cpp:156: error: ‘New’ is not a member of ‘v8::String’
../binding.cpp:161: error: ‘New’ is not a member of ‘v8::String’
../binding.cpp: In function ‘void RenderFileSync(const v8::FunctionCallbackInfo<v8::Value>&)’:
../binding.cpp:194: error: ‘New’ is not a member of ‘v8::String’
../binding.cpp:199: error: ‘New’ is not a member of ‘v8::String’
In file included from ../binding.cpp:1:
../node_modules/nan/nan.h: In function ‘void NanDisposePersistent(v8::Persistent<T, v8::NonCopyablePersistentTraits<T> >&) [with T = v8::Object]’:
../node_modules/nan/nan.h:786:   instantiated from here
../node_modules/nan/nan.h:394: error: ‘class v8::Persistent<v8::Object, v8::NonCopyablePersistentTraits<v8::Object> >’ has no member named ‘Clear’
make: *** [Release/obj.target/binding/binding.o] Error 1
make: Leaving directory `/home1/[snip]/email-templates/node_modules/node-sass/build'
gyp ERR! build error 
gyp ERR! stack Error: `make` failed with exit code: 2
gyp ERR! stack     at ChildProcess.onExit (/home1/appdevde/node/lib/node_modules/npm/node_modules/node-gyp/lib/build.js:267:23)
gyp ERR! stack     at ChildProcess.EventEmitter.emit (events.js:110:17)
gyp ERR! stack     at Process.ChildProcess._handle.onexit (child_process.js:1046:12)
gyp ERR! System Linux 3.4.87-20140414.1.bh6.x86_64
gyp ERR! command "node" "/home1/appdevde/node/lib/node_modules/npm/node_modules/node-gyp/bin/node-gyp.js" "rebuild"
gyp ERR! cwd /home1/[snip]/email-templates/node_modules/node-sass
gyp ERR! node -v v0.11.13
gyp ERR! node-gyp -v v0.13.0
gyp ERR! not ok 
Build failed
npm ERR! node-sass@0.8.6 install: `node build.js`
npm ERR! Exit status 1
npm ERR! 
npm ERR! Failed at the node-sass@0.8.6 install script.
npm ERR! This is most likely a problem with the node-sass package,
npm ERR! not with npm itself.
npm ERR! Tell the author that this fails on your system:
npm ERR!     node build.js
npm ERR! You can get their info via:
npm ERR!     npm owner ls node-sass
npm ERR! There is likely additional logging output above.

npm ERR! System Linux 3.4.87-20140414.1.bh6.x86_64
npm ERR! command "/home/appdevde/node/bin/node" "/home/appdevde/node/bin/npm" "install" "--save" "appdevdesigns/opstool-mpdReport"
npm ERR! cwd /home1/appdevde/appdev_test
npm ERR! node -v v0.11.13
npm ERR! npm -v 1.4.9
npm ERR! code ELIFECYCLE
npm ERR! 
npm ERR! Additional logging details can be found in:
npm ERR!     /home1/appdevde/appdev_test/npm-debug.log
npm ERR! not ok code 0

@michaek
Copy link

michaek commented Sep 3, 2014

@appdevdesigns Your error message suggests that you're getting node-sass 0.8.6 from npm, and @andrew suggests using 0.9.3 above. As the current version of node-email-templates (1.1.1) depends on 0.9.3, it may be that the version of node-email-templates you're installing is out-of-date?

@appdevdesigns
Copy link

Thanks michaek. You were right. upgrading our node-email-templates did the trick!

@am11
Copy link
Contributor

am11 commented Oct 22, 2014

Lets track this issue at #467.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

7 participants