Comments (6)
It does not work on node v.0.10.29. Use node v.4.4+.
from node-onvif.
hi same problem using node -v = v8.8.1
from node-onvif.
Thank you for your feedback.
Can you tell me the error in detail? The message "SyntaxError: Unexpected token" should not be output on node v8. What did the error says on your console?
from node-onvif.
TypeError: Cannot read property 'prototype' of undefined
at Object. (/Users/shamrymubdi/node-onvif/node_modules/websocket.io/lib/socket.js:49:43)
at Module._compile (module.js:643:30)
at Object.Module._extensions..js (module.js:654:10)
at Module.load (module.js:556:32)
at tryModuleLoad (module.js:499:12)
at Function.Module._load (module.js:491:3)
at Module.require (module.js:587:17)
at require (internal/module.js:11:18)
at Object. (/Users/shamrymubdi/node-onvif/node_modules/websocket.io/lib/protocols/drafts.js:12:14)
at Module._compile (module.js:643:30)
from node-onvif.
manage to run on node@4
from node-onvif.
Thank you for the details. The node module websocket.io
possibly does not support node v8.
I'll set up an environment of node v8 and try the server.js
.
from node-onvif.
Related Issues (20)
- get current ptz values HOT 1
- add ipcam manually HOT 1
- all my cam discovered, but... no view
- device.services.getNetworkInterfaces is not a function HOT 1
- /onvif/media2_service for H265 cameras
- ONVIF thru RTSP Endpoint Discovery not working HOT 1
- Make a onvif server HOT 2
- Get Snapshot 401 Unauthorized HOT 2
- A problem
- Failed to initialize the device
- TypeError: mDgram.createSocket is not a function HOT 1
- SetVideoEncoderConfigurations HOT 4
- How to set camera's WiFi network?
- Fix crash when missing xml tags
- 友達、あなたのnode-onvifのは維持しませんか?
- Cannot Find Device
- Add method for getting Recivers HOT 4
- How to "set" enable/disable event states of a camera
- Issue can be deleted
- Issue can be deleted
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from node-onvif.