Puppeteer: Unsupported platform '{value}'
The browser CLI platform value is not a supported BrowserPlatform enum value.
The browser CLI platform value is not a supported BrowserPlatform enum value.
Error message
Unsupported platform '{value}'
{value} is replaced by the value shown in your error message.
How this error happens
The CLI’s platform option is a browser-platform identifier, not a generic architecture nickname.
Run these commands in a project terminal.
npx @puppeteer/browsers install chrome@stable \
--platform=ubuntu
How to fix
On a supported host, omit platform and let the installer detect it.
npx @puppeteer/browsers install chrome@stable
Things to keep in mind
For deliberate cross-platform downloads, use the appropriate supported value: linux, linux_arm, mac, mac_arm, win32 or win64. Downloading a binary for another platform does not make it runnable on the current host.