Comments (9)
I hit this on a really old project and traced it to a google maps iframe embed URL (that had a question mark). Setting the following config helped me:
"reactSnap": {
"skipThirdPartyRequests": true,
"preconnectThirdParty": false
}
from react-snap.
Same exact issue here, I found that adding "homepage": ".",
to the root level of your package.json file will bypass the error. I don't think it's fixing the error completely because this allows react-snap to generate the HTML pages you'd expect but they are not rendered (all of them would have the same content as the default index.html page before rendering)
from react-snap.
Lol this did not work for me. Using react-router & Vite. This fix passed the syntax error but only rendered my root page. Any documentation where I can define my routes statically? Does this even work with react-router? Should I join the masses and move to Next.js? Am I real?
(Of course I'm aware that this package isn't actively maintained and I don't expect anyone to have these answers. Simply joking.)
from react-snap.
@brandonburkett did you find any solution ??
from react-snap.
same issue with the question mark
from react-snap.
Related Issues (20)
- 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
- Not able to deploy on AWS Amplify HOT 3
- 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.