Giter VIP home page Giter VIP logo

Comments (9)

marcoandre1 avatar marcoandre1 commented on May 28, 2024 18

I made it work with ubuntu-latest! You need to pass the puppeteerArgs option for react-snap in your package.json like this:

"reactSnap": {
  "puppeteerArgs": ["--no-sandbox", "--disable-setuid-sandbox"]
}

This is the explanation in the README:

Puppeteer (Headless Chrome) may fail due to sandboxing issues. To get around this, you may use:

"puppeteerArgs": ["--no-sandbox", "--disable-setuid-sandbox"]

Works fine again with ubuntu-latest (at least for my use case). Thanks!

from react-snap.

marcoandre1 avatar marcoandre1 commented on May 28, 2024 6

It also happened to me and based on @neopostmodern answer (thanks!), I switched my workflow to ubuntu-20.04 instead of ubuntu-latest and all is good, at least for now.

runs-on: ubuntu-20.04

Also, my workflow runs on node 16.

from react-snap.

dwshetty avatar dwshetty commented on May 28, 2024 1

It also happened to me and based on @neopostmodern answer (thanks!), I switched my workflow to ubuntu-20.04 instead of ubuntu-latest and all is good, at least for now.

runs-on: ubuntu-20.04

Also, my workflow runs on node 16.

This solution (albeit temporary) works fine. Thanks @marcoandre1

from react-snap.

dnlwllms avatar dnlwllms commented on May 28, 2024

It has not been Build for 1 hour and 57 minutes, so I canceled

from react-snap.

whoyoung90 avatar whoyoung90 commented on May 28, 2024

me too, I have a same problem..

last month, it worked fine!

my workflow runs on Node 14.x, ubuntu-latest

from react-snap.

neopostmodern avatar neopostmodern commented on May 28, 2024

Happens to me on GitHub Actions all the time now!
I can even reproduce this locally with Ubuntu 22.04 / Linux 6.0.6 (amd64) & node 19 (my workflow runs on 18).

Which suggests to me the issue is related to ubuntu-latest having been changed to 22.04 very recently: actions/runner-images@9c544f4

from react-snap.

neopostmodern avatar neopostmodern commented on May 28, 2024

Maybe this helps?

$ ps ax | grep react-snap
 157588 pts/8    S<+    0:00 sh -c -- react-snap
 157589 pts/8    S<l+   0:00 node /.../node_modules/.bin/react-snap

$ ps -elf | grep react-snap
0 S neopost+  157588  157525  0  75  -5 -   723 do_wai 12:13 pts/8    00:00:00 sh -c -- react-snap
0 S neopost+  157589  157588  0  75  -5 - 310672 ep_pol 12:13 pts/8   00:00:00 node /.../node_modules/.bin/react-snap

$ cat /proc/157589/wchan
ep_poll

$ sudo cat /proc/157589/stack
[<0>] ep_poll+0x31f/0x370
[<0>] do_epoll_wait+0xbd/0xe0
[<0>] __x64_sys_epoll_wait+0x60/0x110
[<0>] do_syscall_64+0x59/0x90
[<0>] entry_SYSCALL_64_after_hwframe+0x63/0xcd

...it gets stuck waiting for something (the above remains the same forever).

from react-snap.

BenasB avatar BenasB commented on May 28, 2024

Experiencing this as well

from react-snap.

dwshetty avatar dwshetty commented on May 28, 2024

@stereobooster can you please look into this?

from react-snap.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.