Skip to content

Windows cross-platform build support #522

@gbsierra

Description

@gbsierra

Describe the bug
On Windows, I can not build the manifest repo.

The first err is:
"npm error code EBADPLATFORM
npm error notsup Unsupported platform for @codecov/[email protected]: wanted {"os":"darwin,linux"} (current: {"os":"win32"})"
it can maybe be an optional dependency.

Other errs proceeding include:

  • rm -rf should use shx for cross-platform compatibility
  • path for CSS loading for Swagger fails
  • path not found for
    "deleteOutDir": true,
    "assets": ["assets", "open-api/styles/swagger-custom.css"]

To Reproduce
Steps to reproduce the behavior:

  1. Go to CONTRIBUTING.md
  2. Scroll to the bottom
  3. Do the 'Getting started' process with Windows/powershell

Expected behavior
I wanted to use npm install and npm run dev on Windows device.

Environment (please give information about your environment):

  • Windows 11 version 24H2 (OS Build 26100.6584) and Windows 11 version 24H2 (OS Build 26100.6899)
  • Using up to date manifest repo

This PR suggests these changes: PR #514

Metadata

Metadata

Assignees

Labels

bugSomething isn't working

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions