Skip to content

The -c --extra-options-file flag isn't working #567

@damianpeaf

Description

@damianpeaf

I was using the command with version 4.0.3, and it worked correctly.

npx peggy -c .\config.js

But now that I try to use it with version 4.1.1, I get the following error message:

Error importing config ".\config.js"
Only URLs with a scheme in: file, data, and node are supported by the default ESM loader. On Windows, absolute paths must be valid file:// URLs. Received protocol 'c:'

I'm not sure if this issue is directly related to Peggy or something in Node.

Node version: 22.5.1
OS: Windows 11

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