webp-converter icon indicating copy to clipboard operation
webp-converter copied to clipboard

Spawn EACCESS error

Open infinite4evr opened this issue 4 years ago • 2 comments

The latest commit breaks the package and It's not working fine

Error: spawn /home/converterbot/node_modules/webp-converter/bin/libwebp_linux/bin/dwebp EACCES
    at Process.ChildProcess._handle.onexit (internal/child_process.js:267:19)
    at onErrorNT (internal/child_process.js:469:16)
    at processTicksAndRejections (internal/process/task_queues.js:84:21) {
  errno: 'EACCES',
  code: 'EACCES',
  syscall: 'spawn /home/converterbot/node_modules/webp-converter/bin/libwebp_linux/bin/dwebp',
  path: '/home/converterbot/node_modules/webp-converter/bin/libwebp_linux/bin/dwebp',
  spawnargs: [
    '/home/converterbot/temp/330959283/file_375.webp',
    '-o',
    '/home/converterbot/temp/330959283/octopusagad3.png'
  ],
  cmd: '/home/converterbot/node_modules/webp-converter/bin/libwebp_linux/bin/dwebp /home/converterbot/temp/330959283/file_375.webp -o /home/converterbot/temp/330959283/octopusagad3.png'                                                                                       
}

I have rolled back to version 2.2.3 for now.

infinite4evr avatar Jul 07 '20 18:07 infinite4evr

chmod +x /home/converterbot/node_modules/webp-converter/bin/libwebp_linux/bin/dwebp

anthinkingcoder avatar Jul 09 '20 10:07 anthinkingcoder

Can the binaries please be packaged with the right file permissions?

sbalko avatar Jul 26 '20 08:07 sbalko