GithubHelp home page GithubHelp logo

kiriapurv / node-camera Goto Github PK

View Code? Open in Web Editor NEW
145.0 145.0 48.0 442 KB

Access and stream web camera in nodejs using opencv and websockets.

License: MIT License

Python 8.56% JavaScript 16.57% C++ 45.69% HTML 29.18%
nodejs opencv streaming webcam websocket

node-camera's People

Contributors

kiriapurv avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

node-camera's Issues

License?

What is the license for this project? MIT or BSD would be awesome.

Capture

How to capture video in server or client?

An error

Ihors-MacBook-Pro:node-camera ihor$ npm start

> Streaming@ start /Users/ihor/www/node-camera
> node src/main.js


module.js:356
  Module._extensions[extension](this, filename);
                               ^
Error: dlopen(/Users/ihor/www/node-camera/build/Release/camera.node, 1): Symbol not found: _OBJC_CLASS_$_NSApplication
  Referenced from: /Users/ihor/www/node-camera/build/Release/camera.node
  Expected in: dynamic lookup

    at Module.load (module.js:356:32)
    at Function.Module._load (module.js:312:12)
    at Module.require (module.js:364:17)
    at require (module.js:380:17)
    at Object.<anonymous> (/Users/ihor/www/node-camera/src/main.js:2:11)
    at Module._compile (module.js:456:26)
    at Object.Module._extensions..js (module.js:474:10)
    at Module.load (module.js:356:32)
    at Function.Module._load (module.js:312:12)
    at Function.Module.runMain (module.js:497:10)

npm ERR! Streaming@ start: `node src/main.js`
npm ERR! Exit status 8
npm ERR! 
npm ERR! Failed at the Streaming@ start script.
npm ERR! This is most likely a problem with the Streaming package,
npm ERR! not with npm itself.
npm ERR! Tell the author that this fails on your system:
npm ERR!     node src/main.js
npm ERR! You can get their info via:
npm ERR!     npm owner ls Streaming
npm ERR! There is likely additional logging output above.
npm ERR! System Darwin 15.0.0
npm ERR! command "/Users/ihor/.nvm/v0.10.39/bin/node" "/Users/ihor/.nvm/v0.10.39/bin/npm" "start"
npm ERR! cwd /Users/ihor/www/node-camera
npm ERR! node -v v0.10.39
npm ERR! npm -v 1.4.28
npm ERR! code ELIFECYCLE
npm ERR! 
npm ERR! Additional logging details can be found in:
npm ERR!     /Users/ihor/www/node-camera/npm-debug.log
npm ERR! not ok code 0

can´t find libraries - node-camera opencv

Hello,

i to install this Tool to geth a webcam Video Stream and do some things with the picture.
i have done the Steps how it is disscirpt on this page: https://apurv.me/accessing-and-streaming-webcam-in-nodejs-using-opencv-and-websockets/
No1 work correkt
No2 i dont need because i use a raspberry pi
No3 there ich must change the Links on "include"
an my problem now is that i geht this error:

`/home/pi/.node-gyp/10.14.2/include/node/v8config.h:324:3: note: in definition of macro ‘V8_DEPRECATED’
declarator attribute((deprecated(message)))
^~~~~~~~~~
SOLINK_MODULE(target) Release/obj.target/camera.node

/usr/bin/ld: cannot find -lopencv_core
/usr/bin/ld: cannot find -lopencv_highgui
/usr/bin/ld: cannot find -lopencv_imgproc
/usr/bin/ld: cannot find -lopencv_video
/usr/bin/ld: cannot find -lopencv_ml
collect2: error: ld returned 1 exit status
camera.target.mk:134: die Regel für Ziel „Release/obj.target/camera.node“ scheiterte
make: *** [Release/obj.target/camera.node] Fehler 1
make: Verzeichnis „/home/pi/node_programs/WebCamLive/build“ wird verlassen
gyp ERR! build error
gyp ERR! stack Error: make failed with exit code: 2
`
i think i must change the path of this bib, but how its works ?

‘uv_async_t’ does not name a type

Hi,
It seems your code doesn't work with recents node versions.
I have the message :
CXX(target) Release/obj.target/camera/src/native/camera.o
../src/native/camera.cpp:25:1: error: ‘uv_async_t’ does not name a type

when I try to run npm install with node v0.12.1.

Do you know how I could install correctly ?

Thanks for your help.
John

Addon only works for node v0.10?

I try to compile the code with node version 0.10, 0.12, 4.1.2, and only 0.10 works. Since node changes the addon api quite often, why node use NAN instead?

resolution always 640x480

how do i modify the streaming resolution? Regardless the size passed, the frame gets properly resized but the content remains 640x480.

Camera state IsOpen always true

Hey there!, thanks for this awesome code, I'm trying it out and what is happening to me is:

IsOpen() == false

  1. Open(); - IsOpen() == true
  2. Close(); - IsOpen() == false
  3. Open(); - IsOpen() == true
  4. Close(); - IsOpen() == true

And from then I that state won't change, it will be always true.
Any ideas what could be?

Thanks in advance!

npm install fails

Dear Apurv
node-camera fails to compileunder Debian 8.2 with node 0.10.29 and opencv 2.4.9. I get the following error:

$ npm install 
npm WARN package.json Streaming@ No repository field.
-
> Streaming@ install /home/gabe/node-camera-master
> node-gyp rebuild

make: Entering directory '/home/gabe/node-camera-master/build'
  CXX(target) Release/obj.target/camera/src/native/camera.o
../src/native/camera.cpp: In destructor ‘TMessage::~TMessage()’:
../src/native/camera.cpp:37:18: error: ‘class v8::Persistent<v8::Function>’ has no member named ‘Reset’
         callBack.Reset();
                  ^
../src/native/camera.cpp: In function ‘void updateAsync(uv_async_t*, int)’:
../src/native/camera.cpp:53:30: error: no matching function for call to ‘v8::HandleScope::HandleScope(v8::Isolate*&)’
     HandleScope scope(isolate);
                              ^
../src/native/camera.cpp:53:30: note: candidates are:
In file included from /usr/include/nodejs/src/node.h:62:0,
                 from ../src/native/camera.cpp:1:
/usr/include/nodejs/deps/v8/include/v8.h:473:3: note: v8::HandleScope::HandleScope(const v8::HandleScope&)
   HandleScope(const HandleScope&);
   ^
/usr/include/nodejs/deps/v8/include/v8.h:473:3: note:   no known conversion for argument 1 from ‘v8::Isolate*’ to ‘const v8::HandleScope&’
/usr/include/nodejs/deps/v8/include/v8.h:448:3: note: v8::HandleScope::HandleScope()
   HandleScope();
   ^
/usr/include/nodejs/deps/v8/include/v8.h:448:3: note:   candidate expects 0 arguments, 1 provided
../src/native/camera.cpp:57:78: error: no matching function for call to ‘v8::Local<v8::Function>::New(v8::Isolate*&, v8::Persistent<v8::Function>&)’
     Local<Function> callBack = Local<Function>::New(isolate,message->callBack);
                                                                              ^
../src/native/camera.cpp:57:78: note: candidate is:
In file included from /usr/include/nodejs/src/node.h:62:0,
                 from ../src/native/camera.cpp:1:
/usr/include/nodejs/deps/v8/include/v8.h:4197:10: note: static v8::Local<T> v8::Local<T>::New(v8::Handle<T>) [with T = v8::Function]
 Local<T> Local<T>::New(Handle<T> that) {
          ^
/usr/include/nodejs/deps/v8/include/v8.h:4197:10: note:   candidate expects 1 argument, 2 provided
../src/native/camera.cpp:64:69: error: no matching function for call to ‘v8::Array::New(v8::Isolate*&, std::vector<unsigned char>::size_type)’
     Local<Array> arr = Array::New(isolate,asyncMessage->image.size());
                                                                     ^
../src/native/camera.cpp:64:69: note: candidate is:
In file included from /usr/include/nodejs/src/node.h:62:0,
                 from ../src/native/camera.cpp:1:
/usr/include/nodejs/deps/v8/include/v8.h:1758:32: note: static v8::Local<v8::Array> v8::Array::New(int)
   V8EXPORT static Local<Array> New(int length = 0);
                                ^
/usr/include/nodejs/deps/v8/include/v8.h:1758:32: note:   candidate expects 1 argument, 2 provided
../src/native/camera.cpp:67:46: error: invalid conversion from ‘v8::Isolate*’ to ‘int32_t {aka int}’ [-fpermissive]
         arr->Set(pos++,Integer::New(isolate,c));
                                              ^
In file included from /usr/include/nodejs/src/node.h:62:0,
                 from ../src/native/camera.cpp:1:
/usr/include/nodejs/deps/v8/include/v8.h:1392:34: note: initializing argument 1 of ‘static v8::Local<v8::Integer> v8::Integer::New(int32_t, v8::Isolate*)’
   V8EXPORT static Local<Integer> New(int32_t value, Isolate*);
                                  ^
../src/native/camera.cpp:67:46: error: invalid conversion from ‘unsigned char’ to ‘v8::Isolate*’ [-fpermissive]
         arr->Set(pos++,Integer::New(isolate,c));
                                              ^
In file included from /usr/include/nodejs/src/node.h:62:0,
                 from ../src/native/camera.cpp:1:
/usr/include/nodejs/deps/v8/include/v8.h:1392:34: note: initializing argument 2 of ‘static v8::Local<v8::Integer> v8::Integer::New(int32_t, v8::Isolate*)’
   V8EXPORT static Local<Integer> New(int32_t value, Isolate*);
                                  ^
../src/native/camera.cpp:74:29: error: ‘class v8::Isolate’ has no member named ‘GetCurrentContext’
     callBack->Call(isolate->GetCurrentContext()->Global(), 1, argv);
                             ^
../src/native/camera.cpp: In function ‘void CameraClose(uv_work_t*, int)’:
../src/native/camera.cpp:140:30: error: no matching function for call to ‘v8::HandleScope::HandleScope(v8::Isolate*&)’
     HandleScope scope(isolate);
                              ^
../src/native/camera.cpp:140:30: note: candidates are:
In file included from /usr/include/nodejs/src/node.h:62:0,
                 from ../src/native/camera.cpp:1:
/usr/include/nodejs/deps/v8/include/v8.h:473:3: note: v8::HandleScope::HandleScope(const v8::HandleScope&)
   HandleScope(const HandleScope&);
   ^
/usr/include/nodejs/deps/v8/include/v8.h:473:3: note:   no known conversion for argument 1 from ‘v8::Isolate*’ to ‘const v8::HandleScope&’
/usr/include/nodejs/deps/v8/include/v8.h:448:3: note: v8::HandleScope::HandleScope()
   HandleScope();
   ^
/usr/include/nodejs/deps/v8/include/v8.h:448:3: note:   candidate expects 0 arguments, 1 provided
../src/native/camera.cpp: At global scope:
../src/native/camera.cpp:147:19: error: ‘FunctionCallbackInfo’ does not name a type
 void IsOpen(const FunctionCallbackInfo<Value>& args) {
                   ^
../src/native/camera.cpp:147:39: error: expected ‘,’ or ‘...’ before ‘<’ token
 void IsOpen(const FunctionCallbackInfo<Value>& args) {
                                       ^
../src/native/camera.cpp: In function ‘void IsOpen(int)’:
../src/native/camera.cpp:149:30: error: no matching function for call to ‘v8::HandleScope::HandleScope(v8::Isolate*&)’
     HandleScope scope(isolate);
                              ^
../src/native/camera.cpp:149:30: note: candidates are:
In file included from /usr/include/nodejs/src/node.h:62:0,
                 from ../src/native/camera.cpp:1:
/usr/include/nodejs/deps/v8/include/v8.h:473:3: note: v8::HandleScope::HandleScope(const v8::HandleScope&)
   HandleScope(const HandleScope&);
   ^
/usr/include/nodejs/deps/v8/include/v8.h:473:3: note:   no known conversion for argument 1 from ‘v8::Isolate*’ to ‘const v8::HandleScope&’
/usr/include/nodejs/deps/v8/include/v8.h:448:3: note: v8::HandleScope::HandleScope()
   HandleScope();
   ^
/usr/include/nodejs/deps/v8/include/v8.h:448:3: note:   candidate expects 0 arguments, 1 provided
../src/native/camera.cpp:150:5: error: ‘args’ was not declared in this scope
     args.GetReturnValue().Set(Boolean::New(isolate,(m_brk == 1) ? TRUE : FALSE));
     ^
../src/native/camera.cpp:150:79: error: no matching function for call to ‘v8::Boolean::New(v8::Isolate*&, int)’
     args.GetReturnValue().Set(Boolean::New(isolate,(m_brk == 1) ? TRUE : FALSE));
                                                                               ^
../src/native/camera.cpp:150:79: note: candidate is:
In file included from /usr/include/nodejs/src/node.h:62:0,
                 from ../src/native/camera.cpp:1:
/usr/include/nodejs/deps/v8/include/v8.h:4349:17: note: static v8::Handle<v8::Boolean> v8::Boolean::New(bool)
 Handle<Boolean> Boolean::New(bool value) {
                 ^
/usr/include/nodejs/deps/v8/include/v8.h:4349:17: note:   candidate expects 1 argument, 2 provided
../src/native/camera.cpp: At global scope:
../src/native/camera.cpp:153:27: error: ‘FunctionCallbackInfo’ does not name a type
 void GetPreviewSize(const FunctionCallbackInfo<Value>& args) {
                           ^
../src/native/camera.cpp:153:47: error: expected ‘,’ or ‘...’ before ‘<’ token
 void GetPreviewSize(const FunctionCallbackInfo<Value>& args) {
                                               ^
../src/native/camera.cpp: In function ‘void GetPreviewSize(int)’:
../src/native/camera.cpp:155:30: error: no matching function for call to ‘v8::HandleScope::HandleScope(v8::Isolate*&)’
     HandleScope scope(isolate);
                              ^
../src/native/camera.cpp:155:30: note: candidates are:
In file included from /usr/include/nodejs/src/node.h:62:0,
                 from ../src/native/camera.cpp:1:
/usr/include/nodejs/deps/v8/include/v8.h:473:3: note: v8::HandleScope::HandleScope(const v8::HandleScope&)
   HandleScope(const HandleScope&);
   ^
/usr/include/nodejs/deps/v8/include/v8.h:473:3: note:   no known conversion for argument 1 from ‘v8::Isolate*’ to ‘const v8::HandleScope&’
/usr/include/nodejs/deps/v8/include/v8.h:448:3: note: v8::HandleScope::HandleScope()
   HandleScope();
   ^
/usr/include/nodejs/deps/v8/include/v8.h:448:3: note:   candidate expects 0 arguments, 1 provided
../src/native/camera.cpp:156:44: error: no matching function for call to ‘v8::Object::New(v8::Isolate*&)’
     Local<Object> obj = Object::New(isolate);
                                            ^
../src/native/camera.cpp:156:44: note: candidate is:
In file included from /usr/include/nodejs/src/node.h:62:0,
                 from ../src/native/camera.cpp:1:
/usr/include/nodejs/deps/v8/include/v8.h:1724:33: note: static v8::Local<v8::Object> v8::Object::New()
   V8EXPORT static Local<Object> New();
                                 ^
/usr/include/nodejs/deps/v8/include/v8.h:1724:33: note:   candidate expects 0 arguments, 1 provided
../src/native/camera.cpp:157:14: error: ‘NewFromUtf8’ is not a member of ‘v8::String’
     obj->Set(String::NewFromUtf8(isolate,"width"), Integer::New(isolate,preview_width));
              ^
../src/native/camera.cpp:157:86: error: invalid conversion from ‘v8::Isolate*’ to ‘int32_t {aka int}’ [-fpermissive]
     obj->Set(String::NewFromUtf8(isolate,"width"), Integer::New(isolate,preview_width));
                                                                                      ^
In file included from /usr/include/nodejs/src/node.h:62:0,
                 from ../src/native/camera.cpp:1:
/usr/include/nodejs/deps/v8/include/v8.h:1392:34: note: initializing argument 1 of ‘static v8::Local<v8::Integer> v8::Integer::New(int32_t, v8::Isolate*)’
   V8EXPORT static Local<Integer> New(int32_t value, Isolate*);
                                  ^
../src/native/camera.cpp:157:86: error: invalid conversion from ‘int32_t {aka int}’ to ‘v8::Isolate*’ [-fpermissive]
     obj->Set(String::NewFromUtf8(isolate,"width"), Integer::New(isolate,preview_width));
                                                                                      ^
In file included from /usr/include/nodejs/src/node.h:62:0,
                 from ../src/native/camera.cpp:1:
/usr/include/nodejs/deps/v8/include/v8.h:1392:34: note: initializing argument 2 of ‘static v8::Local<v8::Integer> v8::Integer::New(int32_t, v8::Isolate*)’
   V8EXPORT static Local<Integer> New(int32_t value, Isolate*);
                                  ^
../src/native/camera.cpp:158:14: error: ‘NewFromUtf8’ is not a member of ‘v8::String’
     obj->Set(String::NewFromUtf8(isolate,"height"), Integer::New(isolate,preview_height));
              ^
../src/native/camera.cpp:158:88: error: invalid conversion from ‘v8::Isolate*’ to ‘int32_t {aka int}’ [-fpermissive]
     obj->Set(String::NewFromUtf8(isolate,"height"), Integer::New(isolate,preview_height));
                                                                                        ^
In file included from /usr/include/nodejs/src/node.h:62:0,
                 from ../src/native/camera.cpp:1:
/usr/include/nodejs/deps/v8/include/v8.h:1392:34: note: initializing argument 1 of ‘static v8::Local<v8::Integer> v8::Integer::New(int32_t, v8::Isolate*)’
   V8EXPORT static Local<Integer> New(int32_t value, Isolate*);
                                  ^
../src/native/camera.cpp:158:88: error: invalid conversion from ‘int32_t {aka int}’ to ‘v8::Isolate*’ [-fpermissive]
     obj->Set(String::NewFromUtf8(isolate,"height"), Integer::New(isolate,preview_height));
                                                                                        ^
In file included from /usr/include/nodejs/src/node.h:62:0,
                 from ../src/native/camera.cpp:1:
/usr/include/nodejs/deps/v8/include/v8.h:1392:34: note: initializing argument 2 of ‘static v8::Local<v8::Integer> v8::Integer::New(int32_t, v8::Isolate*)’
   V8EXPORT static Local<Integer> New(int32_t value, Isolate*);
                                  ^
../src/native/camera.cpp:159:5: error: ‘args’ was not declared in this scope
     args.GetReturnValue().Set(obj);
     ^
../src/native/camera.cpp: At global scope:
../src/native/camera.cpp:162:17: error: ‘FunctionCallbackInfo’ does not name a type
 void Open(const FunctionCallbackInfo<Value>& args) {
                 ^
../src/native/camera.cpp:162:37: error: expected ‘,’ or ‘...’ before ‘<’ token
 void Open(const FunctionCallbackInfo<Value>& args) {
                                     ^
../src/native/camera.cpp: In function ‘void Open(int)’:
../src/native/camera.cpp:164:30: error: no matching function for call to ‘v8::HandleScope::HandleScope(v8::Isolate*&)’
     HandleScope scope(isolate);
                              ^
../src/native/camera.cpp:164:30: note: candidates are:
In file included from /usr/include/nodejs/src/node.h:62:0,
                 from ../src/native/camera.cpp:1:
/usr/include/nodejs/deps/v8/include/v8.h:473:3: note: v8::HandleScope::HandleScope(const v8::HandleScope&)
   HandleScope(const HandleScope&);
   ^
/usr/include/nodejs/deps/v8/include/v8.h:473:3: note:   no known conversion for argument 1 from ‘v8::Isolate*’ to ‘const v8::HandleScope&’
/usr/include/nodejs/deps/v8/include/v8.h:448:3: note: v8::HandleScope::HandleScope()
   HandleScope();
   ^
/usr/include/nodejs/deps/v8/include/v8.h:448:3: note:   candidate expects 0 arguments, 1 provided
../src/native/camera.cpp:170:9: error: ‘args’ was not declared in this scope
     if(!args[0]->IsFunction()) {
         ^
../src/native/camera.cpp:171:18: error: ‘class v8::Isolate’ has no member named ‘ThrowException’
         isolate->ThrowException(Exception::TypeError(String::NewFromUtf8(isolate,"First argument must be frame callback function")));
                  ^
../src/native/camera.cpp:171:54: error: ‘NewFromUtf8’ is not a member of ‘v8::String’
         isolate->ThrowException(Exception::TypeError(String::NewFromUtf8(isolate,"First argument must be frame callback function")));
                                                      ^
../src/native/camera.cpp:177:47: error: no matching function for call to ‘v8::Number::New(v8::Isolate*&, int)’
     Local<Value> input = Number::New(isolate,0);
                                               ^
../src/native/camera.cpp:177:47: note: candidate is:
In file included from /usr/include/nodejs/src/node.h:62:0,
                 from ../src/native/camera.cpp:1:
/usr/include/nodejs/deps/v8/include/v8.h:1377:33: note: static v8::Local<v8::Number> v8::Number::New(double)
   V8EXPORT static Local<Number> New(double value);
                                 ^
/usr/include/nodejs/deps/v8/include/v8.h:1377:33: note:   candidate expects 1 argument, 2 provided
../src/native/camera.cpp:181:8: error: ‘args’ was not declared in this scope
     if(args.Length() == 2) {
        ^
../src/native/camera.cpp:184:22: error: ‘class v8::Isolate’ has no member named ‘ThrowException’
             isolate->ThrowException(Exception::TypeError(String::NewFromUtf8(isolate,"Second argument must be object")));
                      ^
../src/native/camera.cpp:184:58: error: ‘NewFromUtf8’ is not a member of ‘v8::String’
             isolate->ThrowException(Exception::TypeError(String::NewFromUtf8(isolate,"Second argument must be object")));
                                                          ^
../src/native/camera.cpp:188:24: error: ‘NewFromUtf8’ is not a member of ‘v8::String’
         if(params->Has(String::NewFromUtf8(isolate,"width"))) {
                        ^
../src/native/camera.cpp:189:42: error: ‘NewFromUtf8’ is not a member of ‘v8::String’
             message->width = params->Get(String::NewFromUtf8(isolate,"width"))->Int32Value();
                                          ^
../src/native/camera.cpp:190:43: error: ‘NewFromUtf8’ is not a member of ‘v8::String’
             message->height = params->Get(String::NewFromUtf8(isolate,"height"))->Int32Value();
                                           ^
../src/native/camera.cpp:192:24: error: ‘NewFromUtf8’ is not a member of ‘v8::String’
         if(params->Has(String::NewFromUtf8(isolate,"window"))) {
                        ^
../src/native/camera.cpp:193:43: error: ‘NewFromUtf8’ is not a member of ‘v8::String’
             message->window = params->Get(String::NewFromUtf8(isolate,"window"))->BooleanValue();
                                           ^
../src/native/camera.cpp:195:24: error: ‘NewFromUtf8’ is not a member of ‘v8::String’
         if(params->Has(String::NewFromUtf8(isolate,"codec"))) {
                        ^
../src/native/camera.cpp:196:45: error: ‘NewFromUtf8’ is not a member of ‘v8::String’
             Local<String> val = params->Get(String::NewFromUtf8(isolate,"codec"))->ToString();
                                             ^
../src/native/camera.cpp:199:24: error: ‘NewFromUtf8’ is not a member of ‘v8::String’
         if(params->Has(String::NewFromUtf8(isolate,"input"))) {
                        ^
../src/native/camera.cpp:200:46: error: ‘NewFromUtf8’ is not a member of ‘v8::String’
             Local<Value> input = params->Get(String::NewFromUtf8(isolate,"input"));
                                              ^
../src/native/camera.cpp:211:23: error: ‘class v8::Persistent<v8::Function>’ has no member named ‘Reset’
     message->callBack.Reset(isolate,Handle<Function>::Cast(args[0]));
                       ^
../src/native/camera.cpp:211:60: error: ‘args’ was not declared in this scope
     message->callBack.Reset(isolate,Handle<Function>::Cast(args[0]));
                                                            ^
../src/native/camera.cpp:230:31: error: ‘NewFromUtf8’ is not a member of ‘v8::String’
     args.GetReturnValue().Set(String::NewFromUtf8(isolate,"ok"));
                               ^
../src/native/camera.cpp: At global scope:
../src/native/camera.cpp:233:18: error: ‘FunctionCallbackInfo’ does not name a type
 void Close(const FunctionCallbackInfo<Value>& args) {
                  ^
../src/native/camera.cpp:233:38: error: expected ‘,’ or ‘...’ before ‘<’ token
 void Close(const FunctionCallbackInfo<Value>& args) {
                                      ^
../src/native/camera.cpp: In function ‘void Close(int)’:
../src/native/camera.cpp:235:30: error: no matching function for call to ‘v8::HandleScope::HandleScope(v8::Isolate*&)’
     HandleScope scope(isolate);
                              ^
../src/native/camera.cpp:235:30: note: candidates are:
In file included from /usr/include/nodejs/src/node.h:62:0,
                 from ../src/native/camera.cpp:1:
/usr/include/nodejs/deps/v8/include/v8.h:473:3: note: v8::HandleScope::HandleScope(const v8::HandleScope&)
   HandleScope(const HandleScope&);
   ^
/usr/include/nodejs/deps/v8/include/v8.h:473:3: note:   no known conversion for argument 1 from ‘v8::Isolate*’ to ‘const v8::HandleScope&’
/usr/include/nodejs/deps/v8/include/v8.h:448:3: note: v8::HandleScope::HandleScope()
   HandleScope();
   ^
/usr/include/nodejs/deps/v8/include/v8.h:448:3: note:   candidate expects 0 arguments, 1 provided
../src/native/camera.cpp:238:23: error: ‘uv_loop_close’ was not declared in this scope
     uv_loop_close(loop);
                       ^
../src/native/camera.cpp:241:5: error: ‘args’ was not declared in this scope
     args.GetReturnValue().Set(String::NewFromUtf8(isolate,"ok"));
     ^
../src/native/camera.cpp:241:31: error: ‘NewFromUtf8’ is not a member of ‘v8::String’
     args.GetReturnValue().Set(String::NewFromUtf8(isolate,"ok"));
                               ^
../src/native/camera.cpp: In function ‘void init(v8::Handle<v8::Object>)’:
../src/native/camera.cpp:246:30: error: no matching function for call to ‘v8::HandleScope::HandleScope(v8::Isolate*&)’
     HandleScope scope(isolate);
                              ^
../src/native/camera.cpp:246:30: note: candidates are:
In file included from /usr/include/nodejs/src/node.h:62:0,
                 from ../src/native/camera.cpp:1:
/usr/include/nodejs/deps/v8/include/v8.h:473:3: note: v8::HandleScope::HandleScope(const v8::HandleScope&)
   HandleScope(const HandleScope&);
   ^

Attach files by dragging & dropping or selecting them.

/usr/include/nodejs/deps/v8/include/v8.h:473:3: note:   no known conversion for argument 1 from ‘v8::Isolate*’ to ‘const v8::HandleScope&’
/usr/include/nodejs/deps/v8/include/v8.h:448:3: note: v8::HandleScope::HandleScope()
   HandleScope();
   ^
/usr/include/nodejs/deps/v8/include/v8.h:448:3: note:   candidate expects 0 arguments, 1 provided
../src/native/camera.cpp:247:18: error: ‘NewFromUtf8’ is not a member of ‘v8::String’
     exports->Set(String::NewFromUtf8(isolate,"Open"), FunctionTemplate::New(isolate,Open)->GetFunction());
                  ^
../src/native/camera.cpp:247:89: error: no matching function for call to ‘v8::FunctionTemplate::New(v8::Isolate*&, void (&)(int))’
     exports->Set(String::NewFromUtf8(isolate,"Open"), FunctionTemplate::New(isolate,Open)->GetFunction());
                                                                                         ^
../src/native/camera.cpp:247:89: note: candidate is:
In file included from /usr/include/nodejs/src/node.h:62:0,
                 from ../src/native/camera.cpp:1:
/usr/include/nodejs/deps/v8/include/v8.h:2255:34: note: static v8::Local<v8::FunctionTemplate> v8::FunctionTemplate::New(v8::InvocationCallback, v8::Handle<v8::Value>, v8::Handle<v8::Signature>)
   static Local<FunctionTemplate> New(
                                  ^
/usr/include/nodejs/deps/v8/include/v8.h:2255:34: note:   no known conversion for argument 1 from ‘v8::Isolate*’ to ‘v8::InvocationCallback {aka v8::Handle<v8::Value> (*)(const v8::Arguments&)}’
../src/native/camera.cpp:248:18: error: ‘NewFromUtf8’ is not a member of ‘v8::String’
     exports->Set(String::NewFromUtf8(isolate,"Close"), FunctionTemplate::New(isolate,Close)->GetFunction());
                  ^
../src/native/camera.cpp:248:91: error: no matching function for call to ‘v8::FunctionTemplate::New(v8::Isolate*&, void (&)(int))’
     exports->Set(String::NewFromUtf8(isolate,"Close"), FunctionTemplate::New(isolate,Close)->GetFunction());
                                                                                           ^
../src/native/camera.cpp:248:91: note: candidate is:
In file included from /usr/include/nodejs/src/node.h:62:0,
                 from ../src/native/camera.cpp:1:
/usr/include/nodejs/deps/v8/include/v8.h:2255:34: note: static v8::Local<v8::FunctionTemplate> v8::FunctionTemplate::New(v8::InvocationCallback, v8::Handle<v8::Value>, v8::Handle<v8::Signature>)
   static Local<FunctionTemplate> New(
                                  ^
/usr/include/nodejs/deps/v8/include/v8.h:2255:34: note:   no known conversion for argument 1 from ‘v8::Isolate*’ to ‘v8::InvocationCallback {aka v8::Handle<v8::Value> (*)(const v8::Arguments&)}’
../src/native/camera.cpp:249:18: error: ‘NewFromUtf8’ is not a member of ‘v8::String’
     exports->Set(String::NewFromUtf8(isolate,"IsOpen"), FunctionTemplate::New(isolate,IsOpen)->GetFunction());
                  ^
../src/native/camera.cpp:249:93: error: no matching function for call to ‘v8::FunctionTemplate::New(v8::Isolate*&, void (&)(int))’
     exports->Set(String::NewFromUtf8(isolate,"IsOpen"), FunctionTemplate::New(isolate,IsOpen)->GetFunction());
                                                                                             ^
../src/native/camera.cpp:249:93: note: candidate is:
In file included from /usr/include/nodejs/src/node.h:62:0,
                 from ../src/native/camera.cpp:1:
/usr/include/nodejs/deps/v8/include/v8.h:2255:34: note: static v8::Local<v8::FunctionTemplate> v8::FunctionTemplate::New(v8::InvocationCallback, v8::Handle<v8::Value>, v8::Handle<v8::Signature>)
   static Local<FunctionTemplate> New(
                                  ^
/usr/include/nodejs/deps/v8/include/v8.h:2255:34: note:   no known conversion for argument 1 from ‘v8::Isolate*’ to ‘v8::InvocationCallback {aka v8::Handle<v8::Value> (*)(const v8::Arguments&)}’
../src/native/camera.cpp:250:18: error: ‘NewFromUtf8’ is not a member of ‘v8::String’
     exports->Set(String::NewFromUtf8(isolate,"GetPreviewSize"), FunctionTemplate::New(isolate,GetPreviewSize)->GetFunction());
                  ^
../src/native/camera.cpp:250:109: error: no matching function for call to ‘v8::FunctionTemplate::New(v8::Isolate*&, void (&)(int))’
     exports->Set(String::NewFromUtf8(isolate,"GetPreviewSize"), FunctionTemplate::New(isolate,GetPreviewSize)->GetFunction());
                                                                                                             ^
../src/native/camera.cpp:250:109: note: candidate is:
In file included from /usr/include/nodejs/src/node.h:62:0,
                 from ../src/native/camera.cpp:1:
/usr/include/nodejs/deps/v8/include/v8.h:2255:34: note: static v8::Local<v8::FunctionTemplate> v8::FunctionTemplate::New(v8::InvocationCallback, v8::Handle<v8::Value>, v8::Handle<v8::Signature>)
   static Local<FunctionTemplate> New(
                                  ^
/usr/include/nodejs/deps/v8/include/v8.h:2255:34: note:   no known conversion for argument 1 from ‘v8::Isolate*’ to ‘v8::InvocationCallback {aka v8::Handle<v8::Value> (*)(const v8::Arguments&)}’
camera.target.mk:86: recipe for target 'Release/obj.target/camera/src/native/camera.o' failed
make: *** [Release/obj.target/camera/src/native/camera.o] Error 1
make: Leaving directory '/home/gabe/node-camera-master/build'
gyp ERR! build error 
gyp ERR! stack Error: `make` failed with exit code: 2
gyp ERR! stack     at ChildProcess.onExit (/usr/share/node-gyp/lib/build.js:267:23)
gyp ERR! stack     at ChildProcess.emit (events.js:98:17)
gyp ERR! stack     at Process.ChildProcess._handle.onexit (child_process.js:809:12)
gyp ERR! System Linux 3.16.0-4-amd64
gyp ERR! command "nodejs" "/usr/bin/node-gyp" "rebuild"
gyp ERR! cwd /home/gabe/node-camera-master
gyp ERR! node -v v0.10.29
gyp ERR! node-gyp -v v0.12.2
gyp ERR! not ok 

npm ERR! Streaming@ install: `node-gyp rebuild`
npm ERR! Exit status 1
npm ERR! 
npm ERR! Failed at the Streaming@ install script.
npm ERR! This is most likely a problem with the Streaming 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 Streaming
npm ERR! There is likely additional logging output above.
npm ERR! System Linux 3.16.0-4-amd64
npm ERR! command "/usr/bin/nodejs" "/usr/bin/npm" "install"
npm ERR! cwd /home/gabe/node-camera-master
npm ERR! node -v v0.10.29
npm ERR! npm -v 1.4.21
npm ERR! code ELIFECYCLE
npm WARN This failure might be due to the use of legacy binary "node"
npm WARN For further explanations, please read
/usr/share/doc/nodejs/README.Debian

npm ERR! 
npm ERR! Additional logging details can be found in:
npm ERR!     /home/gabe/node-camera-master/npm-debug.log
npm ERR! not ok code 0

Furthermore, here's the log:

0 info it worked if it ends with ok
1 verbose cli [ '/usr/bin/nodejs', '/usr/bin/npm', 'install' ]
2 info using [email protected]
3 info using [email protected]
4 warn package.json Streaming@ No repository field.
5 verbose readDependencies using package.json deps
6 verbose install where, deps [ '/home/gabe/node-camera-master', [ 'ws' ] ]
7 info preinstall Streaming@
8 verbose readDependencies using package.json deps
9 verbose cache add [ 'ws@*', null ]
10 verbose cache add name=undefined spec="ws@*" args=["ws@*",null]
11 verbose parsed url { protocol: null,
11 verbose parsed url   slashes: null,
11 verbose parsed url   auth: null,
11 verbose parsed url   host: null,
11 verbose parsed url   port: null,
11 verbose parsed url   hostname: null,
11 verbose parsed url   hash: null,
11 verbose parsed url   search: null,
11 verbose parsed url   query: null,
11 verbose parsed url   pathname: 'ws@*',
11 verbose parsed url   path: 'ws@*',
11 verbose parsed url   href: 'ws@*' }
12 verbose cache add name="ws" spec="*" args=["ws","*"]
13 verbose parsed url { protocol: null,
13 verbose parsed url   slashes: null,
13 verbose parsed url   auth: null,
13 verbose parsed url   host: null,
13 verbose parsed url   port: null,
13 verbose parsed url   hostname: null,
13 verbose parsed url   hash: null,
13 verbose parsed url   search: null,
13 verbose parsed url   query: null,
13 verbose parsed url   pathname: '*',
13 verbose parsed url   path: '*',
13 verbose parsed url   href: '*' }
14 verbose addNamed [ 'ws', '*' ]
15 verbose addNamed [ null, '*' ]
16 silly lockFile 67c4a837-ws ws@*
17 verbose lock ws@* /home/gabe/.npm/67c4a837-ws.lock
18 silly addNameRange { name: 'ws', range: '*', hasData: false }
19 verbose request where is /ws
20 verbose request registry https://registry.npmjs.org/
21 verbose request id 455fc21c7c5ff736
22 verbose url raw /ws
23 verbose url resolving [ 'https://registry.npmjs.org/', './ws' ]
24 verbose url resolved https://registry.npmjs.org/ws
25 verbose request where is https://registry.npmjs.org/ws
26 info trying registry request attempt 1 at 23:14:52
27 verbose etag "8ID8ODOR5NSN2H5GPZMJUIHL9"
28 http GET https://registry.npmjs.org/ws
29 http 304 https://registry.npmjs.org/ws
30 silly registry.get cb [ 304,
30 silly registry.get   { date: 'Wed, 20 Jan 2016 22:14:52 GMT',
30 silly registry.get     via: '1.1 varnish',
30 silly registry.get     'cache-control': 'max-age=300',
30 silly registry.get     etag: '"8ID8ODOR5NSN2H5GPZMJUIHL9"',
30 silly registry.get     age: '299',
30 silly registry.get     connection: 'keep-alive',
30 silly registry.get     'x-served-by': 'cache-fra1229-FRA',
30 silly registry.get     'x-cache': 'HIT',
30 silly registry.get     'x-cache-hits': '4',
30 silly registry.get     'x-timer': 'S1453328092.858139,VS0,VE0',
30 silly registry.get     vary: 'Accept' } ]
31 verbose etag https://registry.npmjs.org/ws from cache
32 silly addNameRange number 2 { name: 'ws', range: '*', hasData: true }
33 silly addNameRange versions [ 'ws',
33 silly addNameRange   [ '0.2.6',
33 silly addNameRange     '0.2.8',
33 silly addNameRange     '0.2.9',
33 silly addNameRange     '0.3.0',
33 silly addNameRange     '0.3.1',
33 silly addNameRange     '0.3.2',
33 silly addNameRange     '0.3.3',
33 silly addNameRange     '0.3.4',
33 silly addNameRange     '0.3.4-2',
33 silly addNameRange     '0.3.5',
33 silly addNameRange     '0.3.5-2',
33 silly addNameRange     '0.3.5-3',
33 silly addNameRange     '0.3.5-4',
33 silly addNameRange     '0.3.6',
33 silly addNameRange     '0.3.7',
33 silly addNameRange     '0.3.8',
33 silly addNameRange     '0.3.9',
33 silly addNameRange     '0.4.0',
33 silly addNameRange     '0.4.1',
33 silly addNameRange     '0.4.2',
33 silly addNameRange     '0.4.3',
33 silly addNameRange     '0.4.5',
33 silly addNameRange     '0.4.6',
33 silly addNameRange     '0.4.7',
33 silly addNameRange     '0.4.8',
33 silly addNameRange     '0.4.9',
33 silly addNameRange     '0.4.10',
33 silly addNameRange     '0.4.11',
33 silly addNameRange     '0.4.12',
33 silly addNameRange     '0.4.13',
33 silly addNameRange     '0.4.14',
33 silly addNameRange     '0.4.15',
33 silly addNameRange     '0.4.16',
33 silly addNameRange     '0.4.17',
33 silly addNameRange     '0.4.18',
33 silly addNameRange     '0.4.19',
33 silly addNameRange     '0.4.20',
33 silly addNameRange     '0.4.21',
33 silly addNameRange     '0.4.22',
33 silly addNameRange     '0.4.23',
33 silly addNameRange     '0.4.24',
33 silly addNameRange     '0.4.25',
33 silly addNameRange     '0.4.27',
33 silly addNameRange     '0.4.28',
33 silly addNameRange     '0.4.29',
33 silly addNameRange     '0.4.30',
33 silly addNameRange     '0.4.31',
33 silly addNameRange     '0.4.32',
33 silly addNameRange     '0.5.0',
33 silly addNameRange     '0.6.0',
33 silly addNameRange     '0.6.1',
33 silly addNameRange     '0.6.2',
33 silly addNameRange     '0.6.3',
33 silly addNameRange     '0.6.4',
33 silly addNameRange     '0.6.5',
33 silly addNameRange     '0.7.0',
33 silly addNameRange     '0.7.1',
33 silly addNameRange     '0.7.2',
33 silly addNameRange     '0.8.0',
33 silly addNameRange     '0.8.1',
33 silly addNameRange     '1.0.0',
33 silly addNameRange     '1.0.1' ] ]
34 verbose addNamed [ 'ws', '1.0.1' ]
35 verbose addNamed [ '1.0.1', '1.0.1' ]
36 silly lockFile a84de259-ws-1-0-1 [email protected]
37 verbose lock [email protected] /home/gabe/.npm/a84de259-ws-1-0-1.lock
38 silly lockFile a84de259-ws-1-0-1 [email protected]
39 silly lockFile a84de259-ws-1-0-1 [email protected]
40 silly lockFile 67c4a837-ws ws@*
41 silly lockFile 67c4a837-ws ws@*
42 silly resolved [ { author:
42 silly resolved      { name: 'Einar Otto Stangvik',
42 silly resolved        email: '[email protected]',
42 silly resolved        url: 'http://2x.io' },
42 silly resolved     name: 'ws',
42 silly resolved     description: 'simple to use, blazing fast and thoroughly tested websocket client, server and console for node.js, up-to-date against RFC-6455',
42 silly resolved     version: '1.0.1',
42 silly resolved     license: 'MIT',
42 silly resolved     keywords:
42 silly resolved      [ 'Hixie',
42 silly resolved        'HyBi',
42 silly resolved        'Push',
42 silly resolved        'RFC-6455',
42 silly resolved        'WebSocket',
42 silly resolved        'WebSockets',
42 silly resolved        'real-time' ],
42 silly resolved     repository: { type: 'git', url: 'git://github.com/websockets/ws.git' },
42 silly resolved     scripts: { test: 'make test' },
42 silly resolved     dependencies: { options: '>=0.0.5', ultron: '1.0.x' },
42 silly resolved     devDependencies:
42 silly resolved      { ansi: '0.3.x',
42 silly resolved        benchmark: '0.3.x',
42 silly resolved        bufferutil: '1.2.x',
42 silly resolved        'expect.js': '0.3.x',
42 silly resolved        mocha: '2.3.x',
42 silly resolved        should: '8.0.x',
42 silly resolved        tinycolor: '0.0.x',
42 silly resolved        'utf-8-validate': '1.2.x' },
42 silly resolved     gypfile: true,
42 silly resolved     gitHead: '40a9d686288b5d0be13f2bf2f3f5da07afc8cda2',
42 silly resolved     bugs: { url: 'https://github.com/websockets/ws/issues' },
42 silly resolved     homepage: 'https://github.com/websockets/ws#readme',
42 silly resolved     _id: '[email protected]',
42 silly resolved     _shasum: '7d0b2a2e58cddd819039c29c9de65045e1b310e9',
42 silly resolved     _from: 'ws@*',
42 silly resolved     _npmVersion: '3.5.1',
42 silly resolved     _nodeVersion: '4.2.3',
42 silly resolved     _npmUser: { name: '3rdeden', email: '[email protected]' },
42 silly resolved     maintainers: [ [Object], [Object], [Object] ],
42 silly resolved     dist:
42 silly resolved      { shasum: '7d0b2a2e58cddd819039c29c9de65045e1b310e9',
42 silly resolved        tarball: 'http://registry.npmjs.org/ws/-/ws-1.0.1.tgz' },
42 silly resolved     directories: {},
42 silly resolved     _resolved: 'https://registry.npmjs.org/ws/-/ws-1.0.1.tgz',
42 silly resolved     readme: 'ERROR: No README data found!' } ]
43 info install [email protected] into /home/gabe/node-camera-master
44 info installOne [email protected]
45 verbose node_modules/ws unbuild
46 verbose tar unpack /home/gabe/.npm/ws/1.0.1/package.tgz
47 silly lockFile e01296da-de-camera-master-node-modules-ws tar:///home/gabe/node-camera-master/node_modules/ws
48 verbose lock tar:///home/gabe/node-camera-master/node_modules/ws /home/gabe/.npm/e01296da-de-camera-master-node-modules-ws.lock
49 silly lockFile 274d1090-me-gabe-npm-ws-1-0-1-package-tgz tar:///home/gabe/.npm/ws/1.0.1/package.tgz
50 verbose lock tar:///home/gabe/.npm/ws/1.0.1/package.tgz /home/gabe/.npm/274d1090-me-gabe-npm-ws-1-0-1-package-tgz.lock
51 silly gunzTarPerm modes [ '755', '644' ]
52 silly gunzTarPerm extractEntry package.json
53 silly gunzTarPerm extractEntry .npmignore
54 silly gunzTarPerm extractEntry README.md
55 silly gunzTarPerm extractEntry index.js
56 silly gunzTarPerm extractEntry .travis.yml
57 silly gunzTarPerm extractEntry Makefile
58 silly gunzTarPerm extractEntry lib/BufferPool.js
59 silly gunzTarPerm extractEntry lib/ErrorCodes.js
60 silly gunzTarPerm extractEntry lib/Extensions.js
61 silly gunzTarPerm extractEntry lib/PerMessageDeflate.js
62 silly gunzTarPerm extractEntry lib/Receiver.hixie.js
63 silly gunzTarPerm extractEntry lib/BufferUtil.js
64 silly gunzTarPerm extractEntry lib/Sender.hixie.js
65 silly gunzTarPerm extractEntry lib/Sender.js
66 silly gunzTarPerm extractEntry lib/Validation.fallback.js
67 silly gunzTarPerm extractEntry lib/Validation.js
68 silly gunzTarPerm extractEntry lib/WebSocket.js
69 silly gunzTarPerm extractEntry lib/BufferUtil.fallback.js
70 silly gunzTarPerm extractEntry lib/WebSocketServer.js
71 silly gunzTarPerm extractEntry lib/Receiver.js
72 silly lockFile e01296da-de-camera-master-node-modules-ws tar:///home/gabe/node-camera-master/node_modules/ws
73 silly lockFile e01296da-de-camera-master-node-modules-ws tar:///home/gabe/node-camera-master/node_modules/ws
74 silly lockFile 274d1090-me-gabe-npm-ws-1-0-1-package-tgz tar:///home/gabe/.npm/ws/1.0.1/package.tgz
75 silly lockFile 274d1090-me-gabe-npm-ws-1-0-1-package-tgz tar:///home/gabe/.npm/ws/1.0.1/package.tgz
76 info preinstall [email protected]
77 verbose readDependencies using package.json deps
78 verbose readDependencies using package.json deps
79 verbose cache add [ 'options@>=0.0.5', null ]
80 verbose cache add name=undefined spec="options@>=0.0.5" args=["options@>=0.0.5",null]
81 verbose parsed url { protocol: null,
81 verbose parsed url   slashes: null,
81 verbose parsed url   auth: null,
81 verbose parsed url   host: null,
81 verbose parsed url   port: null,
81 verbose parsed url   hostname: null,
81 verbose parsed url   hash: null,
81 verbose parsed url   search: null,
81 verbose parsed url   query: null,
81 verbose parsed url   pathname: 'options@%3E=0.0.5',
81 verbose parsed url   path: 'options@%3E=0.0.5',
81 verbose parsed url   href: 'options@%3E=0.0.5' }
82 verbose cache add [ '[email protected]', null ]
83 verbose cache add name=undefined spec="[email protected]" args=["[email protected]",null]
84 verbose parsed url { protocol: null,
84 verbose parsed url   slashes: null,
84 verbose parsed url   auth: null,
84 verbose parsed url   host: null,
84 verbose parsed url   port: null,
84 verbose parsed url   hostname: null,
84 verbose parsed url   hash: null,
84 verbose parsed url   search: null,
84 verbose parsed url   query: null,
84 verbose parsed url   pathname: '[email protected]',
84 verbose parsed url   path: '[email protected]',
84 verbose parsed url   href: '[email protected]' }
85 verbose cache add name="options" spec=">=0.0.5" args=["options",">=0.0.5"]
86 verbose parsed url { protocol: null,
86 verbose parsed url   slashes: null,
86 verbose parsed url   auth: null,
86 verbose parsed url   host: null,
86 verbose parsed url   port: null,
86 verbose parsed url   hostname: null,
86 verbose parsed url   hash: null,
86 verbose parsed url   search: null,
86 verbose parsed url   query: null,
86 verbose parsed url   pathname: '%3E=0.0.5',
86 verbose parsed url   path: '%3E=0.0.5',
86 verbose parsed url   href: '%3E=0.0.5' }
87 verbose addNamed [ 'options', '>=0.0.5' ]
88 verbose addNamed [ null, '>=0.0.5' ]
89 silly lockFile 073a6bb3-options-0-0-5 options@>=0.0.5
90 verbose lock options@>=0.0.5 /home/gabe/.npm/073a6bb3-options-0-0-5.lock
91 verbose cache add name="ultron" spec="1.0.x" args=["ultron","1.0.x"]
92 verbose parsed url { protocol: null,
92 verbose parsed url   slashes: null,
92 verbose parsed url   auth: null,
92 verbose parsed url   host: null,
92 verbose parsed url   port: null,
92 verbose parsed url   hostname: null,
92 verbose parsed url   hash: null,
92 verbose parsed url   search: null,
92 verbose parsed url   query: null,
92 verbose parsed url   pathname: '1.0.x',
92 verbose parsed url   path: '1.0.x',
92 verbose parsed url   href: '1.0.x' }
93 verbose addNamed [ 'ultron', '1.0.x' ]
94 verbose addNamed [ null, '>=1.0.0-0 <1.1.0-0' ]
95 silly lockFile a5f39f9f-ultron-1-0-x [email protected]
96 verbose lock [email protected] /home/gabe/.npm/a5f39f9f-ultron-1-0-x.lock
97 silly addNameRange { name: 'options', range: '>=0.0.5', hasData: false }
98 silly addNameRange { name: 'ultron', range: '>=1.0.0-0 <1.1.0-0', hasData: false }
99 verbose request where is /options
100 verbose request registry https://registry.npmjs.org/
101 verbose url raw /options
102 verbose url resolving [ 'https://registry.npmjs.org/', './options' ]
103 verbose url resolved https://registry.npmjs.org/options
104 verbose request where is https://registry.npmjs.org/options
105 info trying registry request attempt 1 at 23:14:52
106 verbose etag "29I1H7JJVEWWNWG0GMKORGQTC"
107 http GET https://registry.npmjs.org/options
108 verbose request where is /ultron
109 verbose request registry https://registry.npmjs.org/
110 verbose url raw /ultron
111 verbose url resolving [ 'https://registry.npmjs.org/', './ultron' ]
112 verbose url resolved https://registry.npmjs.org/ultron
113 verbose request where is https://registry.npmjs.org/ultron
114 info trying registry request attempt 1 at 23:14:52
115 verbose etag "ACUGQLRPBZNHSV94M9H7MI09F"
116 http GET https://registry.npmjs.org/ultron
117 http 304 https://registry.npmjs.org/options
118 silly registry.get cb [ 304,
118 silly registry.get   { date: 'Wed, 20 Jan 2016 22:14:53 GMT',
118 silly registry.get     via: '1.1 varnish',
118 silly registry.get     'cache-control': 'max-age=60',
118 silly registry.get     etag: '"29I1H7JJVEWWNWG0GMKORGQTC"',
118 silly registry.get     age: '29',
118 silly registry.get     connection: 'keep-alive',
118 silly registry.get     'x-served-by': 'cache-fra1233-FRA',
118 silly registry.get     'x-cache': 'HIT',
118 silly registry.get     'x-cache-hits': '1',
118 silly registry.get     'x-timer': 'S1453328093.071031,VS0,VE0',
118 silly registry.get     vary: 'Accept' } ]
119 verbose etag https://registry.npmjs.org/options from cache
120 http 304 https://registry.npmjs.org/ultron
121 silly registry.get cb [ 304,
121 silly registry.get   { date: 'Wed, 20 Jan 2016 22:14:53 GMT',
121 silly registry.get     via: '1.1 varnish',
121 silly registry.get     'cache-control': 'max-age=300',
121 silly registry.get     etag: '"ACUGQLRPBZNHSV94M9H7MI09F"',
121 silly registry.get     age: '55',
121 silly registry.get     connection: 'keep-alive',
121 silly registry.get     'x-served-by': 'cache-fra1220-FRA',
121 silly registry.get     'x-cache': 'HIT',
121 silly registry.get     'x-cache-hits': '1',
121 silly registry.get     'x-timer': 'S1453328093.069300,VS0,VE0',
121 silly registry.get     vary: 'Accept' } ]
122 verbose etag https://registry.npmjs.org/ultron from cache
123 silly addNameRange number 2 { name: 'options', range: '>=0.0.5', hasData: true }
124 silly addNameRange versions [ 'options',
124 silly addNameRange   [ '0.0.1', '0.0.2', '0.0.3', '0.0.4', '0.0.5', '0.0.6' ] ]
125 verbose addNamed [ 'options', '0.0.6' ]
126 verbose addNamed [ '0.0.6', '0.0.6' ]
127 silly lockFile d4f5c414-options-0-0-6 [email protected]
128 verbose lock [email protected] /home/gabe/.npm/d4f5c414-options-0-0-6.lock
129 silly addNameRange number 2 { name: 'ultron', range: '>=1.0.0-0 <1.1.0-0', hasData: true }
130 silly addNameRange versions [ 'ultron', [ '0.0.0', '1.0.0', '1.0.1', '1.0.2' ] ]
131 verbose addNamed [ 'ultron', '1.0.2' ]
132 verbose addNamed [ '1.0.2', '1.0.2' ]
133 silly lockFile a6141990-ultron-1-0-2 [email protected]
134 verbose lock [email protected] /home/gabe/.npm/a6141990-ultron-1-0-2.lock
135 silly lockFile d4f5c414-options-0-0-6 [email protected]
136 silly lockFile d4f5c414-options-0-0-6 [email protected]
137 silly lockFile 073a6bb3-options-0-0-5 options@>=0.0.5
138 silly lockFile 073a6bb3-options-0-0-5 options@>=0.0.5
139 silly lockFile a6141990-ultron-1-0-2 [email protected]
140 silly lockFile a6141990-ultron-1-0-2 [email protected]
141 silly lockFile a5f39f9f-ultron-1-0-x [email protected]
142 silly lockFile a5f39f9f-ultron-1-0-x [email protected]
143 silly resolved [ { author:
143 silly resolved      { name: 'Einar Otto Stangvik',
143 silly resolved        email: '[email protected]',
143 silly resolved        url: 'http://2x.io' },
143 silly resolved     name: 'options',
143 silly resolved     description: 'A very light-weight in-code option parsers for node.js.',
143 silly resolved     version: '0.0.6',
143 silly resolved     repository: { type: 'git', url: 'git://github.com/einaros/options.js.git' },
143 silly resolved     main: 'lib/options',
143 silly resolved     scripts: { test: 'make test' },
143 silly resolved     engines: { node: '>=0.4.0' },
143 silly resolved     dependencies: {},
143 silly resolved     devDependencies: { mocha: 'latest' },
143 silly resolved     gitHead: 'ff53d0a092c897cb95964232a96fe17da65c11af',
143 silly resolved     bugs: { url: 'https://github.com/einaros/options.js/issues' },
143 silly resolved     homepage: 'https://github.com/einaros/options.js',
143 silly resolved     _id: '[email protected]',
143 silly resolved     _shasum: 'ec22d312806bb53e731773e7cdaefcf1c643128f',
143 silly resolved     _from: 'options@>=0.0.5',
143 silly resolved     _npmVersion: '1.4.21',
143 silly resolved     _npmUser: { name: 'einaros', email: '[email protected]' },
143 silly resolved     maintainers: [ [Object] ],
143 silly resolved     dist:
143 silly resolved      { shasum: 'ec22d312806bb53e731773e7cdaefcf1c643128f',
143 silly resolved        tarball: 'http://registry.npmjs.org/options/-/options-0.0.6.tgz' },
143 silly resolved     directories: {},
143 silly resolved     _resolved: 'https://registry.npmjs.org/options/-/options-0.0.6.tgz',
143 silly resolved     readme: 'ERROR: No README data found!' },
143 silly resolved   { name: 'ultron',
143 silly resolved     version: '1.0.2',
143 silly resolved     description: 'Ultron is high-intelligence robot. It gathers intel so it can start improving upon his rudimentary design',
143 silly resolved     main: 'index.js',
143 silly resolved     scripts:
143 silly resolved      { '100%': 'istanbul check-coverage --statements 100 --functions 100 --lines 100 --branches 100',
143 silly resolved        test: 'mocha test.js',
143 silly resolved        watch: 'mocha --watch test.js',
143 silly resolved        coverage: 'istanbul cover ./node_modules/.bin/_mocha -- test.js',
143 silly resolved        'test-travis': 'istanbul cover node_modules/.bin/_mocha --report lcovonly -- test.js' },
143 silly resolved     repository:
143 silly resolved      { type: 'git',
143 silly resolved        url: 'git+https://github.com/unshiftio/ultron.git' },
143 silly resolved     keywords:
143 silly resolved      [ 'Ultron',
143 silly resolved        'robot',
143 silly resolved        'gather',
143 silly resolved        'intelligence',
143 silly resolved        'event',
143 silly resolved        'events',
143 silly resolved        'eventemitter',
143 silly resolved        'emitter',
143 silly resolved        'cleanup' ],
143 silly resolved     author: { name: 'Arnout Kazemier' },
143 silly resolved     license: 'MIT',
143 silly resolved     devDependencies:
143 silly resolved      { assume: '1.2.x',
143 silly resolved        eventemitter3: '1.1.x',
143 silly resolved        istanbul: '0.3.x',
143 silly resolved        mocha: '2.2.x',
143 silly resolved        'pre-commit': '1.0.x' },
143 silly resolved     bugs: { url: 'https://github.com/unshiftio/ultron/issues' },
143 silly resolved     homepage: 'https://github.com/unshiftio/ultron',
143 silly resolved     gitHead: 'a10482ae98a09120821545456c90c6d60d540f7c',
143 silly resolved     _id: '[email protected]',
143 silly resolved     _shasum: 'ace116ab557cd197386a4e88f4685378c8b2e4fa',
143 silly resolved     _from: '[email protected]',
143 silly resolved     _npmVersion: '2.9.1',
143 silly resolved     _nodeVersion: '0.12.3',
143 silly resolved     _npmUser: { name: '3rdeden', email: '[email protected]' },
143 silly resolved     maintainers: [ [Object], [Object], [Object] ],
143 silly resolved     dist:
143 silly resolved      { shasum: 'ace116ab557cd197386a4e88f4685378c8b2e4fa',
143 silly resolved        tarball: 'http://registry.npmjs.org/ultron/-/ultron-1.0.2.tgz' },
143 silly resolved     directories: {},
143 silly resolved     _resolved: 'https://registry.npmjs.org/ultron/-/ultron-1.0.2.tgz',
143 silly resolved     readme: 'ERROR: No README data found!' } ]
144 info install [email protected] into /home/gabe/node-camera-master/node_modules/ws
145 info install [email protected] into /home/gabe/node-camera-master/node_modules/ws
146 info installOne [email protected]
147 info installOne [email protected]
148 verbose node_modules/ws/node_modules/options unbuild
149 verbose node_modules/ws/node_modules/ultron unbuild
150 verbose tar unpack /home/gabe/.npm/options/0.0.6/package.tgz
151 silly lockFile c79e8824--modules-ws-node-modules-options tar:///home/gabe/node-camera-master/node_modules/ws/node_modules/options
152 verbose lock tar:///home/gabe/node-camera-master/node_modules/ws/node_modules/options /home/gabe/.npm/c79e8824--modules-ws-node-modules-options.lock
153 silly lockFile 508df892-be-npm-options-0-0-6-package-tgz tar:///home/gabe/.npm/options/0.0.6/package.tgz
154 verbose lock tar:///home/gabe/.npm/options/0.0.6/package.tgz /home/gabe/.npm/508df892-be-npm-options-0-0-6-package-tgz.lock
155 verbose tar unpack /home/gabe/.npm/ultron/1.0.2/package.tgz
156 silly lockFile 8ea72b8f-e-modules-ws-node-modules-ultron tar:///home/gabe/node-camera-master/node_modules/ws/node_modules/ultron
157 verbose lock tar:///home/gabe/node-camera-master/node_modules/ws/node_modules/ultron /home/gabe/.npm/8ea72b8f-e-modules-ws-node-modules-ultron.lock
158 silly lockFile 593a0b7a-abe-npm-ultron-1-0-2-package-tgz tar:///home/gabe/.npm/ultron/1.0.2/package.tgz
159 verbose lock tar:///home/gabe/.npm/ultron/1.0.2/package.tgz /home/gabe/.npm/593a0b7a-abe-npm-ultron-1-0-2-package-tgz.lock
160 silly gunzTarPerm modes [ '755', '644' ]
161 silly gunzTarPerm modes [ '755', '644' ]
162 silly gunzTarPerm extractEntry package.json
163 silly gunzTarPerm extractEntry package.json
164 silly gunzTarPerm extractEntry .npmignore
165 silly gunzTarPerm extractEntry README.md
166 silly gunzTarPerm extractEntry .npmignore
167 silly gunzTarPerm extractEntry README.md
168 silly gunzTarPerm extractEntry Makefile
169 silly gunzTarPerm extractEntry lib/options.js
170 silly gunzTarPerm extractEntry LICENSE
171 silly gunzTarPerm extractEntry index.js
172 silly gunzTarPerm extractEntry test.js
173 silly gunzTarPerm extractEntry .travis.yml
174 silly lockFile c79e8824--modules-ws-node-modules-options tar:///home/gabe/node-camera-master/node_modules/ws/node_modules/options
175 silly lockFile c79e8824--modules-ws-node-modules-options tar:///home/gabe/node-camera-master/node_modules/ws/node_modules/options
176 silly lockFile 508df892-be-npm-options-0-0-6-package-tgz tar:///home/gabe/.npm/options/0.0.6/package.tgz
177 silly lockFile 508df892-be-npm-options-0-0-6-package-tgz tar:///home/gabe/.npm/options/0.0.6/package.tgz
178 info preinstall [email protected]
179 verbose readDependencies using package.json deps
180 verbose readDependencies using package.json deps
181 silly resolved []
182 verbose about to build /home/gabe/node-camera-master/node_modules/ws/node_modules/options
183 info build /home/gabe/node-camera-master/node_modules/ws/node_modules/options
184 verbose linkStuff [ false,
184 verbose linkStuff   false,
184 verbose linkStuff   false,
184 verbose linkStuff   '/home/gabe/node-camera-master/node_modules/ws/node_modules' ]
185 info linkStuff [email protected]
186 verbose linkBins [email protected]
187 verbose linkMans [email protected]
188 verbose rebuildBundles [email protected]
189 info install [email protected]
190 info postinstall [email protected]
191 silly lockFile 8ea72b8f-e-modules-ws-node-modules-ultron tar:///home/gabe/node-camera-master/node_modules/ws/node_modules/ultron
192 silly lockFile 8ea72b8f-e-modules-ws-node-modules-ultron tar:///home/gabe/node-camera-master/node_modules/ws/node_modules/ultron
193 silly lockFile 593a0b7a-abe-npm-ultron-1-0-2-package-tgz tar:///home/gabe/.npm/ultron/1.0.2/package.tgz
194 silly lockFile 593a0b7a-abe-npm-ultron-1-0-2-package-tgz tar:///home/gabe/.npm/ultron/1.0.2/package.tgz
195 info preinstall [email protected]
196 verbose readDependencies using package.json deps
197 verbose readDependencies using package.json deps
198 silly resolved []
199 verbose about to build /home/gabe/node-camera-master/node_modules/ws/node_modules/ultron
200 info build /home/gabe/node-camera-master/node_modules/ws/node_modules/ultron
201 verbose linkStuff [ false,
201 verbose linkStuff   false,
201 verbose linkStuff   false,
201 verbose linkStuff   '/home/gabe/node-camera-master/node_modules/ws/node_modules' ]
202 info linkStuff [email protected]
203 verbose linkBins [email protected]
204 verbose linkMans [email protected]
205 verbose rebuildBundles [email protected]
206 info install [email protected]
207 info postinstall [email protected]
208 verbose about to build /home/gabe/node-camera-master/node_modules/ws
209 info build /home/gabe/node-camera-master/node_modules/ws
210 verbose linkStuff [ false,
210 verbose linkStuff   false,
210 verbose linkStuff   false,
210 verbose linkStuff   '/home/gabe/node-camera-master/node_modules' ]
211 info linkStuff [email protected]
212 verbose linkBins [email protected]
213 verbose linkMans [email protected]
214 verbose rebuildBundles [email protected]
215 verbose rebuildBundles [ 'options', 'ultron' ]
216 info install [email protected]
217 info postinstall [email protected]
218 info build /home/gabe/node-camera-master
219 verbose linkStuff [ false, false, false, '/home/gabe' ]
220 info linkStuff Streaming@
221 verbose linkBins Streaming@
222 verbose linkMans Streaming@
223 verbose rebuildBundles Streaming@
224 verbose rebuildBundles [ 'ws' ]
225 info install Streaming@
226 verbose unsafe-perm in lifecycle true
227 info Streaming@ Failed to exec install script
228 error Streaming@ install: `node-gyp rebuild`
228 error Exit status 1
229 error Failed at the Streaming@ install script.
229 error This is most likely a problem with the Streaming package,
229 error not with npm itself.
229 error Tell the author that this fails on your system:
229 error     node-gyp rebuild
229 error You can get their info via:
229 error     npm owner ls Streaming
229 error There is likely additional logging output above.
230 error System Linux 3.16.0-4-amd64
231 error command "/usr/bin/nodejs" "/usr/bin/npm" "install"
232 error cwd /home/gabe/node-camera-master
233 error node -v v0.10.29
234 error npm -v 1.4.21
235 error code ELIFECYCLE
236 verbose exit [ 1, true ]

I have tried iojos branch aswell, witout luck. Do you have an idea what might be the problem?

BTW: node-opencv compiled and I can open a webcam localy in node.

Thans a lot!

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.