Skip to content

[TRI-699] The CLI init command fails on Windows because of file:// paths #190

Description

@matt-aitken

Steps to reproduce

Running the init command on Windows results in this:

"√ Successfully added dependencies to package.json: @trigger.dev/sdk@2.0.0-next.18, @trigger.dev/nextjs@1.0.0-next.8
✅ Added TRIGGER_API_KEY=*** to .env.local
✅ Added TRIGGER_API_URL=https://cloud.trigger.dev/ to .env.local
Aborting installation...
Error [ERR_UNSUPPORTED_ESM_URL_SCHEME]: Only file and data URLs are supported by the default ESM loader. On Windows, absolute paths must be valid file:// URLs. Received protocol 'd:'"

TRI-699

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions