WARNING: THIS SITE IS A MIRROR OF GITHUB.COM / IT CANNOT LOGIN OR REGISTER ACCOUNTS / THE CONTENTS ARE PROVIDED AS-IS / THIS SITE ASSUMES NO RESPONSIBILITY FOR ANY DISPLAYED CONTENT OR LINKS / IF YOU FOUND SOMETHING MAY NOT GOOD FOR EVERYONE, CONTACT ADMIN AT ilovescratch@foxmail.com
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

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions