Skip to content

Bun & Vite request failures #540

Open
Open

Description

@kriszyp

Bun will throw this whenever you access http://localhost:9926/ with Vite:

[http/1] [error]: TypeError: null is not an object (evaluating 'req.url')
    at handle (/Users/chris/projects/harper-doom/node_modules/.pnpm/vite@8.0.8_@types+node@25.6.0_yaml@2.8.3/node_modules/vite/dist/node/chunks/node.js:6108:32)
    at app (/Users/chris/projects/harper-doom/node_modules/.pnpm/vite@8.0.8_@types+node@25.6.0_yaml@2.8.3/node_modules/vite/dist/node/chunks/node.js:6053:8)
    at <anonymous> (unknown:15:70)
    at http (/Users/chris/projects/harper/dist/server/REST.js:71:24)
    at <anonymous> (/Users/chris/projects/harper/dist/server/REST.js:322:16)
    at authentication (/Users/chris/projects/harper/dist/security/auth.js:345:32)
    at async <anonymous> (/Users/chris/projects/harper/dist/server/http.js:571:48)
    at processTicksAndRejections (native:7:39)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    Fields

    Priority

    P2

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions