Error When Build with React Snap

ikadeknandasanjaya
HOBBY

7 months ago

Hello i got an error while building my frontend react app, the case is i want to implement react snap to enhance my SEO in react. But the build is fail, after some research it says need to make sure Puppeteer dependencies installed in docker. Can you help about this?

0 Replies

ikadeknandasanjaya
HOBBY

7 months ago

4f74db8e-a3b5-42b8-b383-5d9a8264d76b


7 months ago

please provide your repo


ikadeknandasanjaya
HOBBY

7 months ago

Can i have your github email?


ikadeknandasanjaya
HOBBY

7 months ago

Because i will not make it public


7 months ago

brody192


ikadeknandasanjaya
HOBBY

7 months ago

invited


ikadeknandasanjaya
HOBBY

7 months ago

The main problem is since i add the react snap in the package json

"build": "CI=false react-scripts build && react-snap",

7 months ago

so just to be clear, the site did work before react snap?


ikadeknandasanjaya
HOBBY

7 months ago

yes the build is succeed before react snap, and i really need the react snap to enhance my site seo


7 months ago

you know google will render the site with a headless browser when it crawls the site right?


ikadeknandasanjaya
HOBBY

7 months ago

Ah yes 🙂
because some my page maybe i need to request a new inspect url to google search console, because some my page in google still not indexed the react helmet


7 months ago

I feel like you are chasing the wrong solution, are you sure react snap is the solution? it's also been unmaintained for 2 years


7 months ago

curious as to why you removed me from the repo? i had no intention to not help you, i simply wanted to make sure this was the optimal solution