Skip to content

Running commands for .mjs files on Windows #3548

@srwei

Description

@srwei

I was going through the README and ran into a Windows specific issue when trying to build chromium-bidi. All the npm run commands like e2e, server, all call the .mjs files. Since Windows can't read it directly, I was getting a build issue with:

'tools' is not recognized as an internal or external command, operable program or batch file.

I was able to resolve this by locally updating package.json to include "node " before all the .mjs commands. Would be great to have Windows support here, or at least an update in the README regarding this.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions