cypress-io / cypress-docker-images

Docker images with Cypress dependencies and browsers
https://on.cypress.io/continuous-integration
MIT License
1k stars 376 forks source link

stenciljs error #501

Closed maxkarkowski closed 3 years ago

maxkarkowski commented 3 years ago

Since Stencil Version 2.5.0 i get the following error if i run it in the cypress/base:14 image

yarn run v1.22.10
$ stencil build --dev --watch --serve
[56:51.7]  @stencil/core
[56:52.0]  v2.6.0 📟

[ ERROR ]  stderr: events.js:292 throw er; // Unhandled 'error' event ^ Error: spawn xdg-open ENOENT at
           Process.ChildProcess._handle.onexit (internal/child_process.js:269:19) at onErrorNT
           (internal/child_process.js:465:16) at processTicksAndRejections (internal/process/task_queues.js:80:21)
           Emitted 'error' event on ChildProcess instance at: at Process.ChildProcess._handle.onexit
           (internal/child_process.js:275:12) at onErrorNT (internal/child_process.js:465:16) at
           processTicksAndRejections (internal/process/task_queues.js:80:21) { errno: -2, code: 'ENOENT', syscall:
           'spawn xdg-open', path: 'xdg-open', spawnargs: [ 'http://localhost:3333/~dev-server-init' ] } undefined

is there a missing dependency (xdg-open/xdg-utils) you could implement?

jennifer-shehane commented 3 years ago

This looks to be an issue with Stencil - since their update triggered the error and since the error is thrown running a stencil command. Closing as this doesn't seem related to Cypress.

maxkarkowski commented 3 years ago

i am not quite sure if it is not related, because this error only appears in this docker image