My Environment:
- OS: Windows 11
- Terminal: PowerShell
- Node Version: v24.12.0 (matches .nvmrc)
- npm Version: 11.6.2
The Issue:
While following the setup instructions in developing.md, npm install fails on Windows due to @codecov/bundle-analyzer requiring a Darwin or Linux platform.
npm error code EBADPLATFORM
npm error notsup Unsupported platform for @codecov/[email protected]: wanted {"os":"darwin,linux"} (current: {"os":"win32"})
npm error notsup Valid os: darwin,linux
npm error notsup Actual os: win32
npm error A complete log of this run can be found in: C:\..\..\AppData\Local\npm-cache\_logs\2026-05-12T08_00_22_432Z-debug-0.log
Found Workaround: I was able to proceed by running npm install --force.
Request for Guidance:
- Could the maintainers provide a recommended way to handle this on Windows without relying on --force?
- I'm worried that --force might lead to bugs. Should I stick with this setup for my first PR, or is there a cleaner alternative for Windows users?
My Environment:
The Issue:
While following the setup instructions in developing.md,
npm installfails on Windows due to @codecov/bundle-analyzer requiring a Darwin or Linux platform.Found Workaround: I was able to proceed by running
npm install --force.Request for Guidance: