Skip to content

compilation eventually fails on devserver with doubled workflowEntrypoint #525

@jennmueng

Description

@jennmueng

After a while, and a couple of Rebuilt workflow bundle the nextjs dev server fails with

⨯ ./apps/web/src/app/.well-known/workflow/v1/flow/route.js:306:54
Ecmascript file had an error
  304 | `;
  305 |
> 306 | export const POST = workflowEntrypoint(workflowCode);POST = workflowEntrypoint(workflowCode);
      |                                                      ^^^^

cannot reassign to a variable declared with `const`

Metadata

Metadata

Assignees

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