mifi / reactive-video

Create videos using React!
GNU General Public License v3.0
159 stars 13 forks source link

npx @puppeteer/browsers install chromium@117.0.5938.149 --path browser #22

Closed logmannn closed 11 months ago

logmannn commented 11 months ago

Error: Download failed: server returned code 404. URL: https://storage.googleapis.com/chromium-browser-snapshots/Mac_Arm/117.0.5938.149/chrome-mac.zip

mifi commented 11 months ago

oops that was a typo (chromium). try:

npx @puppeteer/browsers install chrome@117.0.5938.149 --path browser
logmannn commented 11 months ago

This seemed to work but only without --path browser

mifi commented 11 months ago

ah, I see:

Error: Target directory is expected to be absolute

I think it's this bug: https://github.com/max-mapper/extract-zip/issues/124

the path must be absolute. will update readme, thanks

logmannn commented 11 months ago

Yeah. That was the error I encountered.

currently seeing:

➜  awesome-reactive-video npm run start

> awesome-reactive-video@1.0.0 start
> node index.js

Compiling Reactive Video Javascript
Starting server
Launching puppeteer, concurrency: 3
Rendering frames
Part 0,0 page pageerror You must provide src
Part 0,0 browser is broken, restarting: You must provide src
Part 1,30 page pageerror You must provide src
Part 1,30 browser is broken, restarting: You must provide src
Part 2,60 page pageerror You must provide src
Part 2,60 browser is broken, restarting: You must provide src
Part 2,60 page pageerror You must provide src
Part 2,60 browser is broken, restarting: You must provide src
Part 2,60 page pageerror You must provide src
Part 2,60 browser is broken, restarting: You must provide src
Part 2,60 page pageerror You must provide src
Part 2,60 browser is broken, restarting: You must provide src
Failed to restart browser after 3 attempts
Caught error at frame 60, part 2 (60) You must provide src
Caught error in one part, aborting the rest
Terminating renderer workers
Stopping HTTP server
Stopping bundle watcher
Bundle watcher stopped
node:internal/process/promises:288
            triggerUncaughtException(err, true /* fromPromise */);
            ^

Error: You must provide src
mifi commented 11 months ago

well obviously you must provide src 😄

logmannn commented 11 months ago

Thanks!