Comments (9)
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.
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.
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.04Also, my workflow runs on node 16.
This solution (albeit temporary) works fine. Thanks @marcoandre1
from react-snap.
It has not been Build for 1 hour and 57 minutes, so I canceled
from react-snap.
me too, I have a same problem..
last month, it worked fine!
my workflow runs on Node 14.x
, ubuntu-latest
from react-snap.
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.
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.
Experiencing this as well
from react-snap.
@stereobooster can you please look into this?
from react-snap.
Related Issues (20)
- pagerror and incomplet crawled page with firestore HOT 4
- Problem with access to sitemap.xml
- Error in postbuild when using react-snap
- pageerror at /: SyntaxError: Unexpected token '.' HOT 8
- It is not rendering my css file on my 404 page HOT 1
- options.waitFor freezes crawling/rendering
- YouTube Video Embed Causing Error: DOMEXception: A network error occured. HOT 1
- Home page always being returned HOT 7
- Getting Same Page source for every page HOT 3
- Continue on error HOT 1
- Disable Crawling External JS such as Adsense and Analytics
- Support Vite.JS HOT 4
- Who uses it HOT 4
- React 18 not working ! HOT 10
- Not able to deploy on AWS Amplify HOT 3
- react-snap vulnerability
- SyntaxError: Unexpected token '?' HOT 8
- Getting react-app to work
- Prime React UI Kit Not Working With React Snap HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from react-snap.