LucasBassetti/react-simple-chatbot

spawn xdg-open ENOENT

Opened this issue · 0 comments

Describe the bug
A clear and concise description of what the bug is.
[client] Error: spawn xdg-open ENOENT
[client] at Process.ChildProcess._handle.onexit (internal/child_process.js:269:19)
[client] at onErrorNT (internal/child_process.js:465:16)
[client] at processTicksAndRejections (internal/process/task_queues.js:80:21)
[client] Emitted 'error' event on ChildProcess instance at:
[client] at Process.ChildProcess._handle.onexit (internal/child_process.js:275:12)
[client] at onErrorNT (internal/child_process.js:465:16)
[client] at processTicksAndRejections (internal/process/task_queues.js:80:21) {
[client] errno: -2,
[client] code: 'ENOENT',
[client] syscall: 'spawn xdg-open',
[client] path: 'xdg-open',
[client] spawnargs: [ 'http://localhost:3000' ]
[client] }
To Reproduce
Steps to reproduce the behavior:
run in docker file:
FROM node:14
ENV CI=true
WORKDIR "/app"
COPY ./package.json ./
RUN npm install
COPY . .
CMD ["npm", "run", "start"]

Expected behavior
Error: spawn xdg-open ENOENT

Desktop (please complete the following information):

  • OS: docker node:14