Skip to content

Worker was unable to load entry point #630

@ejizba

Description

@ejizba

With the rollout of host version 4.12 users can see this error:

Worker was unable to load entry point "index.js": Found zero files matching the supplied pattern

NOTE: The filename in the message may be different, but "index.js" is by far the most common.

Mitigation

Update: The change was rolled back in host v4.12.2.19454. No further mitigation should be necessary.

Background

We introduced a new feature in #537 that lets users run app-level entrypoint code. By default we would load the file specified in a user's package.json "main" field and throw an error if we have any issues loading the file specified. Unfortunately, many existing users appear to have "main" set to "index.js" but that file does not exist in their app. When we started rolling out this feature, that means their app would fail to start.

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions