Closed IljaGrebel closed 7 years ago
What hardware, operating system version and node version are you using?
Hi, Im using Raspberry Pi 2B+ with kernel version Linux raspberrypi 4.4.21-v7+ #911 SMP Thu Sep 15 14:22:38 BST 2016 armv7l GNU/Linux, node version is v0.10.29.
Hi The execSync command does not exist in Node 0.10.x It was added in Node 0.12.x You need to upgrade NodeJS
Roger
On 07/11/2016 14:30, Ilja Grebel wrote:
Hi, Im using Raspberry Pi 2B+ with kernel version Linux raspberrypi 4.4.21-v7+ #911 SMP Thu Sep 15 14:22:38 BST 2016 armv7l GNU/Linux, node version is v0.10.29.
— You are receiving this because you commented. Reply to this email directly, view it on GitHub https://github.com/BreeeZe/rpos/issues/25#issuecomment-258849922, or mute the thread https://github.com/notifications/unsubscribe-auth/AJszIRN6gkpFoIVUzqOVKLsRSNbmS-CYks5q7zYEgaJpZM4KiFGW.
Did this fix your problem?
Hi, yes I fix my problem :)
Great. Could we close this PR? Thanks
Sure, sorry.
Hi, Im trying to start rpos with node using "node rpos.js", but I get an error message after few seconds
/home/pi/rpos-0.1.0/lib/utils.js:94 return utils.notPi() ? "" : require('child_process').execSync(cmd) ^ TypeError: Object #<Object> has no method 'execSync' at Function.utils.execSync (/home/pi/rpos-0.1.0/lib/utils.js:94:66) at Camera.loadDriver (/home/pi/rpos-0.1.0/lib/camera.js:126:15) at new Camera (/home/pi/rpos-0.1.0/lib/camera.js:41:14) at Object.<anonymous> (/home/pi/rpos-0.1.0/rpos.js:23:14) 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) at startup (node.js:119:16)