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

Getting a ton of error messages when I try "npm install --save-dev grunt-sass" #143

Closed
zakdances opened this issue Aug 14, 2013 · 1 comment

Comments

@zakdances
Copy link

I'm using nodejs v.0.11.5, npm v.1.3.7, and grunt 0.4.1.

Here we go:

zak$ npm install --save-dev grunt-sass
npm WARN package.json MyProject@0.0.0 No repository field.
npm WARN package.json MyProject@0.0.0 No README data
npm http GET https://registry.npmjs.org/grunt-sass
npm http 304 https://registry.npmjs.org/grunt-sass
npm http GET https://registry.npmjs.org/node-sass
npm http GET https://registry.npmjs.org/grunt-lib-contrib
npm http 304 https://registry.npmjs.org/grunt-lib-contrib
npm http 304 https://registry.npmjs.org/node-sass
npm http GET https://registry.npmjs.org/zlib-browserify/0.0.1
npm http 304 https://registry.npmjs.org/zlib-browserify/0.0.1
npm http GET https://registry.npmjs.org/mkdirp
npm http GET https://registry.npmjs.org/colors/0.6.0-1
npm http GET https://registry.npmjs.org/optimist
npm http 304 https://registry.npmjs.org/mkdirp
npm http 304 https://registry.npmjs.org/colors/0.6.0-1
npm http 304 https://registry.npmjs.org/optimist
npm http GET https://registry.npmjs.org/wordwrap
npm http 304 https://registry.npmjs.org/wordwrap

> node-sass@0.6.4 install /Users/zak/MyProject/node_modules/grunt-sass/node_modules/node-sass
> node rebuild.js

  CXX(target) Release/obj.target/binding/binding.o
../binding.cpp:33:24: error: 'operator->' is a private member of 'v8::Persistent<v8::Function>'
        ctx_w->callback->Call(Context::GetCurrent()->Global(), argc, argv);
        ~~~~~~~~~~~~~~~^
/Users/zak/.node-gyp/0.11.5/deps/v8/include/v8.h:771:16: note: declared private here
  V8_INLINE(T* operator->() const) { return val_; }
               ^
/Users/zak/.node-gyp/0.11.5/deps/v8/include/v8.h:80:69: note: expanded from macro 'V8_INLINE'
#define V8_INLINE(declarator) inline __attribute__((always_inline)) declarator
                                                                    ^
../binding.cpp:41:24: error: 'operator->' is a private member of 'v8::Persistent<v8::Function>'
        ctx_w->callback->Call(Context::GetCurrent()->Global(), argc, argv);
        ~~~~~~~~~~~~~~~^
/Users/zak/.node-gyp/0.11.5/deps/v8/include/v8.h:771:16: note: declared private here
  V8_INLINE(T* operator->() const) { return val_; }
               ^
/Users/zak/.node-gyp/0.11.5/deps/v8/include/v8.h:80:69: note: expanded from macro 'V8_INLINE'
#define V8_INLINE(declarator) inline __attribute__((always_inline)) declarator
                                                                    ^
../binding.cpp:69:45: error: 'New' is a private member of 'v8::Persistent<v8::Function>'
    ctx_w->callback = Persistent<Function>::New(callback);
                                            ^
/Users/zak/.node-gyp/0.11.5/deps/v8/include/v8.h:782:23: note: declared private here
  V8_INLINE(static T* New(Isolate* isolate, T* that));
                      ^
/Users/zak/.node-gyp/0.11.5/deps/v8/include/v8.h:80:69: note: expanded from macro 'V8_INLINE'
#define V8_INLINE(declarator) inline __attribute__((always_inline)) declarator
                                                                    ^
../binding.cpp:69:57: error: too few arguments to function call, expected 2, have 1
    ctx_w->callback = Persistent<Function>::New(callback);
                      ~~~~~~~~~~~~~~~~~~~~~~~~~         ^
/Users/zak/.node-gyp/0.11.5/deps/v8/include/v8.h:782:3: note: 'New' declared here
  V8_INLINE(static T* New(Isolate* isolate, T* that));
  ^
/Users/zak/.node-gyp/0.11.5/deps/v8/include/v8.h:80:31: note: expanded from macro 'V8_INLINE'
#define V8_INLINE(declarator) inline __attribute__((always_inline)) declarator
                              ^
../binding.cpp:91:24: error: 'operator->' is a private member of 'v8::Persistent<v8::Function>'
        ctx_w->callback->Call(Context::GetCurrent()->Global(), argc, argv);
        ~~~~~~~~~~~~~~~^
/Users/zak/.node-gyp/0.11.5/deps/v8/include/v8.h:771:16: note: declared private here
  V8_INLINE(T* operator->() const) { return val_; }
               ^
/Users/zak/.node-gyp/0.11.5/deps/v8/include/v8.h:80:69: note: expanded from macro 'V8_INLINE'
#define V8_INLINE(declarator) inline __attribute__((always_inline)) declarator
                                                                    ^
../binding.cpp:99:29: error: 'operator->' is a private member of 'v8::Persistent<v8::Function>'
        ctx_w->errorCallback->Call(Context::GetCurrent()->Global(), argc, argv);
        ~~~~~~~~~~~~~~~~~~~~^
/Users/zak/.node-gyp/0.11.5/deps/v8/include/v8.h:771:16: note: declared private here
  V8_INLINE(T* operator->() const) { return val_; }
               ^
/Users/zak/.node-gyp/0.11.5/deps/v8/include/v8.h:80:69: note: expanded from macro 'V8_INLINE'
#define V8_INLINE(declarator) inline __attribute__((always_inline)) declarator
                                                                    ^
../binding.cpp:128:45: error: 'New' is a private member of 'v8::Persistent<v8::Function>'
    ctx_w->callback = Persistent<Function>::New(callback);
                                            ^
/Users/zak/.node-gyp/0.11.5/deps/v8/include/v8.h:782:23: note: declared private here
  V8_INLINE(static T* New(Isolate* isolate, T* that));
                      ^
/Users/zak/.node-gyp/0.11.5/deps/v8/include/v8.h:80:69: note: expanded from macro 'V8_INLINE'
#define V8_INLINE(declarator) inline __attribute__((always_inline)) declarator
                                                                    ^
../binding.cpp:128:57: error: too few arguments to function call, expected 2, have 1
    ctx_w->callback = Persistent<Function>::New(callback);
                      ~~~~~~~~~~~~~~~~~~~~~~~~~         ^
/Users/zak/.node-gyp/0.11.5/deps/v8/include/v8.h:782:3: note: 'New' declared here
  V8_INLINE(static T* New(Isolate* isolate, T* that));
  ^
/Users/zak/.node-gyp/0.11.5/deps/v8/include/v8.h:80:31: note: expanded from macro 'V8_INLINE'
#define V8_INLINE(declarator) inline __attribute__((always_inline)) declarator
                              ^
../binding.cpp:129:50: error: 'New' is a private member of 'v8::Persistent<v8::Function>'
    ctx_w->errorCallback = Persistent<Function>::New(errorCallback);
                                                 ^
/Users/zak/.node-gyp/0.11.5/deps/v8/include/v8.h:782:23: note: declared private here
  V8_INLINE(static T* New(Isolate* isolate, T* that));
                      ^
/Users/zak/.node-gyp/0.11.5/deps/v8/include/v8.h:80:69: note: expanded from macro 'V8_INLINE'
#define V8_INLINE(declarator) inline __attribute__((always_inline)) declarator
                                                                    ^
../binding.cpp:129:67: error: too few arguments to function call, expected 2, have 1
    ctx_w->errorCallback = Persistent<Function>::New(errorCallback);
                           ~~~~~~~~~~~~~~~~~~~~~~~~~              ^
/Users/zak/.node-gyp/0.11.5/deps/v8/include/v8.h:782:3: note: 'New' declared here
  V8_INLINE(static T* New(Isolate* isolate, T* that));
  ^
/Users/zak/.node-gyp/0.11.5/deps/v8/include/v8.h:80:31: note: expanded from macro 'V8_INLINE'
#define V8_INLINE(declarator) inline __attribute__((always_inline)) declarator
                              ^
../binding.cpp:200:24: error: 'operator->' is a private member of 'v8::Persistent<v8::Function>'
        ctx_w->callback->Call(Context::GetCurrent()->Global(), argc, argv);
        ~~~~~~~~~~~~~~~^
/Users/zak/.node-gyp/0.11.5/deps/v8/include/v8.h:771:16: note: declared private here
  V8_INLINE(T* operator->() const) { return val_; }
               ^
/Users/zak/.node-gyp/0.11.5/deps/v8/include/v8.h:80:69: note: expanded from macro 'V8_INLINE'
#define V8_INLINE(declarator) inline __attribute__((always_inline)) declarator
                                                                    ^
../binding.cpp:208:29: error: 'operator->' is a private member of 'v8::Persistent<v8::Function>'
        ctx_w->errorCallback->Call(Context::GetCurrent()->Global(), argc, argv);
        ~~~~~~~~~~~~~~~~~~~~^
/Users/zak/.node-gyp/0.11.5/deps/v8/include/v8.h:771:16: note: declared private here
  V8_INLINE(T* operator->() const) { return val_; }
               ^
/Users/zak/.node-gyp/0.11.5/deps/v8/include/v8.h:80:69: note: expanded from macro 'V8_INLINE'
#define V8_INLINE(declarator) inline __attribute__((always_inline)) declarator
                                                                    ^
../binding.cpp:237:45: error: 'New' is a private member of 'v8::Persistent<v8::Function>'
    ctx_w->callback = Persistent<Function>::New(callback);
                                            ^
/Users/zak/.node-gyp/0.11.5/deps/v8/include/v8.h:782:23: note: declared private here
  V8_INLINE(static T* New(Isolate* isolate, T* that));
                      ^
/Users/zak/.node-gyp/0.11.5/deps/v8/include/v8.h:80:69: note: expanded from macro 'V8_INLINE'
#define V8_INLINE(declarator) inline __attribute__((always_inline)) declarator
                                                                    ^
../binding.cpp:237:57: error: too few arguments to function call, expected 2, have 1
    ctx_w->callback = Persistent<Function>::New(callback);
                      ~~~~~~~~~~~~~~~~~~~~~~~~~         ^
/Users/zak/.node-gyp/0.11.5/deps/v8/include/v8.h:782:3: note: 'New' declared here
  V8_INLINE(static T* New(Isolate* isolate, T* that));
  ^
/Users/zak/.node-gyp/0.11.5/deps/v8/include/v8.h:80:31: note: expanded from macro 'V8_INLINE'
#define V8_INLINE(declarator) inline __attribute__((always_inline)) declarator
                              ^
../binding.cpp:238:50: error: 'New' is a private member of 'v8::Persistent<v8::Function>'
    ctx_w->errorCallback = Persistent<Function>::New(errorCallback);
                                                 ^
/Users/zak/.node-gyp/0.11.5/deps/v8/include/v8.h:782:23: note: declared private here
  V8_INLINE(static T* New(Isolate* isolate, T* that));
                      ^
/Users/zak/.node-gyp/0.11.5/deps/v8/include/v8.h:80:69: note: expanded from macro 'V8_INLINE'
#define V8_INLINE(declarator) inline __attribute__((always_inline)) declarator
                                                                    ^
../binding.cpp:238:67: error: too few arguments to function call, expected 2, have 1
    ctx_w->errorCallback = Persistent<Function>::New(errorCallback);
                           ~~~~~~~~~~~~~~~~~~~~~~~~~              ^
/Users/zak/.node-gyp/0.11.5/deps/v8/include/v8.h:782:3: note: 'New' declared here
  V8_INLINE(static T* New(Isolate* isolate, T* that));
  ^
/Users/zak/.node-gyp/0.11.5/deps/v8/include/v8.h:80:31: note: expanded from macro 'V8_INLINE'
#define V8_INLINE(declarator) inline __attribute__((always_inline)) declarator
                              ^
../binding.cpp:287:5: error: no matching function for call to 'NODE_SET_METHOD'
    NODE_SET_METHOD(target, "oldRender", OldRender);
    ^~~~~~~~~~~~~~~
/Users/zak/.node-gyp/0.11.5/src/node.h:149:25: note: expanded from macro 'NODE_SET_METHOD'
#define NODE_SET_METHOD node::NODE_SET_METHOD
                        ^~~~~~~~~~~~~~~~~~~~~
/Users/zak/.node-gyp/0.11.5/src/node.h:140:13: note: candidate function [with TypeName = v8::Handle<v8::Object>] not viable: no
      known conversion from 'Handle<v8::Value> (const v8::Arguments &)' to 'v8::FunctionCallback' (aka 'void (*)(const
      FunctionCallbackInfo<v8::Value> &)') for 3rd argument
inline void NODE_SET_METHOD(const TypeName& recv,
            ^
../binding.cpp:288:5: error: no matching function for call to 'NODE_SET_METHOD'
    NODE_SET_METHOD(target, "render", Render);
    ^~~~~~~~~~~~~~~
/Users/zak/.node-gyp/0.11.5/src/node.h:149:25: note: expanded from macro 'NODE_SET_METHOD'
#define NODE_SET_METHOD node::NODE_SET_METHOD
                        ^~~~~~~~~~~~~~~~~~~~~
/Users/zak/.node-gyp/0.11.5/src/node.h:140:13: note: candidate function [with TypeName = v8::Handle<v8::Object>] not viable: no
      known conversion from 'Handle<v8::Value> (const v8::Arguments &)' to 'v8::FunctionCallback' (aka 'void (*)(const
      FunctionCallbackInfo<v8::Value> &)') for 3rd argument
inline void NODE_SET_METHOD(const TypeName& recv,
            ^
../binding.cpp:289:5: error: no matching function for call to 'NODE_SET_METHOD'
    NODE_SET_METHOD(target, "renderSync", RenderSync);
    ^~~~~~~~~~~~~~~
/Users/zak/.node-gyp/0.11.5/src/node.h:149:25: note: expanded from macro 'NODE_SET_METHOD'
#define NODE_SET_METHOD node::NODE_SET_METHOD
                        ^~~~~~~~~~~~~~~~~~~~~
/Users/zak/.node-gyp/0.11.5/src/node.h:140:13: note: candidate function [with TypeName = v8::Handle<v8::Object>] not viable: no
      known conversion from 'Handle<v8::Value> (const v8::Arguments &)' to 'v8::FunctionCallback' (aka 'void (*)(const
      FunctionCallbackInfo<v8::Value> &)') for 3rd argument
inline void NODE_SET_METHOD(const TypeName& recv,
            ^
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/zak/.nvm/v0.11.5/lib/node_modules/npm/node_modules/node-gyp/lib/build.js:267:23)
gyp ERR! stack     at ChildProcess.EventEmitter.emit (events.js:103:17)
gyp ERR! stack     at Process.ChildProcess._handle.onexit (child_process.js:794:12)
gyp ERR! System Darwin 11.4.2
gyp ERR! command "node" "/Users/zak/.nvm/v0.11.5/lib/node_modules/npm/node_modules/node-gyp/bin/node-gyp.js" "rebuild"
gyp ERR! cwd /Users/zak/MyProject/node_modules/grunt-sass/node_modules/node-sass
gyp ERR! node -v v0.11.5
gyp ERR! node-gyp -v v0.10.9
gyp ERR! not ok
grunt-sass@0.6.1 node_modules/grunt-sass
├── grunt-lib-contrib@0.6.1 (zlib-browserify@0.0.1)
└── node-sass@0.6.4 (colors@0.6.0-1, mkdirp@0.3.5, optimist@0.4.0)
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