@lios1

Error: Failed to launch the browser process!?

616d6eebae174544377938.png

2021-10-18T12:42:02.530896+00:00 heroku[worker.1]: Starting process with command `npm start`
2021-10-18T12:42:03.161310+00:00 heroku[worker.1]: State changed from starting to up
2021-10-18T12:42:03.485202+00:00 app[worker.1]:
2021-10-18T12:42:03.485215+00:00 app[worker.1]: > nuft-tg@1.0.0 start /app
2021-10-18T12:42:03.485216+00:00 app[worker.1]: > node index.js
2021-10-18T12:42:03.485216+00:00 app[worker.1]:
2021-10-18T12:42:03.665515+00:00 app[worker.1]: Error: Failed to launch the browser process!
2021-10-18T12:42:03.665536+00:00 app[worker.1]: /app/node_modules/puppeteer/.local-chromium/linux-901912/chrome-linux/chrome: error while loading shared libraries: libnss3.so: cannot open shared object file: No such file or directory
2021-10-18T12:42:03.665536+00:00 app[worker.1]:
2021-10-18T12:42:03.665537+00:00 app[worker.1]:
2021-10-18T12:42:03.665538+00:00 app[worker.1]: TROUBLESHOOTING: https://github.com/puppeteer/puppeteer/blob/main/d...
2021-10-18T12:42:03.665538+00:00 app[worker.1]:
2021-10-18T12:42:03.665538+00:00 app[worker.1]: at onClose (/app/node_modules/puppeteer/lib/cjs/puppeteer/node/BrowserRunner.js:197:20)
2021-10-18T12:42:03.665539+00:00 app[worker.1]: at Interface. (/app/node_modules/puppeteer/lib/cjs/puppeteer/node/BrowserRunner.js:187:68)
2021-10-18T12:42:03.665539+00:00 app[worker.1]: at Interface.emit (events.js:412:35)
2021-10-18T12:42:03.665540+00:00 app[worker.1]: at Interface.close (readline.js:530:8)
2021-10-18T12:42:03.665540+00:00 app[worker.1]: at Socket.onend (readline.js:254:10)
2021-10-18T12:42:03.665540+00:00 app[worker.1]: at Socket.emit (events.js:412:35)
2021-10-18T12:42:03.665540+00:00 app[worker.1]: at endReadableNT (internal/streams/readable.js:1334:12)
2021-10-18T12:42:03.665541+00:00 app[worker.1]: at processTicksAndRejections (internal/process/task_queues.js:82:21)
2021-10-18T12:42:03.788236+00:00 heroku[worker.1]: Process exited with status 0
2021-10-18T12:42:04.126050+00:00 heroku[worker.1]: State changed from up to crashed

---------------------------------------------------------------------------------------------------------------------------------------------------

Что делать? Может кто сталкивался, или знает как исправить?
616d6f1a91c2f807742923.png
Эту штуку использовал, не получалось
  • Вопрос задан
  • 1640 просмотров
Решения вопроса 1
@lios1 Автор вопроса
Проблему решил: https://www.youtube.com/watch?v=Kl7mqpAK-bk
Ответ написан
Комментировать
Пригласить эксперта
Ваш ответ на вопрос

Войдите, чтобы написать ответ

Похожие вопросы