{"action":"opened","issue":{"url":"https://api.github.com/repos/momenso/node-dht-sensor/issues/14","labels_url":"https://api.github.com/repos/momenso/node-dht-sensor/issues/14/labels{/name}","comments_url":"https://api.github.com/repos/momenso/node-dht-sensor/issues/14/comments","events_url":"https://api.github.com/repos/momenso/node-dht-sensor/issues/14/events","html_url":"https://github.com/momenso/node-dht-sensor/issues/14","id":58463391,"number":14,"title":"Cannot install","user":{"login":"HSkilgannon","id":11135868,"avatar_url":"https://avatars.githubusercontent.com/u/11135868?v=3","gravatar_id":"","url":"https://api.github.com/users/HSkilgannon","html_url":"https://github.com/HSkilgannon","followers_url":"https://api.github.com/users/HSkilgannon/followers","following_url":"https://api.github.com/users/HSkilgannon/following{/other_user}","gists_url":"https://api.github.com/users/HSkilgannon/gists{/gist_id}","starred_url":"https://api.github.com/users/HSkilgannon/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/HSkilgannon/subscriptions","organizations_url":"https://api.github.com/users/HSkilgannon/orgs","repos_url":"https://api.github.com/users/HSkilgannon/repos","events_url":"https://api.github.com/users/HSkilgannon/events{/privacy}","received_events_url":"https://api.github.com/users/HSkilgannon/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":0,"created_at":"2015-02-21T15:45:01Z","updated_at":"2015-02-21T15:45:01Z","closed_at":null,"body":"I have installed libcm 1.39\r\nAm i Installing it wrong? Please Help\r\n\r\n```npm WARN engine node-dht-sensor@0.0.7: wanted: {\"node\":\">=0.12 <0.13\"} (current:{\"node\":\"0.10.36\",\"npm\":\"1.4.28\"}```\r\n```\r\n >node-dht-sensor@0.0.7 install /home/pi/Desktop/node-red-0.10.1/node_modules/node-dht-sensor\r\n >node-gyp rebuild\r\n\r\nmake: Entering directory '/home/pi/Desktop/node-red-0.10.1/node_modules/node-dht-sensor/build'\r\n  CXX(target) Release/obj.target/node-dht-sensor/node-dht-sensor.o\r\n../node-dht-sensor.cpp:205:17: error: ‘FunctionCallbackInfo’ does not name a type\r\n../node-dht-sensor.cpp:205:17: error: ISO C++ forbids declaration of ‘parameter’ with no type [-fpermissive]\r\n../node-dht-sensor.cpp:205:37: error: expected ‘,’ or ‘...’ before ‘<’ token\r\n../node-dht-sensor.cpp: In function ‘void Read(int)’:\r\n../node-dht-sensor.cpp:207:30: error: no matching function for call to ‘v8::HandleScope::HandleScope(v8::Isolate*&)’\r\n../node-dht-sensor.cpp:207:30: note: candidates are:\r\n/home/pi/.node-gyp/0.10.36/deps/v8/include/v8.h:473:3: note: v8::HandleScope::HandleScope(const v8::HandleScope&)\r\n/home/pi/.node-gyp/0.10.36/deps/v8/include/v8.h:473:3: note:   no known conversion for argument 1 from ‘v8::Isolate*’ to ‘const v8::HandleScope&’\r\n/home/pi/.node-gyp/0.10.36/deps/v8/include/v8.h:448:3: note: v8::HandleScope::HandleScope()\r\n/home/pi/.node-gyp/0.10.36/deps/v8/include/v8.h:448:3: note:   candidate expects 0 arguments, 1 provided\r\n../node-dht-sensor.cpp:217:48: error: no matching function for call to ‘v8::Object::New(v8::Isolate*&)’\r\n../node-dht-sensor.cpp:217:48: note: candidate is:\r\n/home/pi/.node-gyp/0.10.36/deps/v8/include/v8.h:1728:33: note: static v8::Local<v8::Object> v8::Object::New()\r\n/home/pi/.node-gyp/0.10.36/deps/v8/include/v8.h:1728:33: note:   candidate expects 0 arguments, 1 provided\r\n../node-dht-sensor.cpp:218:18: error: ‘NewFromUtf8’ is not a member of ‘v8::String’\r\n../node-dht-sensor.cpp:218:89: error: no matching function for call to ‘v8::Number::New(v8::Isolate*&, float&)’\r\n../node-dht-sensor.cpp:218:89: note: candidate is:\r\n/home/pi/.node-gyp/0.10.36/deps/v8/include/v8.h:1381:33: note: static v8::Local<v8::Number> v8::Number::New(double)\r\n/home/pi/.node-gyp/0.10.36/deps/v8/include/v8.h:1381:33: note:   candidate expects 1 argument, 2 provided\r\n../node-dht-sensor.cpp:219:18: error: ‘NewFromUtf8’ is not a member of ‘v8::String’\r\n../node-dht-sensor.cpp:219:95: error: no matching function for call to ‘v8::Number::New(v8::Isolate*&, float&)’\r\n../node-dht-sensor.cpp:219:95: note: candidate is:\r\n/home/pi/.node-gyp/0.10.36/deps/v8/include/v8.h:1381:33: note: static v8::Local<v8::Number> v8::Number::New(double)\r\n/home/pi/.node-gyp/0.10.36/deps/v8/include/v8.h:1381:33: note:   candidate expects 1 argument, 2 provided\r\n../node-dht-sensor.cpp:220:18: error: ‘NewFromUtf8’ is not a member of ‘v8::String’\r\n../node-dht-sensor.cpp:220:92: error: no matching function for call to ‘v8::Boolean::New(v8::Isolate*&, bool)’\r\n../node-dht-sensor.cpp:220:92: note: candidate is:\r\n/home/pi/.node-gyp/0.10.36/deps/v8/include/v8.h:4364:17: note: static v8::Handle<v8::Boolean> v8::Boolean::New(bool)\r\n/home/pi/.node-gyp/0.10.36/deps/v8/include/v8.h:4364:17: note:   candidate expects 1 argument, 2 provided\r\n../node-dht-sensor.cpp:221:18: error: ‘NewFromUtf8’ is not a member of ‘v8::String’\r\n../node-dht-sensor.cpp:221:88: error: no matching function for call to ‘v8::Number::New(v8::Isolate*&, int)’\r\n../node-dht-sensor.cpp:221:88: note: candidate is:\r\n/home/pi/.node-gyp/0.10.36/deps/v8/include/v8.h:1381:33: note: static v8::Local<v8::Number> v8::Number::New(double)\r\n/home/pi/.node-gyp/0.10.36/deps/v8/include/v8.h:1381:33: note:   candidate expects 1 argument, 2 provided\r\n../node-dht-sensor.cpp:223:5: error: ‘args’ was not declared in this scope\r\n../node-dht-sensor.cpp: At global scope:\r\n../node-dht-sensor.cpp:226:21: error: ‘FunctionCallbackInfo’ does not name a type\r\n../node-dht-sensor.cpp:226:21: error: ISO C++ forbids declaration of ‘parameter’ with no type [-fpermissive]\r\n../node-dht-sensor.cpp:226:41: error: expected ‘,’ or ‘...’ before ‘<’ token\r\n../node-dht-sensor.cpp: In function ‘void ReadSpec(int)’:\r\n../node-dht-sensor.cpp:228:30: error: no matching function for call to ‘v8::HandleScope::HandleScope(v8::Isolate*&)’\r\n../node-dht-sensor.cpp:228:30: note: candidates are:\r\n/home/pi/.node-gyp/0.10.36/deps/v8/include/v8.h:473:3: note: v8::HandleScope::HandleScope(const v8::HandleScope&)\r\n/home/pi/.node-gyp/0.10.36/deps/v8/include/v8.h:473:3: note:   no known conversion for argument 1 from ‘v8::Isolate*’ to ‘const v8::HandleScope&’\r\n/home/pi/.node-gyp/0.10.36/deps/v8/include/v8.h:448:3: note: v8::HandleScope::HandleScope()\r\n/home/pi/.node-gyp/0.10.36/deps/v8/include/v8.h:448:3: note:   candidate expects 0 arguments, 1 provided\r\n../node-dht-sensor.cpp:230:9: error: ‘args’ was not declared in this scope\r\n../node-dht-sensor.cpp:231:15: error: ‘class v8::Isolate’ has no member named ‘ThrowException’\r\n../node-dht-sensor.cpp:232:10: error: ‘NewFromUtf8’ is not a member of ‘v8::String’\r\n../node-dht-sensor.cpp:236:22: error: ‘args’ was not declared in this scope\r\n../node-dht-sensor.cpp:238:18: error: ‘class v8::Isolate’ has no member named ‘ThrowException’\r\n../node-dht-sensor.cpp:239:10: error: ‘NewFromUtf8’ is not a member of ‘v8::String’\r\n../node-dht-sensor.cpp:246:19: error: ‘class v8::Isolate’ has no member named ‘ThrowException’\r\n../node-dht-sensor.cpp:247:11: error: ‘NewFromUtf8’ is not a member of ‘v8::String’\r\n../node-dht-sensor.cpp:261:48: error: no matching function for call to ‘v8::Object::New(v8::Isolate*&)’\r\n../node-dht-sensor.cpp:261:48: note: candidate is:\r\n/home/pi/.node-gyp/0.10.36/deps/v8/include/v8.h:1728:33: note: static v8::Local<v8::Object> v8::Object::New()\r\n/home/pi/.node-gyp/0.10.36/deps/v8/include/v8.h:1728:33: note:   candidate expects 0 arguments, 1 provided\r\n../node-dht-sensor.cpp:262:18: error: ‘NewFromUtf8’ is not a member of ‘v8::String’\r\n../node-dht-sensor.cpp:262:89: error: no matching function for call to ‘v8::Number::New(v8::Isolate*&, float&)’\r\n../node-dht-sensor.cpp:262:89: note: candidate is:\r\n/home/pi/.node-gyp/0.10.36/deps/v8/include/v8.h:1381:33: note: static v8::Local<v8::Number> v8::Number::New(double)\r\n/home/pi/.node-gyp/0.10.36/deps/v8/include/v8.h:1381:33: note:   candidate expects 1 argument, 2 provided\r\n../node-dht-sensor.cpp:263:18: error: ‘NewFromUtf8’ is not a member of ‘v8::String’\r\n../node-dht-sensor.cpp:263:95: error: no matching function for call to ‘v8::Number::New(v8::Isolate*&, float&)’\r\n../node-dht-sensor.cpp:263:95: note: candidate is:\r\n/home/pi/.node-gyp/0.10.36/deps/v8/include/v8.h:1381:33: note: static v8::Local<v8::Number> v8::Number::New(double)\r\n/home/pi/.node-gyp/0.10.36/deps/v8/include/v8.h:1381:33: note:   candidate expects 1 argument, 2 provided\r\n../node-dht-sensor.cpp:264:18: error: ‘NewFromUtf8’ is not a member of ‘v8::String’\r\n../node-dht-sensor.cpp:264:92: error: no matching function for call to ‘v8::Boolean::New(v8::Isolate*&, bool)’\r\n../node-dht-sensor.cpp:264:92: note: candidate is:\r\n/home/pi/.node-gyp/0.10.36/deps/v8/include/v8.h:4364:17: note: static v8::Handle<v8::Boolean> v8::Boolean::New(bool)\r\n/home/pi/.node-gyp/0.10.36/deps/v8/include/v8.h:4364:17: note:   candidate expects 1 argument, 2 provided\r\n../node-dht-sensor.cpp:265:18: error: ‘NewFromUtf8’ is not a member of ‘v8::String’\r\n../node-dht-sensor.cpp:265:88: error: no matching function for call to ‘v8::Number::New(v8::Isolate*&, int)’\r\n../node-dht-sensor.cpp:265:88: note: candidate is:\r\n/home/pi/.node-gyp/0.10.36/deps/v8/include/v8.h:1381:33: note: static v8::Local<v8::Number> v8::Number::New(double)\r\n/home/pi/.node-gyp/0.10.36/deps/v8/include/v8.h:1381:33: note:   candidate expects 1 argument, 2 provided\r\n../node-dht-sensor.cpp: At global scope:\r\n../node-dht-sensor.cpp:270:23: error: ‘FunctionCallbackInfo’ does not name a type\r\n../node-dht-sensor.cpp:270:23: error: ISO C++ forbids declaration of ‘parameter’ with no type [-fpermissive]\r\n../node-dht-sensor.cpp:270:43: error: expected ‘,’ or ‘...’ before ‘<’ token\r\n../node-dht-sensor.cpp: In function ‘void Initialize(int)’:\r\n../node-dht-sensor.cpp:272:30: error: no matching function for call to ‘v8::HandleScope::HandleScope(v8::Isolate*&)’\r\n../node-dht-sensor.cpp:272:30: note: candidates are:\r\n/home/pi/.node-gyp/0.10.36/deps/v8/include/v8.h:473:3: note: v8::HandleScope::HandleScope(const v8::HandleScope&)\r\n/home/pi/.node-gyp/0.10.36/deps/v8/include/v8.h:473:3: note:   no known conversion for argument 1 from ‘v8::Isolate*’ to ‘const v8::HandleScope&’\r\n/home/pi/.node-gyp/0.10.36/deps/v8/include/v8.h:448:3: note: v8::HandleScope::HandleScope()\r\n/home/pi/.node-gyp/0.10.36/deps/v8/include/v8.h:448:3: note:   candidate expects 0 arguments, 1 provided\r\n../node-dht-sensor.cpp:274:9: error: ‘args’ was not declared in this scope\r\n../node-dht-sensor.cpp:275:18: error: ‘class v8::Isolate’ has no member named ‘ThrowException’\r\n../node-dht-sensor.cpp:276:10: error: ‘NewFromUtf8’ is not a member of ‘v8::String’\r\n../node-dht-sensor.cpp:280:10: error: ‘args’ was not declared in this scope\r\n../node-dht-sensor.cpp:281:18: error: ‘class v8::Isolate’ has no member named ‘ThrowException’\r\n../node-dht-sensor.cpp:282:10: error: ‘NewFromUtf8’ is not a member of ‘v8::String’\r\n../node-dht-sensor.cpp:286:22: error: ‘args’ was not declared in this scope\r\n../node-dht-sensor.cpp:288:15: error: ‘class v8::Isolate’ has no member named ‘ThrowException’\r\n../node-dht-sensor.cpp:289:10: error: ‘NewFromUtf8’ is not a member of ‘v8::String’\r\n../node-dht-sensor.cpp:298:70: error: no matching function for call to ‘v8::Boolean::New(v8::Isolate*&, bool)’\r\n../node-dht-sensor.cpp:298:70: note: candidate is:\r\n/home/pi/.node-gyp/0.10.36/deps/v8/include/v8.h:4364:17: note: static v8::Handle<v8::Boolean> v8::Boolean::New(bool)\r\n/home/pi/.node-gyp/0.10.36/deps/v8/include/v8.h:4364:17: note:   candidate expects 1 argument, 2 provided\r\n../node-dht-sensor.cpp: In function ‘void Init(v8::Handle<v8::Object>)’:\r\n../node-dht-sensor.cpp:314:40: error: no matching function for call to ‘SetMethod(v8::Handle<v8::Object>&, const char [5], void (&)(int))’\r\n../node-dht-sensor.cpp:314:40: note: candidate is:\r\n/home/pi/.node-gyp/0.10.36/src/node.h:112:6: note: template<class target_t> void node::SetMethod(target_t, const char*, v8::InvocationCallback)\r\n../node-dht-sensor.cpp:315:48: error: no matching function for call to ‘SetMethod(v8::Handle<v8::Object>&, const char [9], void (&)(int))’\r\n../node-dht-sensor.cpp:315:48: note: candidate is:\r\n/home/pi/.node-gyp/0.10.36/src/node.h:112:6: note: template<class target_t> void node::SetMethod(target_t, const char*, v8::InvocationCallback)\r\n../node-dht-sensor.cpp:316:52: error: no matching function for call to ‘SetMethod(v8::Handle<v8::Object>&, const char [11], void (&)(int))’\r\n../node-dht-sensor.cpp:316:52: note: candidate is:\r\n/home/pi/.node-gyp/0.10.36/src/node.h:112:6: note: template<class target_t> void node::SetMethod(target_t, const char*, v8::InvocationCallback)\r\nnode-dht-sensor.target.mk:80: recipe for target 'Release/obj.target/node-dht-sensor/node-dht-sensor.o' failed\r\nmake: *** [Release/obj.target/node-dht-sensor/node-dht-sensor.o] Error 1\r\nmake: Leaving directory '/home/pi/Desktop/node-red-0.10.1/node_modules/node-dht-sensor/build'\r\ngyp ERR! build error \r\ngyp ERR! stack Error: `make` failed with exit code: 2\r\ngyp ERR! stack     at ChildProcess.onExit (/usr/local/lib/node_modules/npm/node_modules/node-gyp/lib/build.js:267:23)\r\ngyp ERR! stack     at ChildProcess.emit (events.js:98:17)\r\ngyp ERR! stack     at Process.ChildProcess._handle.onexit (child_process.js:820:12)\r\ngyp ERR! System Linux 3.18.7+\r\ngyp ERR! command \"node\" \"/usr/local/lib/node_modules/npm/node_modules/node-gyp/bin/node-gyp.js\" \"rebuild\"\r\ngyp ERR! cwd /home/pi/Desktop/node-red-0.10.1/node_modules/node-dht-sensor\r\ngyp ERR! node -v v0.10.36\r\ngyp ERR! node-gyp -v v1.0.1\r\ngyp ERR! not ok \r\n\r\nnpm ERR! node-dht-sensor@0.0.7 install: `node-gyp rebuild`\r\nnpm ERR! Exit status 1\r\nnpm ERR! \r\nnpm ERR! Failed at the node-dht-sensor@0.0.7 install script.\r\nnpm ERR! This is most likely a problem with the node-dht-sensor package,\r\nnpm ERR! not with npm itself.\r\nnpm ERR! Tell the author that this fails on your system:\r\nnpm ERR!     node-gyp rebuild\r\nnpm ERR! You can get their info via:\r\nnpm ERR!     npm owner ls node-dht-sensor\r\nnpm ERR! There is likely additional logging output above.\r\nnpm ERR! System Linux 3.18.7+\r\nnpm ERR! command \"/usr/local/bin/node\" \"/usr/local/bin/npm\" \"install\" \"node-dht-sensor\"\r\nnpm ERR! cwd /home/pi/Desktop/node-red-0.10.1\r\nnpm ERR! node -v v0.10.36\r\nnpm ERR! npm -v 1.4.28\r\nnpm ERR! code ELIFECYCLE\r\nnpm ERR! not ok code 0)```"}}