stereobooster / react-snap

👻 Zero-configuration framework-agnostic static prerendering for SPAs
MIT License
5.04k stars 391 forks source link

fail to build postbuild: `react-snap` #517

Open satyendrasingh8 opened 3 years ago

satyendrasingh8 commented 3 years ago

error at /flipkart-daily-trivia-quiz TimeoutError: Navigation Timeout Exceeded: 30000ms exceeded at D:\webserv4u\quizbeater\node_modules\puppeteer\lib\LifecycleWatcher.js:142:21 -- ASYNC -- at Frame. (D:\webserv4u\quizbeater\node_modules\puppeteer\lib\helper.js:111:15) at Page.goto (D:\webserv4u\quizbeater\node_modules\puppeteer\lib\Page.js:674:49) at Page. (D:\webserv4u\quizbeater\node_modules\puppeteer\lib\helper.js:112:23) at fetchPage (D:\webserv4u\quizbeater\node_modules\react-snap\src\puppeteer_utils.js:232:22) at processTicksAndRejections (internal/process/task_queues.js:93:5)

npm ERR! code ELIFECYCLE npm ERR! errno 1 npm ERR! quizbeater@0.1.0 postbuild: react-snap npm ERR! Exit status 1 npm ERR! npm ERR! Failed at the quizbeater@0.1.0 postbuild script. npm ERR! This is probably not a problem with npm. There is likely additional logging output above.

codevjs commented 3 years ago

some problem

codevjs commented 3 years ago

in file puppeteer_utils.js replace networkidle0 to networkidle2, its work for me

image

raunakchopra commented 3 years ago

were you able to solve it?

ProUnebit commented 3 years ago

Same error, can't assemble project... "react-snap": "^1.23.0"

MoukimHF commented 2 years ago

Same problem

jaypavasiya commented 2 years ago

Same problem "react-snap": "^1.23.0" image

shyamcse09 commented 10 months ago

I am also having same problem, Please suggest