-
Notifications
You must be signed in to change notification settings - Fork 198
New issue
Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? # to your account
Can not start server.js, SyntaxError: Unexpected token > #6
Comments
It does not work on node v.0.10.29. Use node v.4.4+. |
hi same problem using node -v = v8.8.1 |
Thank you for your feedback. |
TypeError: Cannot read property 'prototype' of undefined |
manage to run on node@4 |
Thank you for the details. The node module |
node ./server.js
/home/pi/node_modules/node-onvif/sample/manager/server.js:118
onvif.startDiscovery((device) => {
^
SyntaxError: Unexpected token >
at Module._compile (module.js:439:25)
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)
at startup (node.js:119:16)
at node.js:906:3
node -v
v0.10.29
npm -v
1.4.21
Thank you,
Stefan
The text was updated successfully, but these errors were encountered: