Comments (3)
For me its:
Error: Failed to launch chrome! /codebuild/output/src323254157/src/outdoor-frontend/node_modules/puppeteer/.local-chromium/linux-686378/chrome-linux/chrome: error while loading shared libraries: libX11-xcb.so.1: cannot open shared object file: No such file or directory
from react-snap.
For me its:
Error: Failed to launch chrome! /codebuild/output/src323254157/src/outdoor-frontend/node_modules/puppeteer/.local-chromium/linux-686378/chrome-linux/chrome: error while loading shared libraries: libX11-xcb.so.1: cannot open shared object file: No such file or directory
I Solve that error with this code in your package.json
"reactSnap": {
"source": "./dist",
"puppeteerArgs": [
"--no-sandbox",
"--disable-setuid-sandbox"
]
},
But now i have a new error
2023-11-08T00:05:40.792Z [INFO]: 🔥 pageerror at /: SyntaxError: Unexpected token '?'
2023-11-08T00:05:41.745Z [INFO]: ️️️💬 console.log at /: Failed to load resource: the server responded with a status of 403 ()
2023-11-08T00:05:42.808Z [INFO]: ✅ crawled 1 out of 1 (/)
from react-snap.
For me its:
Error: Failed to launch chrome! /codebuild/output/src323254157/src/outdoor-frontend/node_modules/puppeteer/.local-chromium/linux-686378/chrome-linux/chrome: error while loading shared libraries: libX11-xcb.so.1: cannot open shared object file: No such file or directory
I Solve that error with this code in your package.json
"reactSnap": { "source": "./dist", "puppeteerArgs": [ "--no-sandbox", "--disable-setuid-sandbox" ] },
But now i have a new error 2023-11-08T00:05:40.792Z [INFO]: 🔥 pageerror at /: SyntaxError: Unexpected token '?' 2023-11-08T00:05:41.745Z [INFO]: ️️️💬 console.log at /: Failed to load resource: the server responded with a status of 403 () 2023-11-08T00:05:42.808Z [INFO]: ✅ crawled 1 out of 1 (/)
"reactSnap": { "puppeteerArgs": ["--no-sandbox", "--disable-setuid-sandbox"] },
By adding this is working fine when I deploy to vercel. But have same problem with AWS Amplify
from react-snap.
Related Issues (20)
- Installation stucks at the end HOT 2
- Is this package working? HOT 4
- Use multiple index.html with different apps HOT 1
- 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
- There is a phenomenon in which the build does not end in the GitHub Actions (Linux Latest) environment. HOT 9
- React 18 not working ! HOT 10
- react-snap vulnerability
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.