I was using the command with version 4.0.3, and it worked correctly.
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
I was using the command with version 4.0.3, and it worked correctly.
npx peggy -c .\config.jsBut 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