Skip to content

Unable to install #80

@omarstreak

Description

@omarstreak

get the following

> bugger@2.3.0 install /usr/local/lib/node_modules/bugger
> node-gyp rebuild

  CXX(target) Release/obj.target/DebugThread/src/module.o
  CXX(target) Release/obj.target/DebugThread/src/thread.o
../src/thread.cc:131:50: warning: 'NewInstance' is deprecated [-Wdeprecated-declarations]
  Local<Object> thread_api = tpl->GetFunction()->NewInstance();
                                                 ^
/Users/oismail/.node-gyp/7.9.0/include/node/v8.h:3662:52: note: 'NewInstance' has been explicitly marked deprecated here
  V8_DEPRECATED("Use maybe version", Local<Object> NewInstance() const);
                                                   ^
../src/thread.cc:172:22: error: too many arguments to function call, expected 6, have 7
        argv.size(), argv.data());
                     ^~~~~~~~~~~
/Users/oismail/.node-gyp/7.9.0/include/node/node.h:203:13: note: 'CreateEnvironment' declared here
NODE_EXTERN Environment* CreateEnvironment(IsolateData* isolate_data,
            ^
1 warning and 1 error generated.
make: *** [Release/obj.target/DebugThread/src/thread.o] Error 1
gyp ERR! build error
gyp ERR! stack Error: `make` failed with exit code: 2
gyp ERR! stack     at ChildProcess.onExit (/usr/local/lib/node_modules/npm/node_modules/node-gyp/lib/build.js:285:23)
gyp ERR! stack     at emitTwo (events.js:106:13)
gyp ERR! stack     at ChildProcess.emit (events.js:194:7)
gyp ERR! stack     at Process.ChildProcess._handle.onexit (internal/child_process.js:215:12)
gyp ERR! System Darwin 16.0.0
gyp ERR! command "/usr/local/Cellar/node/7.9.0/bin/node" "/usr/local/lib/node_modules/npm/node_modules/node-gyp/bin/node-gyp.js" "rebuild"
gyp ERR! cwd /usr/local/lib/node_modules/bugger
gyp ERR! node -v v7.9.0
gyp ERR! node-gyp -v v3.6.0
gyp ERR! not ok
npm ERR! code ELIFECYCLE
npm ERR! errno 1
npm ERR! bugger@2.3.0 install: `node-gyp rebuild`
npm ERR! Exit status 1
npm ERR!
npm ERR! Failed at the bugger@2.3.0 install script 'node-gyp rebuild'.
npm ERR! Make sure you have the latest version of node.js and npm installed.
npm ERR! If you do, this is most likely a problem with the bugger 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 information on how to open an issue for this project with:
npm ERR!     npm bugs bugger
npm ERR! Or if that isn't available, you can get their info via:
npm ERR!     npm owner ls bugger
npm ERR! There is likely additional logging output above.

I'm running latest node and npm (node 7.9.0, npm 4.5.0)

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions