binocarlos / raspivid

node.js read stream for h.264 data from the raspberry PI camera module
MIT License
25 stars 6 forks source link

Error #9

Open cmegens opened 8 years ago

cmegens commented 8 years ago

So I installed node and npm.

Then I installed raspivid and fs through npm.

When I run the example I get the following error:

child_process.js:921 throw new TypeError('Incorrect value for stdio stream: ' + stdio); ^ TypeError: Incorrect value for stdio stream: inherit at child_process.js:921:13 at Array.reduce (native) at ChildProcess.spawn (child_process.js:876:17) at Object.exports.spawn (child_process.js:735:9) at module.exports (/home/pi/CAM/node_modules/raspivid/index.js:22:29) at Object. (/home/pi/CAM/video.js:3:13) 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)

Any thoughts? Camera is working with both raspivid and motion.

binocarlos commented 8 years ago

@cmegens interesting - inherit seems to be a bad value for the stream

this page mentions node 0.12 - which version are you running?