[Bug]: Frefox installation fails sometimes on Github Action with Windows runner (original) (raw)
Steps to reproduce
I don't know how to reproduce, but here is the CI log https://github.com/sindresorhus/globals/actions/runs/17593300764/job/49979219964?pr=309#step:6:22
Expected results
Successfully install Firefox.
Actual results
...
[cause]: Error: Failed to extract C:\Users\runneradmin\.cache\puppeteer\firefox\stable_142.0.1-Firefox Setup 142.0.1.exe to C:\Users\runneradmin\.cache\puppeteer\firefox\win64-stable_142.0.1: null
at unpackArchive (file:///D:/a/globals/globals/node_modules/@puppeteer/browsers/lib/esm/fileUtil.js:39:19)
at installUrl (file:///D:/a/globals/globals/node_modules/@puppeteer/browsers/lib/esm/install.js:173:19)
at process.processTicksAndRejections (node:internal/process/task_queues:105:5)
at async install (file:///D:/a/globals/globals/node_modules/@puppeteer/browsers/lib/esm/install.js:41:16)
at async downloadBrowser (file:///D:/a/globals/globals/node_modules/puppeteer/lib/esm/puppeteer/node/install.js:14:24)
at async Promise.all (index 0)
at async downloadBrowsers (file:///D:/a/globals/globals/node_modules/puppeteer/lib/esm/puppeteer/node/install.js:84:9)
at async downloadBrowser (file:///D:/a/globals/globals/scripts/get-browser-globals.mjs:96:3)
at async getGlobalsInBrowser (file:///D:/a/globals/globals/scripts/get-browser-globals.mjs:109:2)
at async getBrowserGlobals (file:///D:/a/globals/globals/scripts/get-browser-globals.mjs:127:25)
}
I've seen this many times, but it will succeed when I rerun, maybe related to the system?
I remember that I've seen different filenames (stable_142.0.1-Firefox Setup 142.0.1.exe this time) downloaded, but I'm not sure how.