cenfun / puppeteer-chromium-resolver

Tool to resolve puppeteer and chromium faster
https://www.npmjs.com/package/puppeteer-chromium-resolver
MIT License
58 stars 10 forks source link

uncompactable chromium version is installed by PCR causing issue in puppeter #13

Open Natraj1coder opened 3 weeks ago

Natraj1coder commented 3 weeks ago

Error: spawn UNKNOWN\n at ChildProcess.spawn (node:internal/child_process:413:11)\n at Object.spawn (node:child_process:700:9)\n at Object.spawn (pkg/prelude/bootstrap.js:2076:27)\n at new Process (C:\snapshot\node_fies\node_modules\@puppeteer\browsers\lib\cjs\launch.js:103:56)\n at launch (C:\snapshot\node_fies\node_modules\@puppeteer\browsers\lib\cjs\launch.js:50:12)\n at ChromeLauncher.launch (C:\snapshot\node_fies\node_modules\puppeteer-core\lib\cjs\puppeteer\node\ProductLauncher.js:76:54)\n at async C:\snapshot\node_fies\index.js:150:25 Screenshot from 2024-06-10 20-32-13

kindly fix this issue

cenfun commented 3 weeks ago

Can you try remove the downloaded chromium package and reinstall again? the download dir could be {homedir()}/.chromium-browser-snapshots, for example: C:\Users\{user-name}\.chromium-browser-snapshots

Natraj1coder commented 3 weeks ago

tried getting the same issue when I try to open the chromium I am getting this Screenshot from 2024-06-11 10-45-55

cenfun commented 3 weeks ago

I thought that it is a issue of puppeteer or chromium on your PC, but not puppeteer-chromium-resolver. puppeteer-chromium-resolver just download puppeteer and chromium to your PC. Could you please report this to puppeteer: https://github.com/puppeteer/puppeteer/issues or see https://pptr.dev/troubleshooting