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

Build Failed on Node v0.11.10 #365

Closed
Subash opened this issue Jul 11, 2014 · 1 comment
Closed

Build Failed on Node v0.11.10 #365

Subash opened this issue Jul 11, 2014 · 1 comment

Comments

@Subash
Copy link

Subash commented Jul 11, 2014

Subash@Subash-MacBook:~$ npm install node-sass
npm http GET https://registry.npmjs.org/node-sass
npm http 200 https://registry.npmjs.org/node-sass
npm http GET https://registry.npmjs.org/mocha
npm http GET https://registry.npmjs.org/nan
npm http GET https://registry.npmjs.org/node-watch
npm http GET https://registry.npmjs.org/object-assign
npm http GET https://registry.npmjs.org/optimist
npm http GET https://registry.npmjs.org/shelljs
npm http GET https://registry.npmjs.org/sinon
npm http GET https://registry.npmjs.org/node-sass-middleware
npm http GET https://registry.npmjs.org/chalk
npm http GET https://registry.npmjs.org/mkdirp
npm http 200 https://registry.npmjs.org/mocha
npm http 200 https://registry.npmjs.org/nan
npm http 200 https://registry.npmjs.org/sinon
npm http 200 https://registry.npmjs.org/chalk
npm http 200 https://registry.npmjs.org/node-sass-middleware
npm http 200 https://registry.npmjs.org/mkdirp
npm http 200 https://registry.npmjs.org/object-assign
npm http 200 https://registry.npmjs.org/shelljs
npm http 200 https://registry.npmjs.org/node-watch
npm http 200 https://registry.npmjs.org/optimist
npm http GET https://registry.npmjs.org/strip-ansi
npm http GET https://registry.npmjs.org/has-color
npm http GET https://registry.npmjs.org/ansi-styles
npm http GET https://registry.npmjs.org/wordwrap
npm http GET https://registry.npmjs.org/minimist
npm http GET https://registry.npmjs.org/minimist/0.0.8
npm http GET https://registry.npmjs.org/commander/2.0.0
npm http GET https://registry.npmjs.org/growl
npm http GET https://registry.npmjs.org/jade/0.26.3
npm http GET https://registry.npmjs.org/diff/1.0.7
npm http GET https://registry.npmjs.org/debug
npm http GET https://registry.npmjs.org/glob/3.2.3
npm http GET https://registry.npmjs.org/formatio
npm http GET https://registry.npmjs.org/util
npm http 200 https://registry.npmjs.org/strip-ansi
npm http 200 https://registry.npmjs.org/ansi-styles
npm http 200 https://registry.npmjs.org/has-color
npm http 200 https://registry.npmjs.org/wordwrap
npm http 200 https://registry.npmjs.org/glob/3.2.3
npm http GET https://registry.npmjs.org/glob/-/glob-3.2.3.tgz
npm http 200 https://registry.npmjs.org/commander/2.0.0
npm http 200 https://registry.npmjs.org/jade/0.26.3
npm http GET https://registry.npmjs.org/jade/-/jade-0.26.3.tgz
npm http GET https://registry.npmjs.org/commander/-/commander-2.0.0.tgz
npm http 200 https://registry.npmjs.org/growl
npm http 200 https://registry.npmjs.org/minimist/0.0.8
npm http GET https://registry.npmjs.org/minimist/-/minimist-0.0.8.tgz
npm http 200 https://registry.npmjs.org/diff/1.0.7
npm http GET https://registry.npmjs.org/diff/-/diff-1.0.7.tgz
npm http 200 https://registry.npmjs.org/util
npm http 200 https://registry.npmjs.org/minimist
npm http 200 https://registry.npmjs.org/debug
npm http 200 https://registry.npmjs.org/formatio
npm http GET https://registry.npmjs.org/samsam
npm http GET https://registry.npmjs.org/inherits/2.0.1
npm http 200 https://registry.npmjs.org/glob/-/glob-3.2.3.tgz
npm http 200 https://registry.npmjs.org/minimist/-/minimist-0.0.8.tgz
npm http 200 https://registry.npmjs.org/commander/-/commander-2.0.0.tgz
npm http 200 https://registry.npmjs.org/jade/-/jade-0.26.3.tgz
npm http 200 https://registry.npmjs.org/diff/-/diff-1.0.7.tgz
npm http 200 https://registry.npmjs.org/inherits/2.0.1
npm http GET https://registry.npmjs.org/inherits/-/inherits-2.0.1.tgz
npm http 200 https://registry.npmjs.org/samsam
npm http GET https://registry.npmjs.org/ms/0.6.2
npm http GET https://registry.npmjs.org/minimatch
npm http GET https://registry.npmjs.org/graceful-fs
npm http GET https://registry.npmjs.org/inherits
npm http GET https://registry.npmjs.org/commander/0.6.1
npm http GET https://registry.npmjs.org/mkdirp/0.3.0
npm http 200 https://registry.npmjs.org/inherits/-/inherits-2.0.1.tgz
npm http 200 https://registry.npmjs.org/inherits
npm http 200 https://registry.npmjs.org/ms/0.6.2
npm http GET https://registry.npmjs.org/ms/-/ms-0.6.2.tgz
npm http 200 https://registry.npmjs.org/commander/0.6.1
npm http GET https://registry.npmjs.org/commander/-/commander-0.6.1.tgz
npm http 200 https://registry.npmjs.org/mkdirp/0.3.0
npm http GET https://registry.npmjs.org/mkdirp/-/mkdirp-0.3.0.tgz
npm http 200 https://registry.npmjs.org/graceful-fs
npm http 200 https://registry.npmjs.org/minimatch
npm http GET https://registry.npmjs.org/lru-cache
npm http GET https://registry.npmjs.org/sigmund
npm http 200 https://registry.npmjs.org/ms/-/ms-0.6.2.tgz
npm http 200 https://registry.npmjs.org/mkdirp/-/mkdirp-0.3.0.tgz
npm http 200 https://registry.npmjs.org/sigmund
npm http 200 https://registry.npmjs.org/lru-cache
npm http 200 https://registry.npmjs.org/commander/-/commander-0.6.1.tgz

> node-sass@0.9.3 install /Users/Subash/node_modules/node-sass
> node build.js

gyp http GET http://nodejs.org/dist/v0.11.10/node-v0.11.10.tar.gz
gyp http 200 http://nodejs.org/dist/v0.11.10/node-v0.11.10.tar.gz
  CXX(target) Release/obj.target/binding/binding.o
In file included from ../binding.cpp:1:
../node_modules/nan/nan.h:337:60: error: too many arguments to function call,
      expected at most 3, have 4
    return v8::Signature::New(nan_isolate, receiver, argc, argv);
           ~~~~~~~~~~~~~~~~~~                              ^~~~
/Users/Subash/.node-gyp/0.11.10/deps/v8/include/v8.h:3585:3: note: 'New'
      declared here
  static Local<Signature> New(Handle<FunctionTemplate> receiver =
  ^
In file included from ../binding.cpp:1:
../node_modules/nan/nan.h:365:27: error: cannot initialize a parameter of type
      'int' with an lvalue of type 'v8::Isolate *'
    return v8::Array::New(nan_isolate);
                          ^~~~~~~~~~~
/Users/Subash/.node-gyp/0.11.10/deps/v8/include/v8.h:2335:31: note: passing
      argument to parameter 'length' here
  static Local<Array> New(int length = 0);
                              ^
In file included from ../binding.cpp:1:
../node_modules/nan/nan.h:370:40: error: too many arguments to function call,
      expected at most single argument 'length', have 2 arguments
    return v8::Array::New(nan_isolate, length);
           ~~~~~~~~~~~~~~              ^~~~~~
/Users/Subash/.node-gyp/0.11.10/deps/v8/include/v8.h:2335:3: note: 'New'
      declared here
  static Local<Array> New(int length = 0);
  ^
In file included from ../binding.cpp:1:
../node_modules/nan/nan.h:375:39: error: too many arguments to function call,
      expected single argument 'time', have 2 arguments
    return v8::Date::New(nan_isolate, time).As<v8::Date>();
           ~~~~~~~~~~~~~              ^~~~
/Users/Subash/.node-gyp/0.11.10/deps/v8/include/v8.h:2866:3: note: 'New'
      declared here
  static Local<Value> New(double time);
  ^
In file included from ../binding.cpp:1:
../node_modules/nan/nan.h:375:56: error: expected '(' for function-style cast or
      type construction
    return v8::Date::New(nan_isolate, time).As<v8::Date>();
                                               ~~~~~~~~^
../node_modules/nan/nan.h:375:58: error: expected expression
    return v8::Date::New(nan_isolate, time).As<v8::Date>();
                                                         ^
../node_modules/nan/nan.h:380:39: error: too many arguments to function call,
      expected single argument 'time', have 2 arguments
    return v8::Date::New(nan_isolate, time).As<v8::Date>();
           ~~~~~~~~~~~~~              ^~~~
/Users/Subash/.node-gyp/0.11.10/deps/v8/include/v8.h:2866:3: note: 'New'
      declared here
  static Local<Value> New(double time);
  ^
In file included from ../binding.cpp:1:
../node_modules/nan/nan.h:380:56: error: expected '(' for function-style cast or
      type construction
    return v8::Date::New(nan_isolate, time).As<v8::Date>();
                                               ~~~~~~~~^
../node_modules/nan/nan.h:380:58: error: expected expression
    return v8::Date::New(nan_isolate, time).As<v8::Date>();
                                                         ^
../node_modules/nan/nan.h:383:15: error: no type named 'UnboundScript' in
      namespace 'v8'
  typedef v8::UnboundScript NanUnboundScript;
          ~~~~^
../node_modules/nan/nan.h:391:9: error: no member named 'ScriptCompiler' in
      namespace 'v8'
    v8::ScriptCompiler::Source source(s, origin);
    ~~~~^
../node_modules/nan/nan.h:392:16: error: no member named 'ScriptCompiler' in
      namespace 'v8'
    return v8::ScriptCompiler::CompileUnbound(nan_isolate, &source);
           ~~~~^
../node_modules/nan/nan.h:392:61: error: use of undeclared identifier 'source';
      did you mean 'v8::Extension::source'?
  ...v8::ScriptCompiler::CompileUnbound(nan_isolate, &source);
                                                      ^~~~~~
                                                      v8::Extension::source
/Users/Subash/.node-gyp/0.11.10/deps/v8/include/v8.h:3712:46: note: 
      'v8::Extension::source' declared here
  const String::ExternalAsciiStringResource* source() const {
                                             ^
In file included from ../binding.cpp:1:
../node_modules/nan/nan.h:392:60: error: must explicitly qualify name of member
      function when taking its address
    return v8::ScriptCompiler::CompileUnbound(nan_isolate, &source);
                                                           ^~~~~~~
                                                            Extension::
../node_modules/nan/nan.h:399:9: error: no member named 'ScriptCompiler' in
      namespace 'v8'
    v8::ScriptCompiler::Source source(s);
    ~~~~^
../node_modules/nan/nan.h:400:16: error: no member named 'ScriptCompiler' in
      namespace 'v8'
    return v8::ScriptCompiler::CompileUnbound(nan_isolate, &source);
           ~~~~^
../node_modules/nan/nan.h:400:61: error: use of undeclared identifier 'source';
      did you mean 'v8::Extension::source'?
  ...v8::ScriptCompiler::CompileUnbound(nan_isolate, &source);
                                                      ^~~~~~
                                                      v8::Extension::source
/Users/Subash/.node-gyp/0.11.10/deps/v8/include/v8.h:3712:46: note: 
      'v8::Extension::source' declared here
  const String::ExternalAsciiStringResource* source() const {
                                             ^
In file included from ../binding.cpp:1:
../node_modules/nan/nan.h:400:60: error: must explicitly qualify name of member
      function when taking its address
    return v8::ScriptCompiler::CompileUnbound(nan_isolate, &source);
                                                           ^~~~~~~
                                                            Extension::
../node_modules/nan/nan.h:405:12: error: no matching function for call to
      'NewExternal'
    return v8::String::NewExternal(nan_isolate, resource);
           ^~~~~~~~~~~~~~~~~~~~~~~
/Users/Subash/.node-gyp/0.11.10/deps/v8/include/v8.h:1791:24: note: candidate
      function not viable: requires single argument 'resource', but 2 arguments
      were provided
  static Local<String> NewExternal(ExternalStringResource* resource);
                       ^
/Users/Subash/.node-gyp/0.11.10/deps/v8/include/v8.h:1812:24: note: candidate
      function not viable: requires single argument 'resource', but 2 arguments
      were provided
  static Local<String> NewExternal(ExternalAsciiStringResource* resource);
                       ^
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/Subash/.nvm/v0.11.10/lib/node_modules/npm/node_modules/node-gyp/lib/build.js:267:23)
gyp ERR! stack     at ChildProcess.EventEmitter.emit (events.js:104:17)
gyp ERR! stack     at Process.ChildProcess._handle.onexit (child_process.js:862:12)
gyp ERR! System Darwin 13.3.0
gyp ERR! command "node" "/Users/Subash/.nvm/v0.11.10/lib/node_modules/npm/node_modules/node-gyp/bin/node-gyp.js" "rebuild"
gyp ERR! cwd /Users/Subash/node_modules/node-sass
gyp ERR! node -v v0.11.10
gyp ERR! node-gyp -v v0.12.1
gyp ERR! not ok 
Build failed
npm ERR! node-sass@0.9.3 install: `node build.js`
npm ERR! Exit status 1
npm ERR! 
npm ERR! Failed at the node-sass@0.9.3 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.3.0
npm ERR! command "/Users/Subash/.nvm/v0.11.10/bin/node" "/Users/Subash/.nvm/v0.11.10/bin/npm" "install" "node-sass"
npm ERR! cwd /Users/Subash
npm ERR! node -v v0.11.10
npm ERR! npm -v 1.3.22
npm ERR! code ELIFECYCLE
npm ERR! 
npm ERR! Additional logging details can be found in:
npm ERR!     /Users/Subash/npm-debug.log
npm ERR! not ok code 0
@Subash
Copy link
Author

Subash commented Jul 11, 2014

I guess duplicate of #301, You might wanna close this.

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

2 participants