Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Problem firmata node library in arduino yun #373

Open
csotomon opened this issue Jan 19, 2018 · 0 comments
Open

Problem firmata node library in arduino yun #373

csotomon opened this issue Jan 19, 2018 · 0 comments

Comments

@csotomon
Copy link

when a run the Testing Communication script (www-blink.js) i have this problem.

/mnt/sda1/arduino/www/node_modules/firmata/lib/firmata.js:4 const Emitter = require("events"); ^^^^^ SyntaxError: Use of const in strict mode. 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 Module.require (module.js:364:17) at require (module.js:380:17) at Object.<anonymous> (/mnt/sda1/arduino/www/index.js:1:77) at Module._compile (module.js:456:26) at Object.Module._extensions..js (module.js:474:10) at Module.load (module.js:356:32)

I think that the arduino yun openwrt node version doesn't support this firmata librery version (0.19.1)

do you have a solution for this?

or what firmata librery version works with the example?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant