node-loudness icon indicating copy to clipboard operation
node-loudness copied to clipboard

Uncaught error after bundling with electron

Open jorenvandeweyer opened this issue 7 years ago • 4 comments

After building for windows, the module gives me this error, no idea what causes this.

I'm using latest version from GitHub. Works fine when running in node itself.

image

jorenvandeweyer avatar Oct 19 '18 20:10 jorenvandeweyer

I fixed this, by using child_process.execFile instead of spawn

jorenvandeweyer avatar Oct 19 '18 20:10 jorenvandeweyer

Could you try again with the new version 0.3.0? It uses execa under the hood to execute the file.

If it doesn't fix it we should probably file a bug there...

LinusU avatar Oct 29 '18 14:10 LinusU

It still exists in version 0.3.0. and I don't want to spawn new process or grab the child process.

nurevaSaeed avatar Jan 30 '20 22:01 nurevaSaeed

Having the same error even without building (just by running npm start): image Windows 10 (Virtual Machine) v4.0.1

footniko avatar Aug 18 '20 16:08 footniko