{"action":"created","issue":{"url":"https://api.github.com/repos/SilentCicero/ethereumjs-accounts/issues/15","repository_url":"https://api.github.com/repos/SilentCicero/ethereumjs-accounts","labels_url":"https://api.github.com/repos/SilentCicero/ethereumjs-accounts/issues/15/labels{/name}","comments_url":"https://api.github.com/repos/SilentCicero/ethereumjs-accounts/issues/15/comments","events_url":"https://api.github.com/repos/SilentCicero/ethereumjs-accounts/issues/15/events","html_url":"https://github.com/SilentCicero/ethereumjs-accounts/issues/15","id":131082587,"number":15,"title":"npm install fails","user":{"login":"SCBuergel","id":11379673,"avatar_url":"https://avatars0.githubusercontent.com/u/11379673?v=4","gravatar_id":"","url":"https://api.github.com/users/SCBuergel","html_url":"https://github.com/SCBuergel","followers_url":"https://api.github.com/users/SCBuergel/followers","following_url":"https://api.github.com/users/SCBuergel/following{/other_user}","gists_url":"https://api.github.com/users/SCBuergel/gists{/gist_id}","starred_url":"https://api.github.com/users/SCBuergel/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/SCBuergel/subscriptions","organizations_url":"https://api.github.com/users/SCBuergel/orgs","repos_url":"https://api.github.com/users/SCBuergel/repos","events_url":"https://api.github.com/users/SCBuergel/events{/privacy}","received_events_url":"https://api.github.com/users/SCBuergel/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":5,"created_at":"2016-02-03T16:45:25Z","updated_at":"2017-09-23T00:26:27Z","closed_at":null,"author_association":"NONE","body":"This is the log output, any help would be appreciated:\n\n```\n$ sudo npm install ethereumjs-accounts\n\n> secp256k1@0.0.15 install /home/someone/ethereum/node_modules/secp256k1\n> node-gyp rebuild\n\nmake: Entering directory '/home/someone/ethereum/node_modules/secp256k1/build'\n  CXX(target) Release/obj.target/secp256k1/secp256k1.o\ncc1plus: warning: command line option ‘-std=c11’ is valid for C/ObjC but not for C++\nIn file included from ../secp256k1.cc:1:0:\n../node_modules/nan/nan.h:324:27: error: redefinition of ‘template<class T> v8::Local<T> Nan::imp::NanEnsureHandleOrPersistent(const v8::Local<T>&)’\n   NAN_INLINE v8::Local<T> NanEnsureHandleOrPersistent(const v8::Local<T> &val) {\n                           ^\n../node_modules/nan/nan.h:319:17: note: ‘template<class T> v8::Handle<T> Nan::imp::NanEnsureHandleOrPersistent(v8::Handle<T>&)’ previously declared here\n   v8::Handle<T> NanEnsureHandleOrPersistent(const v8::Handle<T> &val) {\n                 ^\n../node_modules/nan/nan.h:344:27: error: redefinition of ‘template<class T> v8::Local<T> Nan::imp::NanEnsureLocal(v8::Handle<T>&)’\n   NAN_INLINE v8::Local<T> NanEnsureLocal(const v8::Handle<T> &val) {\n                           ^\n../node_modules/nan/nan.h:334:27: note: ‘template<class T> v8::Local<T> Nan::imp::NanEnsureLocal(const v8::Local<T>&)’ previously declared here\n   NAN_INLINE v8::Local<T> NanEnsureLocal(const v8::Local<T> &val) {\n                           ^\n../node_modules/nan/nan.h:757:13: error: ‘node::smalloc’ has not been declared\n     , node::smalloc::FreeCallback callback\n             ^\n../node_modules/nan/nan.h:757:35: error: expected ‘,’ or ‘...’ before ‘callback’\n     , node::smalloc::FreeCallback callback\n                                   ^\n../node_modules/nan/nan.h: In function ‘v8::Local<v8::Object> NanNewBufferHandle(char*, size_t, int)’:\n../node_modules/nan/nan.h:761:50: error: ‘callback’ was not declared in this scope\n         v8::Isolate::GetCurrent(), data, length, callback, hint);\n                                                  ^\n../node_modules/nan/nan.h:761:60: error: ‘hint’ was not declared in this scope\n         v8::Isolate::GetCurrent(), data, length, callback, hint);\n                                                            ^\n../node_modules/nan/nan.h: In function ‘v8::Local<v8::Object> NanNewBufferHandle(const char*, uint32_t)’:\n../node_modules/nan/nan.h:768:67: error: no matching function for call to ‘New(v8::Isolate*, const char*&, uint32_t&)’\n     return node::Buffer::New(v8::Isolate::GetCurrent(), data, size);\n                                                                   ^\nIn file included from ../node_modules/nan/nan.h:25:0,\n                 from ../secp256k1.cc:1:\n/home/someone/.node-gyp/4.2.6/include/node/node_buffer.h:31:40: note: candidate: v8::MaybeLocal<v8::Object> node::Buffer::New(v8::Isolate*, v8::Local<v8::String>, node::encoding) <near match>\n NODE_EXTERN v8::MaybeLocal<v8::Object> New(v8::Isolate* isolate,\n                                        ^\n/home/someone/.node-gyp/4.2.6/include/node/node_buffer.h:31:40: note:   conversion of argument 3 would be ill-formed:\nIn file included from ../secp256k1.cc:1:0:\n../node_modules/nan/nan.h:768:67: error: invalid conversion from ‘uint32_t {aka unsigned int}’ to ‘node::encoding’ [-fpermissive]\n     return node::Buffer::New(v8::Isolate::GetCurrent(), data, size);\n                                                                   ^\nIn file included from ../node_modules/nan/nan.h:25:0,\n                 from ../secp256k1.cc:1:\n/home/someone/.node-gyp/4.2.6/include/node/node_buffer.h:43:40: note: candidate: v8::MaybeLocal<v8::Object> node::Buffer::New(v8::Isolate*, char*, size_t) <near match>\n NODE_EXTERN v8::MaybeLocal<v8::Object> New(v8::Isolate* isolate,\n                                        ^\n/home/someone/.node-gyp/4.2.6/include/node/node_buffer.h:43:40: note:   conversion of argument 2 would be ill-formed:\nIn file included from ../secp256k1.cc:1:0:\n../node_modules/nan/nan.h:768:67: error: invalid conversion from ‘const char*’ to ‘char*’ [-fpermissive]\n     return node::Buffer::New(v8::Isolate::GetCurrent(), data, size);\n                                                                   ^\n../node_modules/nan/nan.h: In function ‘v8::Local<v8::Object> NanNewBufferHandle(uint32_t)’:\n../node_modules/nan/nan.h:772:29: error: could not convert ‘node::Buffer::New(v8::Isolate::GetCurrent(), ((size_t)size))’ from ‘v8::MaybeLocal<v8::Object>’ to ‘v8::Local<v8::Object>’\n     return node::Buffer::New(v8::Isolate::GetCurrent(), size);\n                             ^\n../node_modules/nan/nan.h: In function ‘v8::Local<v8::Object> NanBufferUse(char*, uint32_t)’:\n../node_modules/nan/nan.h:779:12: error: ‘Use’ is not a member of ‘node::Buffer’\n     return node::Buffer::Use(v8::Isolate::GetCurrent(), data, size);\n            ^\nsecp256k1.target.mk:125: recipe for target 'Release/obj.target/secp256k1/secp256k1.o' failed\nmake: *** [Release/obj.target/secp256k1/secp256k1.o] Error 1\nmake: Leaving directory '/home/someone/ethereum/node_modules/secp256k1/build'\ngyp ERR! build error \ngyp ERR! stack Error: `make` failed with exit code: 2\ngyp ERR! stack     at ChildProcess.onExit (/usr/local/lib/node_modules/npm/node_modules/node-gyp/lib/build.js:276:23)\ngyp ERR! stack     at emitTwo (events.js:87:13)\ngyp ERR! stack     at ChildProcess.emit (events.js:172:7)\ngyp ERR! stack     at Process.ChildProcess._handle.onexit (internal/child_process.js:200:12)\ngyp ERR! System Linux 4.2.0-27-generic\ngyp ERR! command \"/usr/bin/nodejs\" \"/usr/local/lib/node_modules/npm/node_modules/node-gyp/bin/node-gyp.js\" \"rebuild\"\ngyp ERR! cwd /home/someone/ethereum/node_modules/secp256k1\ngyp ERR! node -v v4.2.6\ngyp ERR! node-gyp -v v3.2.1\ngyp ERR! not ok \n/home/someone/ethereum\n└── web3@0.15.1 \n\nnpm WARN enoent ENOENT: no such file or directory, open '/home/someone/ethereum/package.json'\nnpm WARN ethereum No description\nnpm WARN ethereum No repository field.\nnpm WARN ethereum No README data\nnpm WARN ethereum No license field.\nnpm ERR! Linux 4.2.0-27-generic\nnpm ERR! argv \"/usr/bin/nodejs\" \"/usr/local/bin/npm\" \"install\" \"ethereumjs-accounts\"\nnpm ERR! node v4.2.6\nnpm ERR! npm  v3.5.3\nnpm ERR! code ELIFECYCLE\n\nnpm ERR! secp256k1@0.0.15 install: `node-gyp rebuild`\nnpm ERR! Exit status 1\nnpm ERR! \nnpm ERR! Failed at the secp256k1@0.0.15 install script 'node-gyp rebuild'.\nnpm ERR! Make sure you have the latest version of node.js and npm installed.\nnpm ERR! If you do, this is most likely a problem with the secp256k1 package,\nnpm ERR! not with npm itself.\nnpm ERR! Tell the author that this fails on your system:\nnpm ERR!     node-gyp rebuild\nnpm ERR! You can get information on how to open an issue for this project with:\nnpm ERR!     npm bugs secp256k1\nnpm ERR! Or if that isn't available, you can get their info via:\nnpm ERR!     npm owner ls secp256k1\nnpm ERR! There is likely additional logging output above.\n\nnpm ERR! Please include the following file with any support request:\nnpm ERR!     /home/someone/ethereum/npm-debug.log\n```\n"},"comment":{"url":"https://api.github.com/repos/SilentCicero/ethereumjs-accounts/issues/comments/331588665","html_url":"https://github.com/SilentCicero/ethereumjs-accounts/issues/15#issuecomment-331588665","issue_url":"https://api.github.com/repos/SilentCicero/ethereumjs-accounts/issues/15","id":331588665,"user":{"login":"vbaranov","id":4341812,"avatar_url":"https://avatars2.githubusercontent.com/u/4341812?v=4","gravatar_id":"","url":"https://api.github.com/users/vbaranov","html_url":"https://github.com/vbaranov","followers_url":"https://api.github.com/users/vbaranov/followers","following_url":"https://api.github.com/users/vbaranov/following{/other_user}","gists_url":"https://api.github.com/users/vbaranov/gists{/gist_id}","starred_url":"https://api.github.com/users/vbaranov/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/vbaranov/subscriptions","organizations_url":"https://api.github.com/users/vbaranov/orgs","repos_url":"https://api.github.com/users/vbaranov/repos","events_url":"https://api.github.com/users/vbaranov/events{/privacy}","received_events_url":"https://api.github.com/users/vbaranov/received_events","type":"User","site_admin":false},"created_at":"2017-09-23T00:26:27Z","updated_at":"2017-09-23T00:26:27Z","author_association":"NONE","body":"the same issue, any updates?"}}
{"actor":{"display_login":"vbaranov"}}