{"action":"created","issue":{"url":"https://api.github.com/repos/seattleacademy/mcp9808/issues/2","repository_url":"https://api.github.com/repos/seattleacademy/mcp9808","labels_url":"https://api.github.com/repos/seattleacademy/mcp9808/issues/2/labels{/name}","comments_url":"https://api.github.com/repos/seattleacademy/mcp9808/issues/2/comments","events_url":"https://api.github.com/repos/seattleacademy/mcp9808/issues/2/events","html_url":"https://github.com/seattleacademy/mcp9808/issues/2","id":99222562,"number":2,"title":"sudo npm install mcp9808 --unsafe-perm on raspberry pi fails","user":{"login":"badazz91","id":9801978,"avatar_url":"https://avatars.githubusercontent.com/u/9801978?v=3","gravatar_id":"","url":"https://api.github.com/users/badazz91","html_url":"https://github.com/badazz91","followers_url":"https://api.github.com/users/badazz91/followers","following_url":"https://api.github.com/users/badazz91/following{/other_user}","gists_url":"https://api.github.com/users/badazz91/gists{/gist_id}","starred_url":"https://api.github.com/users/badazz91/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/badazz91/subscriptions","organizations_url":"https://api.github.com/users/badazz91/orgs","repos_url":"https://api.github.com/users/badazz91/repos","events_url":"https://api.github.com/users/badazz91/events{/privacy}","received_events_url":"https://api.github.com/users/badazz91/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":3,"created_at":"2015-08-05T14:51:06Z","updated_at":"2016-04-11T14:11:20Z","closed_at":null,"body":"Hey,\r\n\r\nI'm trying to use it with my raspberry pi Modell B+. But I get this error when installing it via npm.\r\n\r\n```\r\nsudo npm install mcp9808 --unsafe-perm\r\nnpm WARN package.json gpio-server@1.0.0 No repository field.\r\nnpm WARN package.json gpio-server@1.0.0 No README data\r\n|\r\n> i2c@0.1.8 install /root/gpio-server/node_modules/mcp9808/node_modules/i2c\r\n> node-gyp rebuild\r\n\r\nmake: Entering directory '/root/gpio-server/node_modules/mcp9808/node_modules/i2c/build'\r\n  CXX(target) Release/obj.target/i2c/src/i2c.o\r\n../src/i2c.cc: In function ‘void setAddress(int8_t)’:\r\n../src/i2c.cc:21:28: error: ‘New’ is not a member of ‘v8::String’\r\n../src/i2c.cc:22:5: error: ‘ThrowException’ was not declared in this scope\r\n../src/i2c.cc: At global scope:\r\n../src/i2c.cc:26:32: error: ‘Arguments’ does not name a type\r\n../src/i2c.cc:26:43: error: ISO C++ forbids declaration of ‘args’ with no type [-fpermissive]\r\n/root/.node-gyp/0.12.6/deps/v8/include/v8.h: In function ‘v8::Handle<v8::Value> SetAddress(const int&)’:\r\n/root/.node-gyp/0.12.6/deps/v8/include/v8.h:816:13: error: ‘v8::HandleScope::HandleScope()’ is protected\r\n../src/i2c.cc:27:15: error: within this context\r\n../src/i2c.cc:29:16: error: invalid types ‘const int[int]’ for array subscript\r\n../src/i2c.cc:32:16: error: ‘class v8::HandleScope’ has no member named ‘Close’\r\n../src/i2c.cc:32:32: error: too few arguments to function ‘v8::Handle<v8::Primitive> v8::Undefined(v8::Isolate*)’\r\n/root/.node-gyp/0.12.6/deps/v8/include/v8.h:305:28: note: declared here\r\n../src/i2c.cc: At global scope:\r\n../src/i2c.cc:35:26: error: ‘Arguments’ does not name a type\r\n../src/i2c.cc:35:37: error: ISO C++ forbids declaration of ‘args’ with no type [-fpermissive]\r\n/root/.node-gyp/0.12.6/deps/v8/include/v8.h: In function ‘v8::Handle<v8::Value> Scan(const int&)’:\r\n/root/.node-gyp/0.12.6/deps/v8/include/v8.h:816:13: error: ‘v8::HandleScope::HandleScope()’ is protected\r\n../src/i2c.cc:36:15: error: within this context\r\n../src/i2c.cc:39:58: error: invalid types ‘const int[int]’ for array subscript\r\n../src/i2c.cc:40:38: error: invalid conversion from ‘int’ to ‘v8::Isolate*’ [-fpermissive]\r\n/root/.node-gyp/0.12.6/deps/v8/include/v8.h:2417:23: error:   initializing argument 1 of ‘static v8::Local<v8::Array> v8::Array::New(v8::Isolate*, int)’ [-fpermissive]\r\n../src/i2c.cc:41:45: error: too few arguments to function ‘v8::Handle<v8::Primitive> v8::Null(v8::Isolate*)’\r\n/root/.node-gyp/0.12.6/deps/v8/include/v8.h:306:28: note: declared here\r\n../src/i2c.cc:53:37: error: no matching function for call to ‘v8::Integer::New(int&)’\r\n../src/i2c.cc:53:37: note: candidate is:\r\n/root/.node-gyp/0.12.6/deps/v8/include/v8.h:2012:25: note: static v8::Local<v8::Integer> v8::Integer::New(v8::Isolate*, int32_t)\r\n/root/.node-gyp/0.12.6/deps/v8/include/v8.h:2012:25: note:   candidate expects 2 arguments, 1 provided\r\n../src/i2c.cc:60:18: error: ‘GetCurrent’ is not a member of ‘v8::Context’\r\n../src/i2c.cc:62:16: error: ‘class v8::HandleScope’ has no member named ‘Close’\r\n../src/i2c.cc: At global scope:\r\n../src/i2c.cc:65:27: error: ‘Arguments’ does not name a type\r\n../src/i2c.cc:65:38: error: ISO C++ forbids declaration of ‘args’ with no type [-fpermissive]\r\n/root/.node-gyp/0.12.6/deps/v8/include/v8.h: In function ‘v8::Handle<v8::Value> Close(const int&)’:\r\n/root/.node-gyp/0.12.6/deps/v8/include/v8.h:816:13: error: ‘v8::HandleScope::HandleScope()’ is protected\r\n../src/i2c.cc:66:15: error: within this context\r\n../src/i2c.cc:71:16: error: ‘class v8::HandleScope’ has no member named ‘Close’\r\n../src/i2c.cc:71:32: error: too few arguments to function ‘v8::Handle<v8::Primitive> v8::Undefined(v8::Isolate*)’\r\n/root/.node-gyp/0.12.6/deps/v8/include/v8.h:305:28: note: declared here\r\n../src/i2c.cc: At global scope:\r\n../src/i2c.cc:74:26: error: ‘Arguments’ does not name a type\r\n../src/i2c.cc:74:37: error: ISO C++ forbids declaration of ‘args’ with no type [-fpermissive]\r\n/root/.node-gyp/0.12.6/deps/v8/include/v8.h: In function ‘v8::Handle<v8::Value> Open(const int&)’:\r\n/root/.node-gyp/0.12.6/deps/v8/include/v8.h:816:13: error: ‘v8::HandleScope::HandleScope()’ is protected\r\n../src/i2c.cc:75:15: error: within this context\r\n../src/i2c.cc:77:34: error: invalid types ‘const int[int]’ for array subscript\r\n../src/i2c.cc:79:45: error: too few arguments to function ‘v8::Handle<v8::Primitive> v8::Null(v8::Isolate*)’\r\n/root/.node-gyp/0.12.6/deps/v8/include/v8.h:306:28: note: declared here\r\n../src/i2c.cc:83:28: error: ‘New’ is not a member of ‘v8::String’\r\n../src/i2c.cc:86:13: error: invalid types ‘const int[int]’ for array subscript\r\n../src/i2c.cc:88:60: error: invalid types ‘const int[int]’ for array subscript\r\n../src/i2c.cc:91:20: error: ‘GetCurrent’ is not a member of ‘v8::Context’\r\n../src/i2c.cc:94:16: error: ‘class v8::HandleScope’ has no member named ‘Close’\r\n../src/i2c.cc:94:32: error: too few arguments to function ‘v8::Handle<v8::Primitive> v8::Undefined(v8::Isolate*)’\r\n/root/.node-gyp/0.12.6/deps/v8/include/v8.h:305:28: note: declared here\r\n../src/i2c.cc: At global scope:\r\n../src/i2c.cc:97:26: error: ‘Arguments’ does not name a type\r\n../src/i2c.cc:97:37: error: ISO C++ forbids declaration of ‘args’ with no type [-fpermissive]\r\n/root/.node-gyp/0.12.6/deps/v8/include/v8.h: In function ‘v8::Handle<v8::Value> Read(const int&)’:\r\n/root/.node-gyp/0.12.6/deps/v8/include/v8.h:816:13: error: ‘v8::HandleScope::HandleScope()’ is protected\r\n../src/i2c.cc:98:15: error: within this context\r\n../src/i2c.cc:100:19: error: invalid types ‘const int[int]’ for array subscript\r\n../src/i2c.cc:102:34: error: no matching function for call to ‘v8::Array::New()’\r\n../src/i2c.cc:102:34: note: candidate is:\r\n/root/.node-gyp/0.12.6/deps/v8/include/v8.h:2417:23: note: static v8::Local<v8::Array> v8::Array::New(v8::Isolate*, int)\r\n/root/.node-gyp/0.12.6/deps/v8/include/v8.h:2417:23: note:   candidate expects 2 arguments, 0 provided\r\n../src/i2c.cc:105:45: error: too few arguments to function ‘v8::Handle<v8::Primitive> v8::Null(v8::Isolate*)’\r\n/root/.node-gyp/0.12.6/deps/v8/include/v8.h:306:28: note: declared here\r\n../src/i2c.cc:108:28: error: ‘New’ is not a member of ‘v8::String’\r\n../src/i2c.cc:111:39: error: no matching function for call to ‘v8::Integer::New(char&)’\r\n../src/i2c.cc:111:39: note: candidate is:\r\n/root/.node-gyp/0.12.6/deps/v8/include/v8.h:2012:25: note: static v8::Local<v8::Integer> v8::Integer::New(v8::Isolate*, int32_t)\r\n/root/.node-gyp/0.12.6/deps/v8/include/v8.h:2012:25: note:   candidate expects 2 arguments, 1 provided\r\n../src/i2c.cc:116:13: error: invalid types ‘const int[int]’ for array subscript\r\n../src/i2c.cc:118:60: error: invalid types ‘const int[int]’ for array subscript\r\n../src/i2c.cc:121:20: error: ‘GetCurrent’ is not a member of ‘v8::Context’\r\n../src/i2c.cc:124:16: error: ‘class v8::HandleScope’ has no member named ‘Close’\r\n../src/i2c.cc:124:32: error: too few arguments to function ‘v8::Handle<v8::Primitive> v8::Undefined(v8::Isolate*)’\r\n/root/.node-gyp/0.12.6/deps/v8/include/v8.h:305:28: note: declared here\r\n../src/i2c.cc: At global scope:\r\n../src/i2c.cc:127:30: error: ‘Arguments’ does not name a type\r\n../src/i2c.cc:127:41: error: ISO C++ forbids declaration of ‘args’ with no type [-fpermissive]\r\n/root/.node-gyp/0.12.6/deps/v8/include/v8.h: In function ‘v8::Handle<v8::Value> ReadByte(const int&)’:\r\n/root/.node-gyp/0.12.6/deps/v8/include/v8.h:816:13: error: ‘v8::HandleScope::HandleScope()’ is protected\r\n../src/i2c.cc:128:15: error: within this context\r\n../src/i2c.cc:131:45: error: too few arguments to function ‘v8::Handle<v8::Primitive> v8::Null(v8::Isolate*)’\r\n/root/.node-gyp/0.12.6/deps/v8/include/v8.h:306:28: note: declared here\r\n../src/i2c.cc:136:28: error: ‘New’ is not a member of ‘v8::String’\r\n../src/i2c.cc:138:28: error: no matching function for call to ‘v8::Integer::New(int32_t&)’\r\n../src/i2c.cc:138:28: note: candidate is:\r\n/root/.node-gyp/0.12.6/deps/v8/include/v8.h:2012:25: note: static v8::Local<v8::Integer> v8::Integer::New(v8::Isolate*, int32_t)\r\n/root/.node-gyp/0.12.6/deps/v8/include/v8.h:2012:25: note:   candidate expects 2 arguments, 1 provided\r\n../src/i2c.cc:141:13: error: invalid types ‘const int[int]’ for array subscript\r\n../src/i2c.cc:143:60: error: invalid types ‘const int[int]’ for array subscript\r\n../src/i2c.cc:146:20: error: ‘GetCurrent’ is not a member of ‘v8::Context’\r\n../src/i2c.cc:148:16: error: ‘class v8::HandleScope’ has no member named ‘Close’\r\n../src/i2c.cc: At global scope:\r\n../src/i2c.cc:151:31: error: ‘Arguments’ does not name a type\r\n../src/i2c.cc:151:42: error: ISO C++ forbids declaration of ‘args’ with no type [-fpermissive]\r\n/root/.node-gyp/0.12.6/deps/v8/include/v8.h: In function ‘v8::Handle<v8::Value> ReadBlock(const int&)’:\r\n/root/.node-gyp/0.12.6/deps/v8/include/v8.h:816:13: error: ‘v8::HandleScope::HandleScope()’ is protected\r\n../src/i2c.cc:152:15: error: within this context\r\n../src/i2c.cc:154:22: error: invalid types ‘const int[int]’ for array subscript\r\n../src/i2c.cc:155:23: error: invalid types ‘const int[int]’ for array subscript\r\n../src/i2c.cc:157:45: error: too few arguments to function ‘v8::Handle<v8::Primitive> v8::Null(v8::Isolate*)’\r\n/root/.node-gyp/0.12.6/deps/v8/include/v8.h:306:28: note: declared here\r\n../src/i2c.cc:158:16: error: expected primary-expression before ‘*’ token\r\n../src/i2c.cc:158:17: error: ‘buffer’ was not declared in this scope\r\n../src/i2c.cc:160:29: error: ‘GetCurrent’ is not a member of ‘v8::Context’\r\n../src/i2c.cc:161:76: error: ‘New’ is not a member of ‘v8::String’\r\n../src/i2c.cc:162:77: error: no matching function for call to ‘v8::Integer::New(int32_t&)’\r\n../src/i2c.cc:162:77: note: candidate is:\r\n/root/.node-gyp/0.12.6/deps/v8/include/v8.h:2012:25: note: static v8::Local<v8::Integer> v8::Integer::New(v8::Isolate*, int32_t)\r\n/root/.node-gyp/0.12.6/deps/v8/include/v8.h:2012:25: note:   candidate expects 2 arguments, 1 provided\r\n../src/i2c.cc:162:98: error: no matching function for call to ‘v8::Integer::New(int)’\r\n../src/i2c.cc:162:98: note: candidate is:\r\n/root/.node-gyp/0.12.6/deps/v8/include/v8.h:2012:25: note: static v8::Local<v8::Integer> v8::Integer::New(v8::Isolate*, int32_t)\r\n/root/.node-gyp/0.12.6/deps/v8/include/v8.h:2012:25: note:   candidate expects 2 arguments, 1 provided\r\n../src/i2c.cc:167:30: error: ‘New’ is not a member of ‘v8::String’\r\n../src/i2c.cc:172:15: error: invalid types ‘const int[int]’ for array subscript\r\n../src/i2c.cc:174:62: error: invalid types ‘const int[int]’ for array subscript\r\n../src/i2c.cc:176:22: error: ‘GetCurrent’ is not a member of ‘v8::Context’\r\n../src/i2c.cc:179:15: error: invalid types ‘const int[int]’ for array subscript\r\n../src/i2c.cc:180:29: error: invalid types ‘const int[int]’ for array subscript\r\n../src/i2c.cc:186:16: error: ‘class v8::HandleScope’ has no member named ‘Close’\r\n../src/i2c.cc: At global scope:\r\n../src/i2c.cc:189:27: error: ‘Arguments’ does not name a type\r\n../src/i2c.cc:189:38: error: ISO C++ forbids declaration of ‘args’ with no type [-fpermissive]\r\n/root/.node-gyp/0.12.6/deps/v8/include/v8.h: In function ‘v8::Handle<v8::Value> Write(const int&)’:\r\n/root/.node-gyp/0.12.6/deps/v8/include/v8.h:816:13: error: ‘v8::HandleScope::HandleScope()’ is protected\r\n../src/i2c.cc:190:15: error: within this context\r\n../src/i2c.cc:192:31: error: invalid types ‘const int[int]’ for array subscript\r\n../src/i2c.cc:197:45: error: too few arguments to function ‘v8::Handle<v8::Primitive> v8::Null(v8::Isolate*)’\r\n/root/.node-gyp/0.12.6/deps/v8/include/v8.h:306:28: note: declared here\r\n../src/i2c.cc:200:28: error: ‘New’ is not a member of ‘v8::String’\r\n../src/i2c.cc:203:13: error: invalid types ‘const int[int]’ for array subscript\r\n../src/i2c.cc:205:60: error: invalid types ‘const int[int]’ for array subscript\r\n../src/i2c.cc:208:20: error: ‘GetCurrent’ is not a member of ‘v8::Context’\r\n../src/i2c.cc:211:16: error: ‘class v8::HandleScope’ has no member named ‘Close’\r\n../src/i2c.cc:211:32: error: too few arguments to function ‘v8::Handle<v8::Primitive> v8::Undefined(v8::Isolate*)’\r\n/root/.node-gyp/0.12.6/deps/v8/include/v8.h:305:28: note: declared here\r\n../src/i2c.cc: At global scope:\r\n../src/i2c.cc:214:31: error: ‘Arguments’ does not name a type\r\n../src/i2c.cc:214:42: error: ISO C++ forbids declaration of ‘args’ with no type [-fpermissive]\r\n/root/.node-gyp/0.12.6/deps/v8/include/v8.h: In function ‘v8::Handle<v8::Value> WriteByte(const int&)’:\r\n/root/.node-gyp/0.12.6/deps/v8/include/v8.h:816:13: error: ‘v8::HandleScope::HandleScope()’ is protected\r\n../src/i2c.cc:215:15: error: within this context\r\n../src/i2c.cc:217:23: error: invalid types ‘const int[int]’ for array subscript\r\n../src/i2c.cc:218:45: error: too few arguments to function ‘v8::Handle<v8::Primitive> v8::Null(v8::Isolate*)’\r\n/root/.node-gyp/0.12.6/deps/v8/include/v8.h:306:28: note: declared here\r\n../src/i2c.cc:221:28: error: ‘New’ is not a member of ‘v8::String’\r\n../src/i2c.cc:224:13: error: invalid types ‘const int[int]’ for array subscript\r\n../src/i2c.cc:226:60: error: invalid types ‘const int[int]’ for array subscript\r\n../src/i2c.cc:229:20: error: ‘GetCurrent’ is not a member of ‘v8::Context’\r\n../src/i2c.cc:232:16: error: ‘class v8::HandleScope’ has no member named ‘Close’\r\n../src/i2c.cc:232:32: error: too few arguments to function ‘v8::Handle<v8::Primitive> v8::Undefined(v8::Isolate*)’\r\n/root/.node-gyp/0.12.6/deps/v8/include/v8.h:305:28: note: declared here\r\n../src/i2c.cc: At global scope:\r\n../src/i2c.cc:235:32: error: ‘Arguments’ does not name a type\r\n../src/i2c.cc:235:43: error: ISO C++ forbids declaration of ‘args’ with no type [-fpermissive]\r\n/root/.node-gyp/0.12.6/deps/v8/include/v8.h: In function ‘v8::Handle<v8::Value> WriteBlock(const int&)’:\r\n/root/.node-gyp/0.12.6/deps/v8/include/v8.h:816:13: error: ‘v8::HandleScope::HandleScope()’ is protected\r\n../src/i2c.cc:236:15: error: within this context\r\n../src/i2c.cc:238:31: error: invalid types ‘const int[int]’ for array subscript\r\n../src/i2c.cc:240:22: error: invalid types ‘const int[int]’ for array subscript\r\n../src/i2c.cc:244:45: error: too few arguments to function ‘v8::Handle<v8::Primitive> v8::Null(v8::Isolate*)’\r\n/root/.node-gyp/0.12.6/deps/v8/include/v8.h:306:28: note: declared here\r\n../src/i2c.cc:247:28: error: ‘New’ is not a member of ‘v8::String’\r\n../src/i2c.cc:250:13: error: invalid types ‘const int[int]’ for array subscript\r\n../src/i2c.cc:252:60: error: invalid types ‘const int[int]’ for array subscript\r\n../src/i2c.cc:255:20: error: ‘GetCurrent’ is not a member of ‘v8::Context’\r\n../src/i2c.cc:258:16: error: ‘class v8::HandleScope’ has no member named ‘Close’\r\n../src/i2c.cc:258:32: error: too few arguments to function ‘v8::Handle<v8::Primitive> v8::Undefined(v8::Isolate*)’\r\n/root/.node-gyp/0.12.6/deps/v8/include/v8.h:305:28: note: declared here\r\n../src/i2c.cc: At global scope:\r\n../src/i2c.cc:261:31: error: ‘Arguments’ does not name a type\r\n../src/i2c.cc:261:42: error: ISO C++ forbids declaration of ‘args’ with no type [-fpermissive]\r\n/root/.node-gyp/0.12.6/deps/v8/include/v8.h: In function ‘v8::Handle<v8::Value> WriteWord(const int&)’:\r\n/root/.node-gyp/0.12.6/deps/v8/include/v8.h:816:13: error: ‘v8::HandleScope::HandleScope()’ is protected\r\n../src/i2c.cc:262:15: error: within this context\r\n../src/i2c.cc:264:22: error: invalid types ‘const int[int]’ for array subscript\r\n../src/i2c.cc:265:24: error: invalid types ‘const int[int]’ for array subscript\r\n../src/i2c.cc:267:45: error: too few arguments to function ‘v8::Handle<v8::Primitive> v8::Null(v8::Isolate*)’\r\n/root/.node-gyp/0.12.6/deps/v8/include/v8.h:306:28: note: declared here\r\n../src/i2c.cc:270:28: error: ‘New’ is not a member of ‘v8::String’\r\n../src/i2c.cc:273:13: error: invalid types ‘const int[int]’ for array subscript\r\n../src/i2c.cc:275:60: error: invalid types ‘const int[int]’ for array subscript\r\n../src/i2c.cc:278:20: error: ‘GetCurrent’ is not a member of ‘v8::Context’\r\n../src/i2c.cc:281:16: error: ‘class v8::HandleScope’ has no member named ‘Close’\r\n../src/i2c.cc:281:32: error: too few arguments to function ‘v8::Handle<v8::Primitive> v8::Undefined(v8::Isolate*)’\r\n/root/.node-gyp/0.12.6/deps/v8/include/v8.h:305:28: note: declared here\r\n../src/i2c.cc: In function ‘void Init(v8::Handle<v8::Object>)’:\r\n../src/i2c.cc:285:15: error: ‘NewSymbol’ is not a member of ‘v8::String’\r\n../src/i2c.cc:286:31: error: no matching function for call to ‘v8::FunctionTemplate::New(v8::Handle<v8::Value> (&)(const int&))’\r\n../src/i2c.cc:286:31: note: candidate is:\r\n/root/.node-gyp/0.12.6/deps/v8/include/v8.h:3455:34: note: static v8::Local<v8::FunctionTemplate> v8::FunctionTemplate::New(v8::Isolate*, v8::FunctionCallback, v8::Handle<v8::Value>, v8::Handle<v8::Signature>, int)\r\n/root/.node-gyp/0.12.6/deps/v8/include/v8.h:3455:34: note:   no known conversion for argument 1 from ‘v8::Handle<v8::Value>(const int&)’ to ‘v8::Isolate*’\r\n../src/i2c.cc:288:15: error: ‘NewSymbol’ is not a member of ‘v8::String’\r\n../src/i2c.cc:289:37: error: no matching function for call to ‘v8::FunctionTemplate::New(v8::Handle<v8::Value> (&)(const int&))’\r\n../src/i2c.cc:289:37: note: candidate is:\r\n/root/.node-gyp/0.12.6/deps/v8/include/v8.h:3455:34: note: static v8::Local<v8::FunctionTemplate> v8::FunctionTemplate::New(v8::Isolate*, v8::FunctionCallback, v8::Handle<v8::Value>, v8::Handle<v8::Signature>, int)\r\n/root/.node-gyp/0.12.6/deps/v8/include/v8.h:3455:34: note:   no known conversion for argument 1 from ‘v8::Handle<v8::Value>(const int&)’ to ‘v8::Isolate*’\r\n../src/i2c.cc:291:15: error: ‘NewSymbol’ is not a member of ‘v8::String’\r\n../src/i2c.cc:292:31: error: no matching function for call to ‘v8::FunctionTemplate::New(v8::Handle<v8::Value> (&)(const int&))’\r\n../src/i2c.cc:292:31: note: candidate is:\r\n/root/.node-gyp/0.12.6/deps/v8/include/v8.h:3455:34: note: static v8::Local<v8::FunctionTemplate> v8::FunctionTemplate::New(v8::Isolate*, v8::FunctionCallback, v8::Handle<v8::Value>, v8::Handle<v8::Signature>, int)\r\n/root/.node-gyp/0.12.6/deps/v8/include/v8.h:3455:34: note:   no known conversion for argument 1 from ‘v8::Handle<v8::Value>(const int&)’ to ‘v8::Isolate*’\r\n../src/i2c.cc:294:15: error: ‘NewSymbol’ is not a member of ‘v8::String’\r\n../src/i2c.cc:295:32: error: no matching function for call to ‘v8::FunctionTemplate::New(v8::Handle<v8::Value> (&)(const int&))’\r\n../src/i2c.cc:295:32: note: candidate is:\r\n/root/.node-gyp/0.12.6/deps/v8/include/v8.h:3455:34: note: static v8::Local<v8::FunctionTemplate> v8::FunctionTemplate::New(v8::Isolate*, v8::FunctionCallback, v8::Handle<v8::Value>, v8::Handle<v8::Signature>, int)\r\n/root/.node-gyp/0.12.6/deps/v8/include/v8.h:3455:34: note:   no known conversion for argument 1 from ‘v8::Handle<v8::Value>(const int&)’ to ‘v8::Isolate*’\r\n../src/i2c.cc:297:15: error: ‘NewSymbol’ is not a member of ‘v8::String’\r\n../src/i2c.cc:298:34: error: no matching function for call to ‘v8::FunctionTemplate::New(v8::Handle<v8::Value> (&)(const int&))’\r\n../src/i2c.cc:298:34: note: candidate is:\r\n/root/.node-gyp/0.12.6/deps/v8/include/v8.h:3455:34: note: static v8::Local<v8::FunctionTemplate> v8::FunctionTemplate::New(v8::Isolate*, v8::FunctionCallback, v8::Handle<v8::Value>, v8::Handle<v8::Signature>, int)\r\n/root/.node-gyp/0.12.6/deps/v8/include/v8.h:3455:34: note:   no known conversion for argument 1 from ‘v8::Handle<v8::Value>(const int&)’ to ‘v8::Isolate*’\r\n../src/i2c.cc:300:15: error: ‘NewSymbol’ is not a member of ‘v8::String’\r\n../src/i2c.cc:301:38: error: no matching function for call to ‘v8::FunctionTemplate::New(v8::Handle<v8::Value> (&)(const int&))’\r\n../src/i2c.cc:301:38: note: candidate is:\r\n/root/.node-gyp/0.12.6/deps/v8/include/v8.h:3455:34: note: static v8::Local<v8::FunctionTemplate> v8::FunctionTemplate::New(v8::Isolate*, v8::FunctionCallback, v8::Handle<v8::Value>, v8::Handle<v8::Signature>, int)\r\n/root/.node-gyp/0.12.6/deps/v8/include/v8.h:3455:34: note:   no known conversion for argument 1 from ‘v8::Handle<v8::Value>(const int&)’ to ‘v8::Isolate*’\r\n../src/i2c.cc:303:15: error: ‘NewSymbol’ is not a member of ‘v8::String’\r\n../src/i2c.cc:304:39: error: no matching function for call to ‘v8::FunctionTemplate::New(v8::Handle<v8::Value> (&)(const int&))’\r\n../src/i2c.cc:304:39: note: candidate is:\r\n/root/.node-gyp/0.12.6/deps/v8/include/v8.h:3455:34: note: static v8::Local<v8::FunctionTemplate> v8::FunctionTemplate::New(v8::Isolate*, v8::FunctionCallback, v8::Handle<v8::Value>, v8::Handle<v8::Signature>, int)\r\n/root/.node-gyp/0.12.6/deps/v8/include/v8.h:3455:34: note:   no known conversion for argument 1 from ‘v8::Handle<v8::Value>(const int&)’ to ‘v8::Isolate*’\r\n../src/i2c.cc:306:15: error: ‘NewSymbol’ is not a member of ‘v8::String’\r\n../src/i2c.cc:307:31: error: no matching function for call to ‘v8::FunctionTemplate::New(v8::Handle<v8::Value> (&)(const int&))’\r\n../src/i2c.cc:307:31: note: candidate is:\r\n/root/.node-gyp/0.12.6/deps/v8/include/v8.h:3455:34: note: static v8::Local<v8::FunctionTemplate> v8::FunctionTemplate::New(v8::Isolate*, v8::FunctionCallback, v8::Handle<v8::Value>, v8::Handle<v8::Signature>, int)\r\n/root/.node-gyp/0.12.6/deps/v8/include/v8.h:3455:34: note:   no known conversion for argument 1 from ‘v8::Handle<v8::Value>(const int&)’ to ‘v8::Isolate*’\r\n../src/i2c.cc:309:15: error: ‘NewSymbol’ is not a member of ‘v8::String’\r\n../src/i2c.cc:310:35: error: no matching function for call to ‘v8::FunctionTemplate::New(v8::Handle<v8::Value> (&)(const int&))’\r\n../src/i2c.cc:310:35: note: candidate is:\r\n/root/.node-gyp/0.12.6/deps/v8/include/v8.h:3455:34: note: static v8::Local<v8::FunctionTemplate> v8::FunctionTemplate::New(v8::Isolate*, v8::FunctionCallback, v8::Handle<v8::Value>, v8::Handle<v8::Signature>, int)\r\n/root/.node-gyp/0.12.6/deps/v8/include/v8.h:3455:34: note:   no known conversion for argument 1 from ‘v8::Handle<v8::Value>(const int&)’ to ‘v8::Isolate*’\r\n../src/i2c.cc:312:15: error: ‘NewSymbol’ is not a member of ‘v8::String’\r\n../src/i2c.cc:313:36: error: no matching function for call to ‘v8::FunctionTemplate::New(v8::Handle<v8::Value> (&)(const int&))’\r\n../src/i2c.cc:313:36: note: candidate is:\r\n/root/.node-gyp/0.12.6/deps/v8/include/v8.h:3455:34: note: static v8::Local<v8::FunctionTemplate> v8::FunctionTemplate::New(v8::Isolate*, v8::FunctionCallback, v8::Handle<v8::Value>, v8::Handle<v8::Signature>, int)\r\n/root/.node-gyp/0.12.6/deps/v8/include/v8.h:3455:34: note:   no known conversion for argument 1 from ‘v8::Handle<v8::Value>(const int&)’ to ‘v8::Isolate*’\r\n../src/i2c.cc: In function ‘v8::Handle<v8::Value> WriteWord(const int&)’:\r\n../src/i2c.cc:282:1: warning: control reaches end of non-void function [-Wreturn-type]\r\n../src/i2c.cc: In function ‘v8::Handle<v8::Value> WriteBlock(const int&)’:\r\n../src/i2c.cc:259:1: warning: control reaches end of non-void function [-Wreturn-type]\r\n../src/i2c.cc: In function ‘v8::Handle<v8::Value> WriteByte(const int&)’:\r\n../src/i2c.cc:233:1: warning: control reaches end of non-void function [-Wreturn-type]\r\n../src/i2c.cc: In function ‘v8::Handle<v8::Value> Write(const int&)’:\r\n../src/i2c.cc:212:1: warning: control reaches end of non-void function [-Wreturn-type]\r\n../src/i2c.cc: In function ‘v8::Handle<v8::Value> ReadBlock(const int&)’:\r\n../src/i2c.cc:187:1: warning: control reaches end of non-void function [-Wreturn-type]\r\n../src/i2c.cc: In function ‘v8::Handle<v8::Value> ReadByte(const int&)’:\r\n../src/i2c.cc:149:1: warning: control reaches end of non-void function [-Wreturn-type]\r\n../src/i2c.cc: In function ‘v8::Handle<v8::Value> Read(const int&)’:\r\n../src/i2c.cc:125:1: warning: control reaches end of non-void function [-Wreturn-type]\r\n../src/i2c.cc: In function ‘v8::Handle<v8::Value> Open(const int&)’:\r\n../src/i2c.cc:95:1: warning: control reaches end of non-void function [-Wreturn-type]\r\n../src/i2c.cc: In function ‘v8::Handle<v8::Value> Close(const int&)’:\r\n../src/i2c.cc:72:1: warning: control reaches end of non-void function [-Wreturn-type]\r\n../src/i2c.cc: In function ‘v8::Handle<v8::Value> Scan(const int&)’:\r\n../src/i2c.cc:63:1: warning: control reaches end of non-void function [-Wreturn-type]\r\n../src/i2c.cc: In function ‘v8::Handle<v8::Value> SetAddress(const int&)’:\r\n../src/i2c.cc:33:1: warning: control reaches end of non-void function [-Wreturn-type]\r\ni2c.target.mk:83: recipe for target 'Release/obj.target/i2c/src/i2c.o' failed\r\nmake: *** [Release/obj.target/i2c/src/i2c.o] Error 1\r\nmake: Leaving directory '/root/gpio-server/node_modules/mcp9808/node_modules/i2c/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:269:23)\r\ngyp ERR! stack     at ChildProcess.emit (events.js:110:17)\r\ngyp ERR! stack     at Process.ChildProcess._handle.onexit (child_process.js:1074:12)\r\ngyp ERR! System Linux 3.18.11+\r\ngyp ERR! command \"node\" \"/usr/local/lib/node_modules/npm/node_modules/node-gyp/bin/node-gyp.js\" \"rebuild\"\r\ngyp ERR! cwd /root/gpio-server/node_modules/mcp9808/node_modules/i2c\r\ngyp ERR! node -v v0.12.6\r\ngyp ERR! node-gyp -v v2.0.1\r\ngyp ERR! not ok \r\nnpm ERR! Linux 3.18.11+\r\nnpm ERR! argv \"/usr/local/bin/node\" \"/usr/local/bin/npm\" \"install\" \"mcp9808\" \"--unsafe-perm\"\r\nnpm ERR! node v0.12.6\r\nnpm ERR! npm  v2.11.2\r\nnpm ERR! code ELIFECYCLE\r\n\r\nnpm ERR! i2c@0.1.8 install: `node-gyp rebuild`\r\nnpm ERR! Exit status 1\r\nnpm ERR! \r\nnpm ERR! Failed at the i2c@0.1.8 install script 'node-gyp rebuild'.\r\nnpm ERR! This is most likely a problem with the i2c 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 i2c\r\nnpm ERR! There is likely additional logging output above.\r\n\r\nnpm ERR! Please include the following file with any support request:\r\nnpm ERR!     /root/gpio-server/npm-debug.log\r\n```\r\n\r\nIs this a bug? Or am I doing something wrong? Thx."},"comment":{"url":"https://api.github.com/repos/seattleacademy/mcp9808/issues/comments/208366839","html_url":"https://github.com/seattleacademy/mcp9808/issues/2#issuecomment-208366839","issue_url":"https://api.github.com/repos/seattleacademy/mcp9808/issues/2","id":208366839,"user":{"login":"isaaczinda","id":2799308,"avatar_url":"https://avatars.githubusercontent.com/u/2799308?v=3","gravatar_id":"","url":"https://api.github.com/users/isaaczinda","html_url":"https://github.com/isaaczinda","followers_url":"https://api.github.com/users/isaaczinda/followers","following_url":"https://api.github.com/users/isaaczinda/following{/other_user}","gists_url":"https://api.github.com/users/isaaczinda/gists{/gist_id}","starred_url":"https://api.github.com/users/isaaczinda/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/isaaczinda/subscriptions","organizations_url":"https://api.github.com/users/isaaczinda/orgs","repos_url":"https://api.github.com/users/isaaczinda/repos","events_url":"https://api.github.com/users/isaaczinda/events{/privacy}","received_events_url":"https://api.github.com/users/isaaczinda/received_events","type":"User","site_admin":false},"created_at":"2016-04-11T14:11:20Z","updated_at":"2016-04-11T14:11:20Z","body":"Peer,\nWhat model of raspberry pi are you using? My code has only been tested on the raspberry b+, as this is the only one available to me. I am traveling now, but when I return home I'll try an install on my system and try to reproduce your problem. However, I might not be able to get around to it for a while, so maybe try to look into another solution.\nBest,-Isaac Zinda\n\n\n\n\nOn Mon, Apr 11, 2016 at 1:48 AM -0700, \"Peer Jüttner\" <notifications@github.com> wrote:\n\n\n\n\n\nHey @isaaczinda, did you get around to finding a fix?\n\n\n---\nYou are receiving this because you were mentioned.\nReply to this email directly or view it on GitHub:\nhttps://github.com/seattleacademy/mcp9808/issues/2#issuecomment-208234968\n"}}