-
Couldn't load subscription status.
- Fork 54
Closed
Description
Here is the log of the server booting:
Discovering workflow directives 7ms
Created intermediate workflow bundle 3ms
Created steps bundle 15ms
Creating webhook route
✔ Nitro Server built in 219ms nitro 12:05:28 PM
OpenTelemetry not available, tracing will be disabled
ReferenceError while running "wrun_01K8ATWEZJ9NVDXMC21EGND16P" workflow:
ReferenceError: Workflow "workflow//workflows/user-signup.ts//handleUserSignup" must be a function, but got "undefined" instead
at file:///Users/xx/workflow/nitro-app/node_modules/@workflow/core/dist/workflow.js:436:19
at trace (file:///Users/xx/workflow/nitro-app/node_modules/@workflow/core/dist/telemetry.js:72:22)
at async file:///Users/xx/workflow/nitro-app/node_modules/@workflow/core/dist/runtime.js:225:36
at async trace (file:///Users/xx/workflow/nitro-app/node_modules/@workflow/core/dist/telemetry.js:72:16)
at async file:///Users/xx/workflow/nitro-app/node_modules/@workflow/core/dist/runtime.js:181:16
at async file:///Users/xx/workflow/nitro-app/node_modules/@workflow/world-local/dist/queue.js:103:34
at async Object.handler (file:///xx/workflow/nitro-app/node_modules/h3/dist/index.mjs:2004:19)
at async Server.toNodeHandle (file:///xx/workflow/nitro-app/node_modules/h3/dist/index.mjs:2296:7)
Node 22.
Also, the workflows/ folder being outside server/ gets me this error:
When I try to look at the status of the workflows:
[Warn] PORT environment variable is not set, using default port 3000
[Error] No workflow data directory found. Have you run any workflows yet?
[Warn]
Check whether your data is in any of:
/Users/xxworkflow/.next/workflow-data
/Users/xx/workflow/.workflow-data
/Users/xx/workflow/workflow-data
[Error] Error: No workflow data directory found
Thank you!
Metadata
Metadata
Assignees
Labels
No labels