{"action":"created","issue":{"url":"https://api.github.com/repos/ChrisWren/grunt-node-inspector/issues/35","labels_url":"https://api.github.com/repos/ChrisWren/grunt-node-inspector/issues/35/labels{/name}","comments_url":"https://api.github.com/repos/ChrisWren/grunt-node-inspector/issues/35/comments","events_url":"https://api.github.com/repos/ChrisWren/grunt-node-inspector/issues/35/events","html_url":"https://github.com/ChrisWren/grunt-node-inspector/issues/35","id":115434109,"number":35,"title":"Fails build on Node 4.2.2 and 4.2.1","user":{"login":"vartana","id":133908,"avatar_url":"https://avatars.githubusercontent.com/u/133908?v=3","gravatar_id":"","url":"https://api.github.com/users/vartana","html_url":"https://github.com/vartana","followers_url":"https://api.github.com/users/vartana/followers","following_url":"https://api.github.com/users/vartana/following{/other_user}","gists_url":"https://api.github.com/users/vartana/gists{/gist_id}","starred_url":"https://api.github.com/users/vartana/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/vartana/subscriptions","organizations_url":"https://api.github.com/users/vartana/orgs","repos_url":"https://api.github.com/users/vartana/repos","events_url":"https://api.github.com/users/vartana/events{/privacy}","received_events_url":"https://api.github.com/users/vartana/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":5,"created_at":"2015-11-06T05:05:11Z","updated_at":"2015-11-28T20:37:55Z","closed_at":null,"body":"\r\nFull Log can be found at http://pastebin.com/raw.php?i=fQFzUg9d\r\ncommand$: npm install grunt-node-inspector --save-dev\r\n\r\n    > v8-debug@0.4.6 preinstall /Users/foobar/Dev/test/node_modules/.staging/v8-debug-b52178330d463fdcb40dcbf347b9164d\r\n    >  \r\n\r\n\r\n    > v8-debug@0.4.6 install /Users/foobar/Dev/test/node_modules/grunt-node-inspector/node_modules/v8-debug\r\n    > node-pre-gyp install --fallback-to-build\r\n\r\n      CXX(target) Release/obj.target/debug/src/debug.o\r\n    In file included from ../src/debug.cc:2:\r\n    ../../nan/nan.h:261:25: error: redefinition of '_NanEnsureLocal'\r\n    NAN_INLINE v8::Local<T> _NanEnsureLocal(v8::Local<T> val) {\r\n                            ^\r\n    ../../nan/nan.h:256:25: note: previous definition is here\r\n    NAN_INLINE v8::Local<T> _NanEnsureLocal(v8::Handle<T> val) {\r\n                            ^\r\n    ../../nan/nan.h:661:13: error: no member named 'smalloc' in namespace 'node'\r\n        , node::smalloc::FreeCallback callback\r\n          ~~~~~~^\r\n    ../../nan/nan.h:672:12: error: no matching function for call to 'New'\r\n        return node::Buffer::New(v8::Isolate::GetCurrent(), data, size);\r\n               ^~~~~~~~~~~~~~~~~\r\n    /Users/foobar/.node-gyp/4.2.2/include/node/node_buffer.h:31:40: note: candidate function not viable: no known conversion from\r\n          'uint32_t' (aka 'unsigned int') to 'enum encoding' for 3rd argument\r\n    NODE_EXTERN v8::MaybeLocal<v8::Object> New(v8::Isolate* isolate,\r\n                                           ^\r\n    /Users/foobar/.node-gyp/4.2.2/include/node/node_buffer.h:43:40: note: candidate function not viable: 2nd argument ('const char *')\r\n          would lose const qualifier\r\n    NODE_EXTERN v8::MaybeLocal<v8::Object> New(v8::Isolate* isolate,\r\n                                           ^\r\n    /Users/foobar/.node-gyp/4.2.2/include/node/node_buffer.h:28:40: note: candidate function not viable: requires 2 arguments, but 3 were\r\n          provided\r\n    NODE_EXTERN v8::MaybeLocal<v8::Object> New(v8::Isolate* isolate, size_t length);\r\n                                           ^\r\n    /Users/foobar/.node-gyp/4.2.2/include/node/node_buffer.h:36:40: note: candidate function not viable: requires 5 arguments, but 3 were\r\n          provided\r\n    NODE_EXTERN v8::MaybeLocal<v8::Object> New(v8::Isolate* isolate,\r\n                                           ^\r\n    In file included from ../src/debug.cc:2:\r\n    ../../nan/nan.h:676:12: error: no viable conversion from 'v8::MaybeLocal<v8::Object>' to 'v8::Local<v8::Object>'\r\n        return node::Buffer::New(v8::Isolate::GetCurrent(), size);\r\n               ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~\r\n    /Users/foobar/.node-gyp/4.2.2/include/node/v8.h:210:7: note: candidate constructor (the implicit copy constructor) not viable: no\r\n          known conversion from 'v8::MaybeLocal<v8::Object>' to 'const v8::Local<v8::Object> &' for 1st argument\r\n    class Local {\r\n          ^\r\n    /Users/foobar/.node-gyp/4.2.2/include/node/v8.h:210:7: note: candidate constructor (the implicit move constructor) not viable: no\r\n          known conversion from 'v8::MaybeLocal<v8::Object>' to 'v8::Local<v8::Object> &&' for 1st argument\r\n    class Local {\r\n          ^\r\n    /Users/foobar/.node-gyp/4.2.2/include/node/v8.h:214:13: note: candidate template ignored: could not match 'Local' against 'MaybeLocal'\r\n      V8_INLINE Local(Local<S> that)\r\n                ^\r\n    /Users/foobar/.node-gyp/4.2.2/include/node/v8.h:326:13: note: candidate template ignored: could not match 'S *' against\r\n          'v8::MaybeLocal<v8::Object>'\r\n      V8_INLINE Local(S* that)\r\n                ^\r\n    In file included from ../src/debug.cc:2:\r\n    ../../nan/nan.h:683:26: error: no member named 'Use' in namespace 'node::Buffer'\r\n        return node::Buffer::Use(v8::Isolate::GetCurrent(), data, size);\r\n               ~~~~~~~~~~~~~~^\r\n    ../src/debug.cc:194:25: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings]\r\n              result_type = \"\";\r\n                            ^\r\n    In file included from ../src/debug.cc:2:\r\n    In file included from ../../nan/nan.h:24:\r\n    In file included from /Users/foobar/.node-gyp/4.2.2/include/node/node.h:42:\r\n    /Users/foobar/.node-gyp/4.2.2/include/node/v8.h:221:5: error: assigning to 'v8::Primitive *volatile' from incompatible type\r\n          'v8::Value *'\r\n        TYPE_CHECK(T, S);\r\n        ^~~~~~~~~~~~~~~~\r\n    /Users/foobar/.node-gyp/4.2.2/include/node/v8.h:180:37: note: expanded from macro 'TYPE_CHECK'\r\n        *(static_cast<T* volatile*>(0)) = static_cast<S*>(0);      \\\r\n                                        ^ ~~~~~~~~~~~~~~~~~~\r\n    ../../nan/nan.h:414:12: note: in instantiation of function template specialization 'v8::Local<v8::Primitive>::Local<v8::Value>' requested\r\n          here\r\n        return NanEscapeScope(NanNew(v8::Undefined(v8::Isolate::GetCurrent())));\r\n               ^\r\n    ../../nan/nan.h:398:30: note: expanded from macro 'NanEscapeScope'\r\n    # define NanEscapeScope(val) scope.Escape(_NanEnsureLocal(val))\r\n                                 ^\r\n    In file included from ../src/debug.cc:2:\r\n    In file included from ../../nan/nan.h:24:\r\n    In file included from /Users/foobar/.node-gyp/4.2.2/include/node/node.h:42:\r\n    /Users/foobar/.node-gyp/4.2.2/include/node/v8.h:221:5: error: assigning to 'v8::Boolean *volatile' from incompatible type\r\n          'v8::Value *'\r\n        TYPE_CHECK(T, S);\r\n        ^~~~~~~~~~~~~~~~\r\n    /Users/foobar/.node-gyp/4.2.2/include/node/v8.h:180:37: note: expanded from macro 'TYPE_CHECK'\r\n        *(static_cast<T* volatile*>(0)) = static_cast<S*>(0);      \\\r\n                                        ^ ~~~~~~~~~~~~~~~~~~\r\n    ../../nan/nan.h:424:12: note: in instantiation of function template specialization 'v8::Local<v8::Boolean>::Local<v8::Value>' requested here\r\n        return NanEscapeScope(NanNew(v8::True(v8::Isolate::GetCurrent())));\r\n               ^\r\n    ../../nan/nan.h:398:30: note: expanded from macro 'NanEscapeScope'\r\n    # define NanEscapeScope(val) scope.Escape(_NanEnsureLocal(val))\r\n                                 ^\r\n    In file included from ../src/debug.cc:2:\r\n    In file included from ../../nan/nan.h:24:\r\n    In file included from /Users/foobar/.node-gyp/4.2.2/include/node/node.h:42:\r\n    /Users/foobar/.node-gyp/4.2.2/include/node/v8.h:221:5: error: assigning to 'v8::Function *volatile' from incompatible type\r\n          'v8::Value *'\r\n        TYPE_CHECK(T, S);\r\n        ^~~~~~~~~~~~~~~~\r\n    /Users/foobar/.node-gyp/4.2.2/include/node/v8.h:180:37: note: expanded from macro 'TYPE_CHECK'\r\n        *(static_cast<T* volatile*>(0)) = static_cast<S*>(0);      \\\r\n                                        ^ ~~~~~~~~~~~~~~~~~~\r\n    ../../nan/nan.h:1514:12: note: in instantiation of function template specialization 'v8::Local<v8::Function>::Local<v8::Value>' requested\r\n          here\r\n        return NanEscapeScope(NanNew(handle)->Get(kCallbackIndex)\r\n               ^\r\n    ../../nan/nan.h:398:30: note: expanded from macro 'NanEscapeScope'\r\n    # define NanEscapeScope(val) scope.Escape(_NanEnsureLocal(val))\r\n                                 ^\r\n    In file included from ../src/debug.cc:2:\r\n    In file included from ../../nan/nan.h:24:\r\n    In file included from /Users/foobar/.node-gyp/4.2.2/include/node/node.h:42:\r\n    /Users/foobar/.node-gyp/4.2.2/include/node/v8.h:221:5: error: assigning to 'v8::Object *volatile' from incompatible type 'v8::Value *'\r\n        TYPE_CHECK(T, S);\r\n        ^~~~~~~~~~~~~~~~\r\n    /Users/foobar/.node-gyp/4.2.2/include/node/v8.h:180:37: note: expanded from macro 'TYPE_CHECK'\r\n        *(static_cast<T* volatile*>(0)) = static_cast<S*>(0);      \\\r\n                                        ^ ~~~~~~~~~~~~~~~~~~\r\n    ../../nan/nan.h:1632:12: note: in instantiation of function template specialization 'v8::Local<v8::Object>::Local<v8::Value>' requested here\r\n        return NanEscapeScope(handle->Get(NanNew(key)).As<v8::Object>());\r\n               ^\r\n    ../../nan/nan.h:398:30: note: expanded from macro 'NanEscapeScope'\r\n    # define NanEscapeScope(val) scope.Escape(_NanEnsureLocal(val))\r\n                                 ^\r\n    In file included from ../src/debug.cc:2:\r\n    In file included from ../../nan/nan.h:24:\r\n    In file included from /Users/foobar/.node-gyp/4.2.2/include/node/node.h:42:\r\n    /Users/foobar/.node-gyp/4.2.2/include/node/v8.h:221:5: error: assigning to 'v8::String *volatile' from incompatible type 'v8::Value *'\r\n        TYPE_CHECK(T, S);\r\n        ^~~~~~~~~~~~~~~~\r\n    /Users/foobar/.node-gyp/4.2.2/include/node/v8.h:180:37: note: expanded from macro 'TYPE_CHECK'\r\n        *(static_cast<T* volatile*>(0)) = static_cast<S*>(0);      \\\r\n                                        ^ ~~~~~~~~~~~~~~~~~~\r\n    ../src/debug.cc:168:18: note: in instantiation of function template specialization 'v8::Local<v8::String>::Local<v8::Value>' requested here\r\n              return NanEscapeScope(value->ToString());\r\n                     ^\r\n    ../../nan/nan.h:398:30: note: expanded from macro 'NanEscapeScope'\r\n    # define NanEscapeScope(val) scope.Escape(_NanEnsureLocal(val))\r\n                                 ^\r\n    1 warning and 10 errors generated.\r\n    make: *** [Release/obj.target/debug/src/debug.o] Error 1\r\n    gyp ERR! build error \r\n    gyp ERR! stack Error: `make` failed with exit code: 2\r\n    gyp ERR! stack     at ChildProcess.onExit (/usr/local/lib/node_modules/npm/node_modules/node-gyp/lib/build.js:270:23)\r\n    gyp ERR! stack     at emitTwo (events.js:87:13)\r\n    gyp ERR! stack     at ChildProcess.emit (events.js:172:7)\r\n    gyp ERR! stack     at Process.ChildProcess._handle.onexit (internal/child_process.js:200:12)\r\n    gyp ERR! System Darwin 15.0.0\r\n    gyp ERR! command \"/usr/local/bin/node\" \"/usr/local/lib/node_modules/npm/node_modules/node-gyp/bin/node-gyp.js\" \"build\" \"--fallback-to-build\" \"--module=/Users/foobar/Dev/test/node_modules/grunt-node-inspector/node_modules/v8-debug/build/debug/v0.4.6/node-v46-darwin-x64/debug.node\" \"--module_name=debug\" \"--module_path=/Users/foobar/Dev/test/node_modules/grunt-node-inspector/node_modules/v8-debug/build/debug/v0.4.6/node-v46-darwin-x64\"\r\n    gyp ERR! cwd /Users/foobar/Dev/test/node_modules/grunt-node-inspector/node_modules/v8-debug\r\n    gyp ERR! node -v v4.2.2\r\n    gyp ERR! node-gyp -v v3.0.3\r\n    gyp ERR! not ok \r\n    node-pre-gyp ERR! build error \r\n    node-pre-gyp ERR! stack Error: Failed to execute '/usr/local/bin/node /usr/local/lib/node_modules/npm/node_modules/node-gyp/bin/node-gyp.js build --fallback-to-build --module=/Users/foobar/Dev/test/node_modules/grunt-node-inspector/node_modules/v8-debug/build/debug/v0.4.6/node-v46-darwin-x64/debug.node --module_name=debug --module_path=/Users/foobar/Dev/test/node_modules/grunt-node-inspector/node_modules/v8-debug/build/debug/v0.4.6/node-v46-darwin-x64' (1)\r\n    node-pre-gyp ERR! stack     at ChildProcess.<anonymous> (/Users/foobar/Dev/test/node_modules/node-pre-gyp/lib/util/compile.js:83:29)\r\n    node-pre-gyp ERR! stack     at emitTwo (events.js:87:13)\r\n    node-pre-gyp ERR! stack     at ChildProcess.emit (events.js:172:7)\r\n    node-pre-gyp ERR! stack     at maybeClose (internal/child_process.js:818:16)\r\n    node-pre-gyp ERR! stack     at Process.ChildProcess._handle.onexit (internal/child_process.js:211:5)\r\n    node-pre-gyp ERR! System Darwin 15.0.0\r\n    node-pre-gyp ERR! command \"/usr/local/bin/node\" \"/Users/foobar/Dev/test/node_modules/.bin/node-pre-gyp\" \"install\" \"--fallback-to-build\"\r\n    node-pre-gyp ERR! cwd /Users/foobar/Dev/test/node_modules/grunt-node-inspector/node_modules/v8-debug\r\n    node-pre-gyp ERR! node -v v4.2.2\r\n    node-pre-gyp ERR! node-pre-gyp -v v0.6.15\r\n    node-pre-gyp ERR! not ok \r\n    Failed to execute '/usr/local/bin/node /usr/local/lib/node_modules/npm/node_modules/node-gyp/bin/node-gyp.js build --fallback-to-build --module=/Users/foobar/Dev/test/node_modules/grunt-node-inspector/node_modules/v8-debug/build/debug/v0.4.6/node-v46-darwin-x64/debug.node --module_name=debug --module_path=/Users/foobar/Dev/test/node_modules/grunt-node-inspector/node_modules/v8-debug/build/debug/v0.4.6/node-v46-darwin-x64' (1)"},"comment":{"url":"https://api.github.com/repos/ChrisWren/grunt-node-inspector/issues/comments/160334186","html_url":"https://github.com/ChrisWren/grunt-node-inspector/issues/35#issuecomment-160334186","issue_url":"https://api.github.com/repos/ChrisWren/grunt-node-inspector/issues/35","id":160334186,"user":{"login":"fiznool","id":820863,"avatar_url":"https://avatars.githubusercontent.com/u/820863?v=3","gravatar_id":"","url":"https://api.github.com/users/fiznool","html_url":"https://github.com/fiznool","followers_url":"https://api.github.com/users/fiznool/followers","following_url":"https://api.github.com/users/fiznool/following{/other_user}","gists_url":"https://api.github.com/users/fiznool/gists{/gist_id}","starred_url":"https://api.github.com/users/fiznool/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/fiznool/subscriptions","organizations_url":"https://api.github.com/users/fiznool/orgs","repos_url":"https://api.github.com/users/fiznool/repos","events_url":"https://api.github.com/users/fiznool/events{/privacy}","received_events_url":"https://api.github.com/users/fiznool/received_events","type":"User","site_admin":false},"created_at":"2015-11-28T20:37:55Z","updated_at":"2015-11-28T20:37:55Z","body":"This is for node v5? If so please could you open a new issue, as this one\nis tracking problems with v4.\n"}}