Skip to content

[Bug] Convex CLI fails on windows due to the : in path #140

Open
@arduano

Description

@arduano

This line gets hit when trying to run convex dev on windows:

"Path component {s} can only contain alphanumeric characters, underscores, or periods."

Here's a sample (simplified) error that I get when I run it:

✖ Error fetching POST  http://my.convex.instance:3210/api/prepare_schema 400 Bad Request: BadConvexModuleIdentifier: C:/path/to/repo/out/schema.js is not a valid path to a Convex module. Path component C: can only contain alphanumeric characters, underscores, or periods.

I'm not sure what the ideal solution would be, but I'm confused why a server-side error would be happening due to dev-side configuration. Maybe using relative paths relative to the closes .git folder would be better?

Metadata

Metadata

Assignees

No one assigned

    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