Skip to content

The Workers runtime failed to start #9714

Open
@mellunar

Description

@mellunar

What versions & operating system are you using?

wrangler 4.20.5, angular 20.0.0

Please provide a link to a minimal reproduction

https://github.com/mellunar/angular-tests

Describe the Bug

While testing an Angular 20 app, I get the error below when the build is complete and workers is run locally .
The same happens when deploying to Cloudflare.

Your Worker has access to the following bindings:
Binding            Resource      Mode
env.ASSETS         Assets        local

[wrangler:info] Ready on http://127.0.0.1:8787
⎔ Starting local server...
X [ERROR] service core:user:my-angular-app: Uncaught TypeError: The argument 'path' The argument must be a file URL object, a file URL string, or an absolute path string.. Received 'undefined'

    at null.<anonymous> (node:module:12:15) in createRequire
    at null.<anonymous> (server.js:1119:42) in createRequire
    at null.<anonymous> (server.js:35904:27)

X [ERROR] The Workers runtime failed to start. There is likely additional logging output above.

Please provide any relevant error logs

No response

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething that isn't working

    Type

    Projects

    Status

    Untriaged

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions