chuckfairy / node-webcam

Nodejs Cross Platform Webcam usage
MIT License
193 stars 51 forks source link

Error in windows build. CommandCam.exe is not compatible with windows version. #47

Open akhfaern opened 4 years ago

akhfaern commented 4 years ago

I am using windows 10 pro 64 bit version. when i try to run the test code i get this error.

Error: Command failed: "C:\nodejswebcam\node_modules\node-webcam\src\bindings\CommandCam\Commandcam.exe" /delay 200 /filename test_picture.jpg Bu C:\nodejswebcam\node_modules\node-webcam\src\bindings\CommandCam\CommandCam.exe version is not compatible with Windows version. Check your computer system settings and contact to software developer( this part was in my own language so i translated a bit)

at ChildProcess.exithandler (child_process.js:295:12)
at ChildProcess.emit (events.js:210:5)
at maybeClose (internal/child_process.js:1021:16)
at Process.ChildProcess._handle.onexit (internal/child_process.js:283:5) {

killed: false, code: 1, signal: null, cmd: '"C:\nodejswebcam\node_modules\node-webcam\src\bindings\CommandCam\Commandcam.exe" /delay 200 /filename test_picture.jpg' }

chuckfairy commented 4 years ago

Can someone with the issue try a compatibility test on the binary? I built it on Windows 10 so this is a little strange. https://www.laptopmag.com/articles/set-compatibility-mode-windows-10

pilotkid commented 2 years ago

It runs fine for me Win 10 Pro 64 bit.