Skip to content

Dev schedule dispatch route 500s on Windows (cannot find authored-module-map-loader, backslash path) #311

Description

@pcfds

Summary

On Windows, the dev schedule dispatch route returns a 500 with an internal module-not-found error. Everything else in the same project works — normal sessions, MCP connection tool calls, durable HITL (kill + restart + resume), and eve eval. Only the schedule dispatch route fails, and the path in the error uses Windows backslashes, so this looks like a path-resolution bug in the dev codegen on Windows.

Repro

  1. Add a schedule:
// agent/schedules/digest.ts
import { defineSchedule } from "eve/schedules";
export default defineSchedule({
  cron: "0 9 * * *",
  markdown: "Summarize something.",
});
  1. npx eve dev --no-ui
  2. POST /eve/v1/dev/schedules/digest

Actual (500)

Cannot find module 'C:\<project>\src\internal\authored-module-map-loader.ts'
imported from C:\<project>\.eve\nitro\dev\index.mjs

Expected

Per the docs, the dispatch route fires the schedule once and returns the started session id(s).

Environment

eve 0.13.8 · Node 24 · Windows 11

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions