cwebp ENOENT
moshie opened this issue · comments
[2019-12-02T16:41:45.526Z] /bin/sh: lscpu: not found
[2019-12-02T16:41:45.526Z] success Rewriting compilation hashes - 0.003s
[2019-12-02T16:41:45.526Z] success run queries - 106.670s - 85/85 0.80/s
[2019-12-02T16:41:45.526Z]
[2019-12-02T16:41:45.526Z] ERROR
[2019-12-02T16:41:45.526Z]
[2019-12-02T16:41:45.526Z] UNHANDLED REJECTION spawn /usr/app/node_modules/cwebp-bin/vendor/cwebp ENOENT
[2019-12-02T16:41:45.526Z]
[2019-12-02T16:41:45.526Z]
[2019-12-02T16:41:45.526Z]
[2019-12-02T16:41:45.526Z] Error: spawn /usr/app/node_modules/cwebp-bin/vendor/cwebp ENOENT
[2019-12-02T16:41:45.526Z]
[2019-12-02T16:41:45.526Z] - child_process.js:264 Process.ChildProcess._handle.onexit
[2019-12-02T16:41:45.526Z] internal/child_process.js:264:19
[2019-12-02T16:41:45.526Z]
[2019-12-02T16:41:45.526Z] - child_process.js:456 onErrorNT
[2019-12-02T16:41:45.526Z] internal/child_process.js:456:16
[2019-12-02T16:41:45.526Z]
[2019-12-02T16:41:45.526Z] - task_queues.js:80 processTicksAndRejections
[2019-12-02T16:41:45.526Z] internal/process/task_queues.js:80:21
[2019-12-02T16:41:45.526Z]
[2019-12-02T16:41:45.526Z]
[2019-12-02T16:41:45.526Z] not finished Generating image thumbnails - 1.391s
Attempting to run this package we are getting this error.
Running Node 12
Linux docker container
Any chance of adding error logging for the stderr output?
@moshie did you find any solution to this? I got a very similar error message yesterday.
Turned out in the end to be related to our corporate network.
Npm needed the certificate passed to install the package correctly. NODE_EXTRA_CA_CERTS=~/cert.pem yarn
Hello, im getting the exact same error,
while i run the project locally its works, on my remote app (on azure), when i use the library im getting the exact same error.
can you please explain in more details about the certificate solution?