npm - 2.11.2
node -v 0.12.6
node-gyp 3.0.3
uname -a Linux raspberrypi 4.1.7+ #817 PREEMPT Sat Sep 19 15:25:36 BST 2015 armv6l GNU/Linux
I am unable to get node-red-contrib-bmp085 to install. Is i2c@1.8 the farthest it will run on? It was suggested to me that it "may be that the bmp085 module needs to be updated to use a newer version of the i2c module as the Github page for the i2c modules suggests that you need version greater than 0.1.8 for newer than node 0.11, latest version at this time is 0.2.0"
make: Entering directory '/usr/local/lib/node_modules/node-red-contrib-bmp085/node_modules/bmp085/node_modules/i2c/build'
CXX(target) Release/obj.target/i2c/src/i2c.o
../src/i2c.cc: In function ‘void setAddress(int8t)’:
../src/i2c.cc:21:28: error: ‘New’ is not a member of ‘v8::String’
../src/i2c.cc:22:5: error: ‘ThrowException’ was not declared in this scope
../src/i2c.cc: At global scope:
../src/i2c.cc:26:32: error: ‘Arguments’ does not name a type
../src/i2c.cc:26:43: error: ISO C++ forbids declaration of ‘args’ with no type [-fpermissive]
/root/.node-gyp/0.12.6/deps/v8/include/v8.h: In function ‘v8::Handlev8::Value SetAddress(const int&)’:
/root/.node-gyp/0.12.6/deps/v8/include/v8.h:816:13: error: ‘v8::HandleScope::HandleScope()’ is protected
../src/i2c.cc:27:15: error: within this context
../src/i2c.cc:29:16: error: invalid types ‘const int[int]’ for array subscript
../src/i2c.cc:32:16: error: ‘class v8::HandleScope’ has no member named ‘Close’
../src/i2c.cc:32:32: error: too few arguments to function ‘v8::Handlev8::Primitive v8::Undefined(v8::Isolate)’
/root/.node-gyp/0.12.6/deps/v8/include/v8.h:305:28: note: declared here
../src/i2c.cc: At global scope:
../src/i2c.cc:35:26: error: ‘Arguments’ does not name a type
../src/i2c.cc:35:37: error: ISO C++ forbids declaration of ‘args’ with no type [-fpermissive]
/root/.node-gyp/0.12.6/deps/v8/include/v8.h: In function ‘v8::Handlev8::Value Scan(const int&)’:
/root/.node-gyp/0.12.6/deps/v8/include/v8.h:816:13: error: ‘v8::HandleScope::HandleScope()’ is protected
../src/i2c.cc:36:15: error: within this context
../src/i2c.cc:39:58: error: invalid types ‘const int[int]’ for array subscript
../src/i2c.cc:40:38: error: invalid conversion from ‘int’ to ‘v8::Isolate’ [-fpermissive]
/root/.node-gyp/0.12.6/deps/v8/include/v8.h:2417:23: error: initializing argument 1 of ‘static v8::Localv8::Array v8::Array::New(v8::Isolate, int)’ [-fpermissive]
../src/i2c.cc:41:45: error: too few arguments to function ‘v8::Handlev8::Primitive v8::Null(v8::Isolate)’
/root/.node-gyp/0.12.6/deps/v8/include/v8.h:306:28: note: declared here
../src/i2c.cc:53:37: error: no matching function for call to ‘v8::Integer::New(int&)’
../src/i2c.cc:53:37: note: candidate is:
/root/.node-gyp/0.12.6/deps/v8/include/v8.h:2012:25: note: static v8::Localv8::Integer v8::Integer::New(v8::Isolate, int32t)
/root/.node-gyp/0.12.6/deps/v8/include/v8.h:2012:25: note: candidate expects 2 arguments, 1 provided
../src/i2c.cc:60:18: error: ‘GetCurrent’ is not a member of ‘v8::Context’
../src/i2c.cc:62:16: error: ‘class v8::HandleScope’ has no member named ‘Close’
../src/i2c.cc: At global scope:
../src/i2c.cc:65:27: error: ‘Arguments’ does not name a type
../src/i2c.cc:65:38: error: ISO C++ forbids declaration of ‘args’ with no type [-fpermissive]
/root/.node-gyp/0.12.6/deps/v8/include/v8.h: In function ‘v8::Handlev8::Value Close(const int&)’:
/root/.node-gyp/0.12.6/deps/v8/include/v8.h:816:13: error: ‘v8::HandleScope::HandleScope()’ is protected
../src/i2c.cc:66:15: error: within this context
../src/i2c.cc:71:16: error: ‘class v8::HandleScope’ has no member named ‘Close’
../src/i2c.cc:71:32: error: too few arguments to function ‘v8::Handlev8::Primitive v8::Undefined(v8::Isolate)’
/root/.node-gyp/0.12.6/deps/v8/include/v8.h:305:28: note: declared here
../src/i2c.cc: At global scope:
../src/i2c.cc:74:26: error: ‘Arguments’ does not name a type
../src/i2c.cc:74:37: error: ISO C++ forbids declaration of ‘args’ with no type [-fpermissive]
/root/.node-gyp/0.12.6/deps/v8/include/v8.h: In function ‘v8::Handlev8::Value Open(const int&)’:
/root/.node-gyp/0.12.6/deps/v8/include/v8.h:816:13: error: ‘v8::HandleScope::HandleScope()’ is protected
../src/i2c.cc:75:15: error: within this context
../src/i2c.cc:77:34: error: invalid types ‘const int[int]’ for array subscript
../src/i2c.cc:79:45: error: too few arguments to function ‘v8::Handlev8::Primitive v8::Null(v8::Isolate)’
/root/.node-gyp/0.12.6/deps/v8/include/v8.h:306:28: note: declared here
../src/i2c.cc:83:28: error: ‘New’ is not a member of ‘v8::String’
../src/i2c.cc:86:13: error: invalid types ‘const int[int]’ for array subscript
../src/i2c.cc:88:60: error: invalid types ‘const int[int]’ for array subscript
../src/i2c.cc:91:20: error: ‘GetCurrent’ is not a member of ‘v8::Context’
../src/i2c.cc:94:16: error: ‘class v8::HandleScope’ has no member named ‘Close’
../src/i2c.cc:94:32: error: too few arguments to function ‘v8::Handlev8::Primitive v8::Undefined(v8::Isolate)’
/root/.node-gyp/0.12.6/deps/v8/include/v8.h:305:28: note: declared here
../src/i2c.cc: At global scope:
../src/i2c.cc:97:26: error: ‘Arguments’ does not name a type
../src/i2c.cc:97:37: error: ISO C++ forbids declaration of ‘args’ with no type [-fpermissive]
/root/.node-gyp/0.12.6/deps/v8/include/v8.h: In function ‘v8::Handlev8::Value Read(const int&)’:
/root/.node-gyp/0.12.6/deps/v8/include/v8.h:816:13: error: ‘v8::HandleScope::HandleScope()’ is protected
../src/i2c.cc:98:15: error: within this context
../src/i2c.cc:100:19: error: invalid types ‘const int[int]’ for array subscript
../src/i2c.cc:102:34: error: no matching function for call to ‘v8::Array::New()’
../src/i2c.cc:102:34: note: candidate is:
/root/.node-gyp/0.12.6/deps/v8/include/v8.h:2417:23: note: static v8::Localv8::Array v8::Array::New(v8::Isolate, int)
/root/.node-gyp/0.12.6/deps/v8/include/v8.h:2417:23: note: candidate expects 2 arguments, 0 provided
../src/i2c.cc:105:45: error: too few arguments to function ‘v8::Handlev8::Primitive v8::Null(v8::Isolate)’
/root/.node-gyp/0.12.6/deps/v8/include/v8.h:306:28: note: declared here
../src/i2c.cc:108:28: error: ‘New’ is not a member of ‘v8::String’
../src/i2c.cc:111:39: error: no matching function for call to ‘v8::Integer::New(char&)’
../src/i2c.cc:111:39: note: candidate is:
/root/.node-gyp/0.12.6/deps/v8/include/v8.h:2012:25: note: static v8::Localv8::Integer v8::Integer::New(v8::Isolate_, int32t)
/root/.node-gyp/0.12.6/deps/v8/include/v8.h:2012:25: note: candidate expects 2 arguments, 1 provided
../src/i2c.cc:116:13: error: invalid types ‘const int[int]’ for array subscript
../src/i2c.cc:118:60: error: invalid types ‘const int[int]’ for array subscript
../src/i2c.cc:121:20: error: ‘GetCurrent’ is not a member of ‘v8::Context’
../src/i2c.cc:124:16: error: ‘class v8::HandleScope’ has no member named ‘Close’
../src/i2c.cc:124:32: error: too few arguments to function ‘v8::Handlev8::Primitive v8::Undefined(v8::Isolate)’
/root/.node-gyp/0.12.6/deps/v8/include/v8.h:305:28: note: declared here
../src/i2c.cc: At global scope:
../src/i2c.cc:127:30: error: ‘Arguments’ does not name a type
../src/i2c.cc:127:41: error: ISO C++ forbids declaration of ‘args’ with no type [-fpermissive]
/root/.node-gyp/0.12.6/deps/v8/include/v8.h: In function ‘v8::Handlev8::Value ReadByte(const int&)’:
/root/.node-gyp/0.12.6/deps/v8/include/v8.h:816:13: error: ‘v8::HandleScope::HandleScope()’ is protected
../src/i2c.cc:128:15: error: within this context
../src/i2c.cc:131:45: error: too few arguments to function ‘v8::Handlev8::Primitive v8::Null(v8::Isolate_)’
/root/.node-gyp/0.12.6/deps/v8/include/v8.h:306:28: note: declared here
../src/i2c.cc:136:28: error: ‘New’ is not a member of ‘v8::String’
../src/i2c.cc:138:28: error: no matching function for call to ‘v8::Integer::New(int32t&)’
../src/i2c.cc:138:28: note: candidate is:
/root/.node-gyp/0.12.6/deps/v8/include/v8.h:2012:25: note: static v8::Localv8::Integer v8::Integer::New(v8::Isolate, int32t)
/root/.node-gyp/0.12.6/deps/v8/include/v8.h:2012:25: note: candidate expects 2 arguments, 1 provided
../src/i2c.cc:141:13: error: invalid types ‘const int[int]’ for array subscript
../src/i2c.cc:143:60: error: invalid types ‘const int[int]’ for array subscript
../src/i2c.cc:146:20: error: ‘GetCurrent’ is not a member of ‘v8::Context’
../src/i2c.cc:148:16: error: ‘class v8::HandleScope’ has no member named ‘Close’
../src/i2c.cc: At global scope:
../src/i2c.cc:151:31: error: ‘Arguments’ does not name a type
../src/i2c.cc:151:42: error: ISO C++ forbids declaration of ‘args’ with no type [-fpermissive]
/root/.node-gyp/0.12.6/deps/v8/include/v8.h: In function ‘v8::Handlev8::Value ReadBlock(const int&)’:
/root/.node-gyp/0.12.6/deps/v8/include/v8.h:816:13: error: ‘v8::HandleScope::HandleScope()’ is protected
../src/i2c.cc:152:15: error: within this context
../src/i2c.cc:154:22: error: invalid types ‘const int[int]’ for array subscript
../src/i2c.cc:155:23: error: invalid types ‘const int[int]’ for array subscript
../src/i2c.cc:157:45: error: too few arguments to function ‘v8::Handlev8::Primitive v8::Null(v8::Isolate)’
/root/.node-gyp/0.12.6/deps/v8/include/v8.h:306:28: note: declared here
../src/i2c.cc:158:16: error: expected primary-expression before ‘_’ token
../src/i2c.cc:158:17: error: ‘buffer’ was not declared in this scope
../src/i2c.cc:160:29: error: ‘GetCurrent’ is not a member of ‘v8::Context’
../src/i2c.cc:161:76: error: ‘New’ is not a member of ‘v8::String’
../src/i2c.cc:162:77: error: no matching function for call to ‘v8::Integer::New(int32t&)’
../src/i2c.cc:162:77: note: candidate is:
/root/.node-gyp/0.12.6/deps/v8/include/v8.h:2012:25: note: static v8::Localv8::Integer v8::Integer::New(v8::Isolate, int32t)
/root/.node-gyp/0.12.6/deps/v8/include/v8.h:2012:25: note: candidate expects 2 arguments, 1 provided
../src/i2c.cc:162:98: error: no matching function for call to ‘v8::Integer::New(int)’
../src/i2c.cc:162:98: note: candidate is:
/root/.node-gyp/0.12.6/deps/v8/include/v8.h:2012:25: note: static v8::Localv8::Integer v8::Integer::New(v8::Isolate, int32t)
/root/.node-gyp/0.12.6/deps/v8/include/v8.h:2012:25: note: candidate expects 2 arguments, 1 provided
../src/i2c.cc:167:30: error: ‘New’ is not a member of ‘v8::String’
../src/i2c.cc:172:15: error: invalid types ‘const int[int]’ for array subscript
../src/i2c.cc:174:62: error: invalid types ‘const int[int]’ for array subscript
../src/i2c.cc:176:22: error: ‘GetCurrent’ is not a member of ‘v8::Context’
../src/i2c.cc:179:15: error: invalid types ‘const int[int]’ for array subscript
../src/i2c.cc:180:29: error: invalid types ‘const int[int]’ for array subscript
../src/i2c.cc:186:16: error: ‘class v8::HandleScope’ has no member named ‘Close’
../src/i2c.cc: At global scope:
../src/i2c.cc:189:27: error: ‘Arguments’ does not name a type
../src/i2c.cc:189:38: error: ISO C++ forbids declaration of ‘args’ with no type [-fpermissive]
/root/.node-gyp/0.12.6/deps/v8/include/v8.h: In function ‘v8::Handlev8::Value Write(const int&)’:
/root/.node-gyp/0.12.6/deps/v8/include/v8.h:816:13: error: ‘v8::HandleScope::HandleScope()’ is protected
../src/i2c.cc:190:15: error: within this context
../src/i2c.cc:192:31: error: invalid types ‘const int[int]’ for array subscript
../src/i2c.cc:197:45: error: too few arguments to function ‘v8::Handlev8::Primitive v8::Null(v8::Isolate)’
/root/.node-gyp/0.12.6/deps/v8/include/v8.h:306:28: note: declared here
../src/i2c.cc:200:28: error: ‘New’ is not a member of ‘v8::String’
../src/i2c.cc:203:13: error: invalid types ‘const int[int]’ for array subscript
../src/i2c.cc:205:60: error: invalid types ‘const int[int]’ for array subscript
../src/i2c.cc:208:20: error: ‘GetCurrent’ is not a member of ‘v8::Context’
../src/i2c.cc:211:16: error: ‘class v8::HandleScope’ has no member named ‘Close’
../src/i2c.cc:211:32: error: too few arguments to function ‘v8::Handlev8::Primitive v8::Undefined(v8::Isolate)’
/root/.node-gyp/0.12.6/deps/v8/include/v8.h:305:28: note: declared here
../src/i2c.cc: At global scope:
../src/i2c.cc:214:31: error: ‘Arguments’ does not name a type
../src/i2c.cc:214:42: error: ISO C++ forbids declaration of ‘args’ with no type [-fpermissive]
/root/.node-gyp/0.12.6/deps/v8/include/v8.h: In function ‘v8::Handlev8::Value WriteByte(const int&)’:
/root/.node-gyp/0.12.6/deps/v8/include/v8.h:816:13: error: ‘v8::HandleScope::HandleScope()’ is protected
../src/i2c.cc:215:15: error: within this context
../src/i2c.cc:217:23: error: invalid types ‘const int[int]’ for array subscript
../src/i2c.cc:218:45: error: too few arguments to function ‘v8::Handlev8::Primitive v8::Null(v8::Isolate)’
/root/.node-gyp/0.12.6/deps/v8/include/v8.h:306:28: note: declared here
../src/i2c.cc:221:28: error: ‘New’ is not a member of ‘v8::String’
../src/i2c.cc:224:13: error: invalid types ‘const int[int]’ for array subscript
../src/i2c.cc:226:60: error: invalid types ‘const int[int]’ for array subscript
../src/i2c.cc:229:20: error: ‘GetCurrent’ is not a member of ‘v8::Context’
../src/i2c.cc:232:16: error: ‘class v8::HandleScope’ has no member named ‘Close’
../src/i2c.cc:232:32: error: too few arguments to function ‘v8::Handlev8::Primitive v8::Undefined(v8::Isolate)’
/root/.node-gyp/0.12.6/deps/v8/include/v8.h:305:28: note: declared here
../src/i2c.cc: At global scope:
../src/i2c.cc:235:32: error: ‘Arguments’ does not name a type
../src/i2c.cc:235:43: error: ISO C++ forbids declaration of ‘args’ with no type [-fpermissive]
/root/.node-gyp/0.12.6/deps/v8/include/v8.h: In function ‘v8::Handlev8::Value WriteBlock(const int&)’:
/root/.node-gyp/0.12.6/deps/v8/include/v8.h:816:13: error: ‘v8::HandleScope::HandleScope()’ is protected
../src/i2c.cc:236:15: error: within this context
../src/i2c.cc:238:31: error: invalid types ‘const int[int]’ for array subscript
../src/i2c.cc:240:22: error: invalid types ‘const int[int]’ for array subscript
../src/i2c.cc:244:45: error: too few arguments to function ‘v8::Handlev8::Primitive v8::Null(v8::Isolate)’
/root/.node-gyp/0.12.6/deps/v8/include/v8.h:306:28: note: declared here
../src/i2c.cc:247:28: error: ‘New’ is not a member of ‘v8::String’
../src/i2c.cc:250:13: error: invalid types ‘const int[int]’ for array subscript
../src/i2c.cc:252:60: error: invalid types ‘const int[int]’ for array subscript
../src/i2c.cc:255:20: error: ‘GetCurrent’ is not a member of ‘v8::Context’
../src/i2c.cc:258:16: error: ‘class v8::HandleScope’ has no member named ‘Close’
../src/i2c.cc:258:32: error: too few arguments to function ‘v8::Handlev8::Primitive v8::Undefined(v8::Isolate)’
/root/.node-gyp/0.12.6/deps/v8/include/v8.h:305:28: note: declared here
../src/i2c.cc: At global scope:
../src/i2c.cc:261:31: error: ‘Arguments’ does not name a type
../src/i2c.cc:261:42: error: ISO C++ forbids declaration of ‘args’ with no type [-fpermissive]
/root/.node-gyp/0.12.6/deps/v8/include/v8.h: In function ‘v8::Handlev8::Value WriteWord(const int&)’:
/root/.node-gyp/0.12.6/deps/v8/include/v8.h:816:13: error: ‘v8::HandleScope::HandleScope()’ is protected
../src/i2c.cc:262:15: error: within this context
../src/i2c.cc:264:22: error: invalid types ‘const int[int]’ for array subscript
../src/i2c.cc:265:24: error: invalid types ‘const int[int]’ for array subscript
../src/i2c.cc:267:45: error: too few arguments to function ‘v8::Handlev8::Primitive v8::Null(v8::Isolate)’
/root/.node-gyp/0.12.6/deps/v8/include/v8.h:306:28: note: declared here
../src/i2c.cc:270:28: error: ‘New’ is not a member of ‘v8::String’
../src/i2c.cc:273:13: error: invalid types ‘const int[int]’ for array subscript
../src/i2c.cc:275:60: error: invalid types ‘const int[int]’ for array subscript
../src/i2c.cc:278:20: error: ‘GetCurrent’ is not a member of ‘v8::Context’
../src/i2c.cc:281:16: error: ‘class v8::HandleScope’ has no member named ‘Close’
../src/i2c.cc:281:32: error: too few arguments to function ‘v8::Handlev8::Primitive v8::Undefined(v8::Isolate)’
/root/.node-gyp/0.12.6/deps/v8/include/v8.h:305:28: note: declared here
../src/i2c.cc: In function ‘void Init(v8::Handlev8::Object)’:
../src/i2c.cc:285:15: error: ‘NewSymbol’ is not a member of ‘v8::String’
../src/i2c.cc:286:31: error: no matching function for call to ‘v8::FunctionTemplate::New(v8::Handlev8::Value (&)(const int&))’
../src/i2c.cc:286:31: note: candidate is:
/root/.node-gyp/0.12.6/deps/v8/include/v8.h:3455:34: note: static v8::Localv8::FunctionTemplate v8::FunctionTemplate::New(v8::Isolate, v8::FunctionCallback, v8::Handlev8::Value, v8::Handlev8::Signature, int)
/root/.node-gyp/0.12.6/deps/v8/include/v8.h:3455:34: note: no known conversion for argument 1 from ‘v8::Handlev8::Value(const int&)’ to ‘v8::Isolate’
../src/i2c.cc:288:15: error: ‘NewSymbol’ is not a member of ‘v8::String’
../src/i2c.cc:289:37: error: no matching function for call to ‘v8::FunctionTemplate::New(v8::Handlev8::Value (&)(const int&))’
../src/i2c.cc:289:37: note: candidate is:
/root/.node-gyp/0.12.6/deps/v8/include/v8.h:3455:34: note: static v8::Localv8::FunctionTemplate v8::FunctionTemplate::New(v8::Isolate, v8::FunctionCallback, v8::Handlev8::Value, v8::Handlev8::Signature, int)
/root/.node-gyp/0.12.6/deps/v8/include/v8.h:3455:34: note: no known conversion for argument 1 from ‘v8::Handlev8::Value(const int&)’ to ‘v8::Isolate’
../src/i2c.cc:291:15: error: ‘NewSymbol’ is not a member of ‘v8::String’
../src/i2c.cc:292:31: error: no matching function for call to ‘v8::FunctionTemplate::New(v8::Handlev8::Value (&)(const int&))’
../src/i2c.cc:292:31: note: candidate is:
/root/.node-gyp/0.12.6/deps/v8/include/v8.h:3455:34: note: static v8::Localv8::FunctionTemplate v8::FunctionTemplate::New(v8::Isolate, v8::FunctionCallback, v8::Handlev8::Value, v8::Handlev8::Signature, int)
/root/.node-gyp/0.12.6/deps/v8/include/v8.h:3455:34: note: no known conversion for argument 1 from ‘v8::Handlev8::Value(const int&)’ to ‘v8::Isolate’
../src/i2c.cc:294:15: error: ‘NewSymbol’ is not a member of ‘v8::String’
../src/i2c.cc:295:32: error: no matching function for call to ‘v8::FunctionTemplate::New(v8::Handlev8::Value (&)(const int&))’
../src/i2c.cc:295:32: note: candidate is:
/root/.node-gyp/0.12.6/deps/v8/include/v8.h:3455:34: note: static v8::Localv8::FunctionTemplate v8::FunctionTemplate::New(v8::Isolate, v8::FunctionCallback, v8::Handlev8::Value, v8::Handlev8::Signature, int)
/root/.node-gyp/0.12.6/deps/v8/include/v8.h:3455:34: note: no known conversion for argument 1 from ‘v8::Handlev8::Value(const int&)’ to ‘v8::Isolate’
../src/i2c.cc:297:15: error: ‘NewSymbol’ is not a member of ‘v8::String’
../src/i2c.cc:298:34: error: no matching function for call to ‘v8::FunctionTemplate::New(v8::Handlev8::Value (&)(const int&))’
../src/i2c.cc:298:34: note: candidate is:
/root/.node-gyp/0.12.6/deps/v8/include/v8.h:3455:34: note: static v8::Localv8::FunctionTemplate v8::FunctionTemplate::New(v8::Isolate, v8::FunctionCallback, v8::Handlev8::Value, v8::Handlev8::Signature, int)
/root/.node-gyp/0.12.6/deps/v8/include/v8.h:3455:34: note: no known conversion for argument 1 from ‘v8::Handlev8::Value(const int&)’ to ‘v8::Isolate’
../src/i2c.cc:300:15: error: ‘NewSymbol’ is not a member of ‘v8::String’
../src/i2c.cc:301:38: error: no matching function for call to ‘v8::FunctionTemplate::New(v8::Handlev8::Value (&)(const int&))’
../src/i2c.cc:301:38: note: candidate is:
/root/.node-gyp/0.12.6/deps/v8/include/v8.h:3455:34: note: static v8::Localv8::FunctionTemplate v8::FunctionTemplate::New(v8::Isolate, v8::FunctionCallback, v8::Handlev8::Value, v8::Handlev8::Signature, int)
/root/.node-gyp/0.12.6/deps/v8/include/v8.h:3455:34: note: no known conversion for argument 1 from ‘v8::Handlev8::Value(const int&)’ to ‘v8::Isolate’
../src/i2c.cc:303:15: error: ‘NewSymbol’ is not a member of ‘v8::String’
../src/i2c.cc:304:39: error: no matching function for call to ‘v8::FunctionTemplate::New(v8::Handlev8::Value (&)(const int&))’
../src/i2c.cc:304:39: note: candidate is:
/root/.node-gyp/0.12.6/deps/v8/include/v8.h:3455:34: note: static v8::Localv8::FunctionTemplate v8::FunctionTemplate::New(v8::Isolate, v8::FunctionCallback, v8::Handlev8::Value, v8::Handlev8::Signature, int)
/root/.node-gyp/0.12.6/deps/v8/include/v8.h:3455:34: note: no known conversion for argument 1 from ‘v8::Handlev8::Value(const int&)’ to ‘v8::Isolate’
../src/i2c.cc:306:15: error: ‘NewSymbol’ is not a member of ‘v8::String’
../src/i2c.cc:307:31: error: no matching function for call to ‘v8::FunctionTemplate::New(v8::Handlev8::Value (&)(const int&))’
../src/i2c.cc:307:31: note: candidate is:
/root/.node-gyp/0.12.6/deps/v8/include/v8.h:3455:34: note: static v8::Localv8::FunctionTemplate v8::FunctionTemplate::New(v8::Isolate, v8::FunctionCallback, v8::Handlev8::Value, v8::Handlev8::Signature, int)
/root/.node-gyp/0.12.6/deps/v8/include/v8.h:3455:34: note: no known conversion for argument 1 from ‘v8::Handlev8::Value(const int&)’ to ‘v8::Isolate’
../src/i2c.cc:309:15: error: ‘NewSymbol’ is not a member of ‘v8::String’
../src/i2c.cc:310:35: error: no matching function for call to ‘v8::FunctionTemplate::New(v8::Handlev8::Value (&)(const int&))’
../src/i2c.cc:310:35: note: candidate is:
/root/.node-gyp/0.12.6/deps/v8/include/v8.h:3455:34: note: static v8::Localv8::FunctionTemplate v8::FunctionTemplate::New(v8::Isolate, v8::FunctionCallback, v8::Handlev8::Value, v8::Handlev8::Signature, int)
/root/.node-gyp/0.12.6/deps/v8/include/v8.h:3455:34: note: no known conversion for argument 1 from ‘v8::Handlev8::Value(const int&)’ to ‘v8::Isolate’
../src/i2c.cc:312:15: error: ‘NewSymbol’ is not a member of ‘v8::String’
../src/i2c.cc:313:36: error: no matching function for call to ‘v8::FunctionTemplate::New(v8::Handlev8::Value (&)(const int&))’
../src/i2c.cc:313:36: note: candidate is:
/root/.node-gyp/0.12.6/deps/v8/include/v8.h:3455:34: note: static v8::Localv8::FunctionTemplate v8::FunctionTemplate::New(v8::Isolate, v8::FunctionCallback, v8::Handlev8::Value, v8::Handlev8::Signature, int)
/root/.node-gyp/0.12.6/deps/v8/include/v8.h:3455:34: note: no known conversion for argument 1 from ‘v8::Handlev8::Value(const int&)’ to ‘v8::Isolate_’
../src/i2c.cc: In function ‘v8::Handlev8::Value WriteWord(const int&)’:
../src/i2c.cc:282:1: warning: control reaches end of non-void function [-Wreturn-type]
../src/i2c.cc: In function ‘v8::Handlev8::Value WriteBlock(const int&)’:
../src/i2c.cc:259:1: warning: control reaches end of non-void function [-Wreturn-type]
../src/i2c.cc: In function ‘v8::Handlev8::Value WriteByte(const int&)’:
../src/i2c.cc:233:1: warning: control reaches end of non-void function [-Wreturn-type]
../src/i2c.cc: In function ‘v8::Handlev8::Value Write(const int&)’:
../src/i2c.cc:212:1: warning: control reaches end of non-void function [-Wreturn-type]
../src/i2c.cc: In function ‘v8::Handlev8::Value ReadBlock(const int&)’:
../src/i2c.cc:187:1: warning: control reaches end of non-void function [-Wreturn-type]
../src/i2c.cc: In function ‘v8::Handlev8::Value ReadByte(const int&)’:
../src/i2c.cc:149:1: warning: control reaches end of non-void function [-Wreturn-type]
../src/i2c.cc: In function ‘v8::Handlev8::Value Read(const int&)’:
../src/i2c.cc:125:1: warning: control reaches end of non-void function [-Wreturn-type]
../src/i2c.cc: In function ‘v8::Handlev8::Value Open(const int&)’:
../src/i2c.cc:95:1: warning: control reaches end of non-void function [-Wreturn-type]
../src/i2c.cc: In function ‘v8::Handlev8::Value Close(const int&)’:
../src/i2c.cc:72:1: warning: control reaches end of non-void function [-Wreturn-type]
../src/i2c.cc: In function ‘v8::Handlev8::Value Scan(const int&)’:
../src/i2c.cc:63:1: warning: control reaches end of non-void function [-Wreturn-type]
../src/i2c.cc: In function ‘v8::Handlev8::Value SetAddress(const int&)’:
../src/i2c.cc:33:1: warning: control reaches end of non-void function [-Wreturn-type]
i2c.target.mk:83: recipe for target 'Release/obj.target/i2c/src/i2c.o' failed
make: *\ [Release/obj.target/i2c/src/i2c.o] Error 1
make: Leaving directory '/usr/local/lib/node_modules/node-red-contrib-bmp085/node_modules/bmp085/node_modules/i2c/build'
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:269:23)
gyp ERR! stack at ChildProcess.emit (events.js:110:17)
gyp ERR! stack at Process.ChildProcess._handle.onexit (child_process.js:1074:12)
gyp ERR! System Linux 4.1.7+
gyp ERR! command "node" "/usr/local/lib/node_modules/npm/node_modules/node-gyp/bin/node-gyp.js" "rebuild"
gyp ERR! cwd /usr/local/lib/node_modules/node-red-contrib-bmp085/node_modules/bmp085/node_modules/i2c
gyp ERR! node -v v0.12.6
gyp ERR! node-gyp -v v2.0.1
gyp ERR! not ok
npm ERR! Linux 4.1.7+
npm ERR! argv "/usr/local/bin/node" "/usr/local/bin/npm" "install" "-g" "--unsafe-perm" "node-red-contrib-bmp085"
npm ERR! node v0.12.6
npm ERR! npm v2.11.2
npm ERR! code ELIFECYCLE
npm ERR! i2c@0.1.8 install: node-gyp rebuild
npm ERR! Exit status 1
npm ERR!
npm ERR! Failed at the i2c@0.1.8 install script 'node-gyp rebuild'.
npm ERR! This is most likely a problem with the i2c 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 their info via:
npm ERR! npm owner ls i2c
npm ERR! There is likely additional logging output above.
npm ERR! Please include the following file with any support request:
npm ERR! /var/rpi/node-red/npm-debug.log
npm - 2.11.2 node -v 0.12.6 node-gyp 3.0.3 uname -a Linux raspberrypi 4.1.7+ #817 PREEMPT Sat Sep 19 15:25:36 BST 2015 armv6l GNU/Linux
I am unable to get node-red-contrib-bmp085 to install. Is i2c@1.8 the farthest it will run on? It was suggested to me that it "may be that the bmp085 module needs to be updated to use a newer version of the i2c module as the Github page for the i2c modules suggests that you need version greater than 0.1.8 for newer than node 0.11, latest version at this time is 0.2.0"
pi@raspberrypi /var/rpi/node-red $ sudo npm install -g --unsafe-perm node-red-contrib-bmp085 |
make: Entering directory '/usr/local/lib/node_modules/node-red-contrib-bmp085/node_modules/bmp085/node_modules/i2c/build' CXX(target) Release/obj.target/i2c/src/i2c.o ../src/i2c.cc: In function ‘void setAddress(int8t)’: ../src/i2c.cc:21:28: error: ‘New’ is not a member of ‘v8::String’ ../src/i2c.cc:22:5: error: ‘ThrowException’ was not declared in this scope ../src/i2c.cc: At global scope: ../src/i2c.cc:26:32: error: ‘Arguments’ does not name a type ../src/i2c.cc:26:43: error: ISO C++ forbids declaration of ‘args’ with no type [-fpermissive] /root/.node-gyp/0.12.6/deps/v8/include/v8.h: In function ‘v8::Handlev8::Value SetAddress(const int&)’: /root/.node-gyp/0.12.6/deps/v8/include/v8.h:816:13: error: ‘v8::HandleScope::HandleScope()’ is protected ../src/i2c.cc:27:15: error: within this context ../src/i2c.cc:29:16: error: invalid types ‘const int[int]’ for array subscript ../src/i2c.cc:32:16: error: ‘class v8::HandleScope’ has no member named ‘Close’ ../src/i2c.cc:32:32: error: too few arguments to function ‘v8::Handlev8::Primitive v8::Undefined(v8::Isolate)’ /root/.node-gyp/0.12.6/deps/v8/include/v8.h:305:28: note: declared here ../src/i2c.cc: At global scope: ../src/i2c.cc:35:26: error: ‘Arguments’ does not name a type ../src/i2c.cc:35:37: error: ISO C++ forbids declaration of ‘args’ with no type [-fpermissive] /root/.node-gyp/0.12.6/deps/v8/include/v8.h: In function ‘v8::Handlev8::Value Scan(const int&)’: /root/.node-gyp/0.12.6/deps/v8/include/v8.h:816:13: error: ‘v8::HandleScope::HandleScope()’ is protected ../src/i2c.cc:36:15: error: within this context ../src/i2c.cc:39:58: error: invalid types ‘const int[int]’ for array subscript ../src/i2c.cc:40:38: error: invalid conversion from ‘int’ to ‘v8::Isolate’ [-fpermissive] /root/.node-gyp/0.12.6/deps/v8/include/v8.h:2417:23: error: initializing argument 1 of ‘static v8::Localv8::Array v8::Array::New(v8::Isolate, int)’ [-fpermissive] ../src/i2c.cc:41:45: error: too few arguments to function ‘v8::Handlev8::Primitive v8::Null(v8::Isolate)’ /root/.node-gyp/0.12.6/deps/v8/include/v8.h:306:28: note: declared here ../src/i2c.cc:53:37: error: no matching function for call to ‘v8::Integer::New(int&)’ ../src/i2c.cc:53:37: note: candidate is: /root/.node-gyp/0.12.6/deps/v8/include/v8.h:2012:25: note: static v8::Localv8::Integer v8::Integer::New(v8::Isolate, int32t) /root/.node-gyp/0.12.6/deps/v8/include/v8.h:2012:25: note: candidate expects 2 arguments, 1 provided ../src/i2c.cc:60:18: error: ‘GetCurrent’ is not a member of ‘v8::Context’ ../src/i2c.cc:62:16: error: ‘class v8::HandleScope’ has no member named ‘Close’ ../src/i2c.cc: At global scope: ../src/i2c.cc:65:27: error: ‘Arguments’ does not name a type ../src/i2c.cc:65:38: error: ISO C++ forbids declaration of ‘args’ with no type [-fpermissive] /root/.node-gyp/0.12.6/deps/v8/include/v8.h: In function ‘v8::Handlev8::Value Close(const int&)’: /root/.node-gyp/0.12.6/deps/v8/include/v8.h:816:13: error: ‘v8::HandleScope::HandleScope()’ is protected ../src/i2c.cc:66:15: error: within this context ../src/i2c.cc:71:16: error: ‘class v8::HandleScope’ has no member named ‘Close’ ../src/i2c.cc:71:32: error: too few arguments to function ‘v8::Handlev8::Primitive v8::Undefined(v8::Isolate)’ /root/.node-gyp/0.12.6/deps/v8/include/v8.h:305:28: note: declared here ../src/i2c.cc: At global scope: ../src/i2c.cc:74:26: error: ‘Arguments’ does not name a type ../src/i2c.cc:74:37: error: ISO C++ forbids declaration of ‘args’ with no type [-fpermissive] /root/.node-gyp/0.12.6/deps/v8/include/v8.h: In function ‘v8::Handlev8::Value Open(const int&)’: /root/.node-gyp/0.12.6/deps/v8/include/v8.h:816:13: error: ‘v8::HandleScope::HandleScope()’ is protected ../src/i2c.cc:75:15: error: within this context ../src/i2c.cc:77:34: error: invalid types ‘const int[int]’ for array subscript ../src/i2c.cc:79:45: error: too few arguments to function ‘v8::Handlev8::Primitive v8::Null(v8::Isolate)’ /root/.node-gyp/0.12.6/deps/v8/include/v8.h:306:28: note: declared here ../src/i2c.cc:83:28: error: ‘New’ is not a member of ‘v8::String’ ../src/i2c.cc:86:13: error: invalid types ‘const int[int]’ for array subscript ../src/i2c.cc:88:60: error: invalid types ‘const int[int]’ for array subscript ../src/i2c.cc:91:20: error: ‘GetCurrent’ is not a member of ‘v8::Context’ ../src/i2c.cc:94:16: error: ‘class v8::HandleScope’ has no member named ‘Close’ ../src/i2c.cc:94:32: error: too few arguments to function ‘v8::Handlev8::Primitive v8::Undefined(v8::Isolate)’ /root/.node-gyp/0.12.6/deps/v8/include/v8.h:305:28: note: declared here ../src/i2c.cc: At global scope: ../src/i2c.cc:97:26: error: ‘Arguments’ does not name a type ../src/i2c.cc:97:37: error: ISO C++ forbids declaration of ‘args’ with no type [-fpermissive] /root/.node-gyp/0.12.6/deps/v8/include/v8.h: In function ‘v8::Handlev8::Value Read(const int&)’: /root/.node-gyp/0.12.6/deps/v8/include/v8.h:816:13: error: ‘v8::HandleScope::HandleScope()’ is protected ../src/i2c.cc:98:15: error: within this context ../src/i2c.cc:100:19: error: invalid types ‘const int[int]’ for array subscript ../src/i2c.cc:102:34: error: no matching function for call to ‘v8::Array::New()’ ../src/i2c.cc:102:34: note: candidate is: /root/.node-gyp/0.12.6/deps/v8/include/v8.h:2417:23: note: static v8::Localv8::Array v8::Array::New(v8::Isolate, int) /root/.node-gyp/0.12.6/deps/v8/include/v8.h:2417:23: note: candidate expects 2 arguments, 0 provided ../src/i2c.cc:105:45: error: too few arguments to function ‘v8::Handlev8::Primitive v8::Null(v8::Isolate)’ /root/.node-gyp/0.12.6/deps/v8/include/v8.h:306:28: note: declared here ../src/i2c.cc:108:28: error: ‘New’ is not a member of ‘v8::String’ ../src/i2c.cc:111:39: error: no matching function for call to ‘v8::Integer::New(char&)’ ../src/i2c.cc:111:39: note: candidate is: /root/.node-gyp/0.12.6/deps/v8/include/v8.h:2012:25: note: static v8::Localv8::Integer v8::Integer::New(v8::Isolate_, int32t) /root/.node-gyp/0.12.6/deps/v8/include/v8.h:2012:25: note: candidate expects 2 arguments, 1 provided ../src/i2c.cc:116:13: error: invalid types ‘const int[int]’ for array subscript ../src/i2c.cc:118:60: error: invalid types ‘const int[int]’ for array subscript ../src/i2c.cc:121:20: error: ‘GetCurrent’ is not a member of ‘v8::Context’ ../src/i2c.cc:124:16: error: ‘class v8::HandleScope’ has no member named ‘Close’ ../src/i2c.cc:124:32: error: too few arguments to function ‘v8::Handlev8::Primitive v8::Undefined(v8::Isolate)’ /root/.node-gyp/0.12.6/deps/v8/include/v8.h:305:28: note: declared here ../src/i2c.cc: At global scope: ../src/i2c.cc:127:30: error: ‘Arguments’ does not name a type ../src/i2c.cc:127:41: error: ISO C++ forbids declaration of ‘args’ with no type [-fpermissive] /root/.node-gyp/0.12.6/deps/v8/include/v8.h: In function ‘v8::Handlev8::Value ReadByte(const int&)’: /root/.node-gyp/0.12.6/deps/v8/include/v8.h:816:13: error: ‘v8::HandleScope::HandleScope()’ is protected ../src/i2c.cc:128:15: error: within this context ../src/i2c.cc:131:45: error: too few arguments to function ‘v8::Handlev8::Primitive v8::Null(v8::Isolate_)’ /root/.node-gyp/0.12.6/deps/v8/include/v8.h:306:28: note: declared here ../src/i2c.cc:136:28: error: ‘New’ is not a member of ‘v8::String’ ../src/i2c.cc:138:28: error: no matching function for call to ‘v8::Integer::New(int32t&)’ ../src/i2c.cc:138:28: note: candidate is: /root/.node-gyp/0.12.6/deps/v8/include/v8.h:2012:25: note: static v8::Localv8::Integer v8::Integer::New(v8::Isolate, int32t) /root/.node-gyp/0.12.6/deps/v8/include/v8.h:2012:25: note: candidate expects 2 arguments, 1 provided ../src/i2c.cc:141:13: error: invalid types ‘const int[int]’ for array subscript ../src/i2c.cc:143:60: error: invalid types ‘const int[int]’ for array subscript ../src/i2c.cc:146:20: error: ‘GetCurrent’ is not a member of ‘v8::Context’ ../src/i2c.cc:148:16: error: ‘class v8::HandleScope’ has no member named ‘Close’ ../src/i2c.cc: At global scope: ../src/i2c.cc:151:31: error: ‘Arguments’ does not name a type ../src/i2c.cc:151:42: error: ISO C++ forbids declaration of ‘args’ with no type [-fpermissive] /root/.node-gyp/0.12.6/deps/v8/include/v8.h: In function ‘v8::Handlev8::Value ReadBlock(const int&)’: /root/.node-gyp/0.12.6/deps/v8/include/v8.h:816:13: error: ‘v8::HandleScope::HandleScope()’ is protected ../src/i2c.cc:152:15: error: within this context ../src/i2c.cc:154:22: error: invalid types ‘const int[int]’ for array subscript ../src/i2c.cc:155:23: error: invalid types ‘const int[int]’ for array subscript ../src/i2c.cc:157:45: error: too few arguments to function ‘v8::Handlev8::Primitive v8::Null(v8::Isolate)’ /root/.node-gyp/0.12.6/deps/v8/include/v8.h:306:28: note: declared here ../src/i2c.cc:158:16: error: expected primary-expression before ‘_’ token ../src/i2c.cc:158:17: error: ‘buffer’ was not declared in this scope ../src/i2c.cc:160:29: error: ‘GetCurrent’ is not a member of ‘v8::Context’ ../src/i2c.cc:161:76: error: ‘New’ is not a member of ‘v8::String’ ../src/i2c.cc:162:77: error: no matching function for call to ‘v8::Integer::New(int32t&)’ ../src/i2c.cc:162:77: note: candidate is: /root/.node-gyp/0.12.6/deps/v8/include/v8.h:2012:25: note: static v8::Localv8::Integer v8::Integer::New(v8::Isolate, int32t) /root/.node-gyp/0.12.6/deps/v8/include/v8.h:2012:25: note: candidate expects 2 arguments, 1 provided ../src/i2c.cc:162:98: error: no matching function for call to ‘v8::Integer::New(int)’ ../src/i2c.cc:162:98: note: candidate is: /root/.node-gyp/0.12.6/deps/v8/include/v8.h:2012:25: note: static v8::Localv8::Integer v8::Integer::New(v8::Isolate, int32t) /root/.node-gyp/0.12.6/deps/v8/include/v8.h:2012:25: note: candidate expects 2 arguments, 1 provided ../src/i2c.cc:167:30: error: ‘New’ is not a member of ‘v8::String’ ../src/i2c.cc:172:15: error: invalid types ‘const int[int]’ for array subscript ../src/i2c.cc:174:62: error: invalid types ‘const int[int]’ for array subscript ../src/i2c.cc:176:22: error: ‘GetCurrent’ is not a member of ‘v8::Context’ ../src/i2c.cc:179:15: error: invalid types ‘const int[int]’ for array subscript ../src/i2c.cc:180:29: error: invalid types ‘const int[int]’ for array subscript ../src/i2c.cc:186:16: error: ‘class v8::HandleScope’ has no member named ‘Close’ ../src/i2c.cc: At global scope: ../src/i2c.cc:189:27: error: ‘Arguments’ does not name a type ../src/i2c.cc:189:38: error: ISO C++ forbids declaration of ‘args’ with no type [-fpermissive] /root/.node-gyp/0.12.6/deps/v8/include/v8.h: In function ‘v8::Handlev8::Value Write(const int&)’: /root/.node-gyp/0.12.6/deps/v8/include/v8.h:816:13: error: ‘v8::HandleScope::HandleScope()’ is protected ../src/i2c.cc:190:15: error: within this context ../src/i2c.cc:192:31: error: invalid types ‘const int[int]’ for array subscript ../src/i2c.cc:197:45: error: too few arguments to function ‘v8::Handlev8::Primitive v8::Null(v8::Isolate)’ /root/.node-gyp/0.12.6/deps/v8/include/v8.h:306:28: note: declared here ../src/i2c.cc:200:28: error: ‘New’ is not a member of ‘v8::String’ ../src/i2c.cc:203:13: error: invalid types ‘const int[int]’ for array subscript ../src/i2c.cc:205:60: error: invalid types ‘const int[int]’ for array subscript ../src/i2c.cc:208:20: error: ‘GetCurrent’ is not a member of ‘v8::Context’ ../src/i2c.cc:211:16: error: ‘class v8::HandleScope’ has no member named ‘Close’ ../src/i2c.cc:211:32: error: too few arguments to function ‘v8::Handlev8::Primitive v8::Undefined(v8::Isolate)’ /root/.node-gyp/0.12.6/deps/v8/include/v8.h:305:28: note: declared here ../src/i2c.cc: At global scope: ../src/i2c.cc:214:31: error: ‘Arguments’ does not name a type ../src/i2c.cc:214:42: error: ISO C++ forbids declaration of ‘args’ with no type [-fpermissive] /root/.node-gyp/0.12.6/deps/v8/include/v8.h: In function ‘v8::Handlev8::Value WriteByte(const int&)’: /root/.node-gyp/0.12.6/deps/v8/include/v8.h:816:13: error: ‘v8::HandleScope::HandleScope()’ is protected ../src/i2c.cc:215:15: error: within this context ../src/i2c.cc:217:23: error: invalid types ‘const int[int]’ for array subscript ../src/i2c.cc:218:45: error: too few arguments to function ‘v8::Handlev8::Primitive v8::Null(v8::Isolate)’ /root/.node-gyp/0.12.6/deps/v8/include/v8.h:306:28: note: declared here ../src/i2c.cc:221:28: error: ‘New’ is not a member of ‘v8::String’ ../src/i2c.cc:224:13: error: invalid types ‘const int[int]’ for array subscript ../src/i2c.cc:226:60: error: invalid types ‘const int[int]’ for array subscript ../src/i2c.cc:229:20: error: ‘GetCurrent’ is not a member of ‘v8::Context’ ../src/i2c.cc:232:16: error: ‘class v8::HandleScope’ has no member named ‘Close’ ../src/i2c.cc:232:32: error: too few arguments to function ‘v8::Handlev8::Primitive v8::Undefined(v8::Isolate)’ /root/.node-gyp/0.12.6/deps/v8/include/v8.h:305:28: note: declared here ../src/i2c.cc: At global scope: ../src/i2c.cc:235:32: error: ‘Arguments’ does not name a type ../src/i2c.cc:235:43: error: ISO C++ forbids declaration of ‘args’ with no type [-fpermissive] /root/.node-gyp/0.12.6/deps/v8/include/v8.h: In function ‘v8::Handlev8::Value WriteBlock(const int&)’: /root/.node-gyp/0.12.6/deps/v8/include/v8.h:816:13: error: ‘v8::HandleScope::HandleScope()’ is protected ../src/i2c.cc:236:15: error: within this context ../src/i2c.cc:238:31: error: invalid types ‘const int[int]’ for array subscript ../src/i2c.cc:240:22: error: invalid types ‘const int[int]’ for array subscript ../src/i2c.cc:244:45: error: too few arguments to function ‘v8::Handlev8::Primitive v8::Null(v8::Isolate)’ /root/.node-gyp/0.12.6/deps/v8/include/v8.h:306:28: note: declared here ../src/i2c.cc:247:28: error: ‘New’ is not a member of ‘v8::String’ ../src/i2c.cc:250:13: error: invalid types ‘const int[int]’ for array subscript ../src/i2c.cc:252:60: error: invalid types ‘const int[int]’ for array subscript ../src/i2c.cc:255:20: error: ‘GetCurrent’ is not a member of ‘v8::Context’ ../src/i2c.cc:258:16: error: ‘class v8::HandleScope’ has no member named ‘Close’ ../src/i2c.cc:258:32: error: too few arguments to function ‘v8::Handlev8::Primitive v8::Undefined(v8::Isolate)’ /root/.node-gyp/0.12.6/deps/v8/include/v8.h:305:28: note: declared here ../src/i2c.cc: At global scope: ../src/i2c.cc:261:31: error: ‘Arguments’ does not name a type ../src/i2c.cc:261:42: error: ISO C++ forbids declaration of ‘args’ with no type [-fpermissive] /root/.node-gyp/0.12.6/deps/v8/include/v8.h: In function ‘v8::Handlev8::Value WriteWord(const int&)’: /root/.node-gyp/0.12.6/deps/v8/include/v8.h:816:13: error: ‘v8::HandleScope::HandleScope()’ is protected ../src/i2c.cc:262:15: error: within this context ../src/i2c.cc:264:22: error: invalid types ‘const int[int]’ for array subscript ../src/i2c.cc:265:24: error: invalid types ‘const int[int]’ for array subscript ../src/i2c.cc:267:45: error: too few arguments to function ‘v8::Handlev8::Primitive v8::Null(v8::Isolate)’ /root/.node-gyp/0.12.6/deps/v8/include/v8.h:306:28: note: declared here ../src/i2c.cc:270:28: error: ‘New’ is not a member of ‘v8::String’ ../src/i2c.cc:273:13: error: invalid types ‘const int[int]’ for array subscript ../src/i2c.cc:275:60: error: invalid types ‘const int[int]’ for array subscript ../src/i2c.cc:278:20: error: ‘GetCurrent’ is not a member of ‘v8::Context’ ../src/i2c.cc:281:16: error: ‘class v8::HandleScope’ has no member named ‘Close’ ../src/i2c.cc:281:32: error: too few arguments to function ‘v8::Handlev8::Primitive v8::Undefined(v8::Isolate)’ /root/.node-gyp/0.12.6/deps/v8/include/v8.h:305:28: note: declared here ../src/i2c.cc: In function ‘void Init(v8::Handlev8::Object)’: ../src/i2c.cc:285:15: error: ‘NewSymbol’ is not a member of ‘v8::String’ ../src/i2c.cc:286:31: error: no matching function for call to ‘v8::FunctionTemplate::New(v8::Handlev8::Value (&)(const int&))’ ../src/i2c.cc:286:31: note: candidate is: /root/.node-gyp/0.12.6/deps/v8/include/v8.h:3455:34: note: static v8::Localv8::FunctionTemplate v8::FunctionTemplate::New(v8::Isolate, v8::FunctionCallback, v8::Handlev8::Value, v8::Handlev8::Signature, int) /root/.node-gyp/0.12.6/deps/v8/include/v8.h:3455:34: note: no known conversion for argument 1 from ‘v8::Handlev8::Value(const int&)’ to ‘v8::Isolate’ ../src/i2c.cc:288:15: error: ‘NewSymbol’ is not a member of ‘v8::String’ ../src/i2c.cc:289:37: error: no matching function for call to ‘v8::FunctionTemplate::New(v8::Handlev8::Value (&)(const int&))’ ../src/i2c.cc:289:37: note: candidate is: /root/.node-gyp/0.12.6/deps/v8/include/v8.h:3455:34: note: static v8::Localv8::FunctionTemplate v8::FunctionTemplate::New(v8::Isolate, v8::FunctionCallback, v8::Handlev8::Value, v8::Handlev8::Signature, int) /root/.node-gyp/0.12.6/deps/v8/include/v8.h:3455:34: note: no known conversion for argument 1 from ‘v8::Handlev8::Value(const int&)’ to ‘v8::Isolate’ ../src/i2c.cc:291:15: error: ‘NewSymbol’ is not a member of ‘v8::String’ ../src/i2c.cc:292:31: error: no matching function for call to ‘v8::FunctionTemplate::New(v8::Handlev8::Value (&)(const int&))’ ../src/i2c.cc:292:31: note: candidate is: /root/.node-gyp/0.12.6/deps/v8/include/v8.h:3455:34: note: static v8::Localv8::FunctionTemplate v8::FunctionTemplate::New(v8::Isolate, v8::FunctionCallback, v8::Handlev8::Value, v8::Handlev8::Signature, int) /root/.node-gyp/0.12.6/deps/v8/include/v8.h:3455:34: note: no known conversion for argument 1 from ‘v8::Handlev8::Value(const int&)’ to ‘v8::Isolate’ ../src/i2c.cc:294:15: error: ‘NewSymbol’ is not a member of ‘v8::String’ ../src/i2c.cc:295:32: error: no matching function for call to ‘v8::FunctionTemplate::New(v8::Handlev8::Value (&)(const int&))’ ../src/i2c.cc:295:32: note: candidate is: /root/.node-gyp/0.12.6/deps/v8/include/v8.h:3455:34: note: static v8::Localv8::FunctionTemplate v8::FunctionTemplate::New(v8::Isolate, v8::FunctionCallback, v8::Handlev8::Value, v8::Handlev8::Signature, int) /root/.node-gyp/0.12.6/deps/v8/include/v8.h:3455:34: note: no known conversion for argument 1 from ‘v8::Handlev8::Value(const int&)’ to ‘v8::Isolate’ ../src/i2c.cc:297:15: error: ‘NewSymbol’ is not a member of ‘v8::String’ ../src/i2c.cc:298:34: error: no matching function for call to ‘v8::FunctionTemplate::New(v8::Handlev8::Value (&)(const int&))’ ../src/i2c.cc:298:34: note: candidate is: /root/.node-gyp/0.12.6/deps/v8/include/v8.h:3455:34: note: static v8::Localv8::FunctionTemplate v8::FunctionTemplate::New(v8::Isolate, v8::FunctionCallback, v8::Handlev8::Value, v8::Handlev8::Signature, int) /root/.node-gyp/0.12.6/deps/v8/include/v8.h:3455:34: note: no known conversion for argument 1 from ‘v8::Handlev8::Value(const int&)’ to ‘v8::Isolate’ ../src/i2c.cc:300:15: error: ‘NewSymbol’ is not a member of ‘v8::String’ ../src/i2c.cc:301:38: error: no matching function for call to ‘v8::FunctionTemplate::New(v8::Handlev8::Value (&)(const int&))’ ../src/i2c.cc:301:38: note: candidate is: /root/.node-gyp/0.12.6/deps/v8/include/v8.h:3455:34: note: static v8::Localv8::FunctionTemplate v8::FunctionTemplate::New(v8::Isolate, v8::FunctionCallback, v8::Handlev8::Value, v8::Handlev8::Signature, int) /root/.node-gyp/0.12.6/deps/v8/include/v8.h:3455:34: note: no known conversion for argument 1 from ‘v8::Handlev8::Value(const int&)’ to ‘v8::Isolate’ ../src/i2c.cc:303:15: error: ‘NewSymbol’ is not a member of ‘v8::String’ ../src/i2c.cc:304:39: error: no matching function for call to ‘v8::FunctionTemplate::New(v8::Handlev8::Value (&)(const int&))’ ../src/i2c.cc:304:39: note: candidate is: /root/.node-gyp/0.12.6/deps/v8/include/v8.h:3455:34: note: static v8::Localv8::FunctionTemplate v8::FunctionTemplate::New(v8::Isolate, v8::FunctionCallback, v8::Handlev8::Value, v8::Handlev8::Signature, int) /root/.node-gyp/0.12.6/deps/v8/include/v8.h:3455:34: note: no known conversion for argument 1 from ‘v8::Handlev8::Value(const int&)’ to ‘v8::Isolate’ ../src/i2c.cc:306:15: error: ‘NewSymbol’ is not a member of ‘v8::String’ ../src/i2c.cc:307:31: error: no matching function for call to ‘v8::FunctionTemplate::New(v8::Handlev8::Value (&)(const int&))’ ../src/i2c.cc:307:31: note: candidate is: /root/.node-gyp/0.12.6/deps/v8/include/v8.h:3455:34: note: static v8::Localv8::FunctionTemplate v8::FunctionTemplate::New(v8::Isolate, v8::FunctionCallback, v8::Handlev8::Value, v8::Handlev8::Signature, int) /root/.node-gyp/0.12.6/deps/v8/include/v8.h:3455:34: note: no known conversion for argument 1 from ‘v8::Handlev8::Value(const int&)’ to ‘v8::Isolate’ ../src/i2c.cc:309:15: error: ‘NewSymbol’ is not a member of ‘v8::String’ ../src/i2c.cc:310:35: error: no matching function for call to ‘v8::FunctionTemplate::New(v8::Handlev8::Value (&)(const int&))’ ../src/i2c.cc:310:35: note: candidate is: /root/.node-gyp/0.12.6/deps/v8/include/v8.h:3455:34: note: static v8::Localv8::FunctionTemplate v8::FunctionTemplate::New(v8::Isolate, v8::FunctionCallback, v8::Handlev8::Value, v8::Handlev8::Signature, int) /root/.node-gyp/0.12.6/deps/v8/include/v8.h:3455:34: note: no known conversion for argument 1 from ‘v8::Handlev8::Value(const int&)’ to ‘v8::Isolate’ ../src/i2c.cc:312:15: error: ‘NewSymbol’ is not a member of ‘v8::String’ ../src/i2c.cc:313:36: error: no matching function for call to ‘v8::FunctionTemplate::New(v8::Handlev8::Value (&)(const int&))’ ../src/i2c.cc:313:36: note: candidate is: /root/.node-gyp/0.12.6/deps/v8/include/v8.h:3455:34: note: static v8::Localv8::FunctionTemplate v8::FunctionTemplate::New(v8::Isolate, v8::FunctionCallback, v8::Handlev8::Value, v8::Handlev8::Signature, int) /root/.node-gyp/0.12.6/deps/v8/include/v8.h:3455:34: note: no known conversion for argument 1 from ‘v8::Handlev8::Value(const int&)’ to ‘v8::Isolate_’ ../src/i2c.cc: In function ‘v8::Handlev8::Value WriteWord(const int&)’: ../src/i2c.cc:282:1: warning: control reaches end of non-void function [-Wreturn-type] ../src/i2c.cc: In function ‘v8::Handlev8::Value WriteBlock(const int&)’: ../src/i2c.cc:259:1: warning: control reaches end of non-void function [-Wreturn-type] ../src/i2c.cc: In function ‘v8::Handlev8::Value WriteByte(const int&)’: ../src/i2c.cc:233:1: warning: control reaches end of non-void function [-Wreturn-type] ../src/i2c.cc: In function ‘v8::Handlev8::Value Write(const int&)’: ../src/i2c.cc:212:1: warning: control reaches end of non-void function [-Wreturn-type] ../src/i2c.cc: In function ‘v8::Handlev8::Value ReadBlock(const int&)’: ../src/i2c.cc:187:1: warning: control reaches end of non-void function [-Wreturn-type] ../src/i2c.cc: In function ‘v8::Handlev8::Value ReadByte(const int&)’: ../src/i2c.cc:149:1: warning: control reaches end of non-void function [-Wreturn-type] ../src/i2c.cc: In function ‘v8::Handlev8::Value Read(const int&)’: ../src/i2c.cc:125:1: warning: control reaches end of non-void function [-Wreturn-type] ../src/i2c.cc: In function ‘v8::Handlev8::Value Open(const int&)’: ../src/i2c.cc:95:1: warning: control reaches end of non-void function [-Wreturn-type] ../src/i2c.cc: In function ‘v8::Handlev8::Value Close(const int&)’: ../src/i2c.cc:72:1: warning: control reaches end of non-void function [-Wreturn-type] ../src/i2c.cc: In function ‘v8::Handlev8::Value Scan(const int&)’: ../src/i2c.cc:63:1: warning: control reaches end of non-void function [-Wreturn-type] ../src/i2c.cc: In function ‘v8::Handlev8::Value SetAddress(const int&)’: ../src/i2c.cc:33:1: warning: control reaches end of non-void function [-Wreturn-type] i2c.target.mk:83: recipe for target 'Release/obj.target/i2c/src/i2c.o' failed make: *\ [Release/obj.target/i2c/src/i2c.o] Error 1 make: Leaving directory '/usr/local/lib/node_modules/node-red-contrib-bmp085/node_modules/bmp085/node_modules/i2c/build' 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:269:23) gyp ERR! stack at ChildProcess.emit (events.js:110:17) gyp ERR! stack at Process.ChildProcess._handle.onexit (child_process.js:1074:12) gyp ERR! System Linux 4.1.7+ gyp ERR! command "node" "/usr/local/lib/node_modules/npm/node_modules/node-gyp/bin/node-gyp.js" "rebuild" gyp ERR! cwd /usr/local/lib/node_modules/node-red-contrib-bmp085/node_modules/bmp085/node_modules/i2c gyp ERR! node -v v0.12.6 gyp ERR! node-gyp -v v2.0.1 gyp ERR! not ok npm ERR! Linux 4.1.7+ npm ERR! argv "/usr/local/bin/node" "/usr/local/bin/npm" "install" "-g" "--unsafe-perm" "node-red-contrib-bmp085" npm ERR! node v0.12.6 npm ERR! npm v2.11.2 npm ERR! code ELIFECYCLEnpm ERR! i2c@0.1.8 install:
node-gyp rebuild
npm ERR! Exit status 1 npm ERR! npm ERR! Failed at the i2c@0.1.8 install script 'node-gyp rebuild'. npm ERR! This is most likely a problem with the i2c 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 their info via: npm ERR! npm owner ls i2c npm ERR! There is likely additional logging output above.npm ERR! Please include the following file with any support request: npm ERR! /var/rpi/node-red/npm-debug.log