LucasBassetti / react-simple-chatbot

:speech_balloon: Easy way to create conversation chats
https://lucasbassetti.com.br/react-simple-chatbot/
MIT License
1.72k stars 596 forks source link

spawn xdg-open ENOENT #304

Open abbottqwq opened 3 years ago

abbottqwq commented 3 years ago

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):