-
Notifications
You must be signed in to change notification settings - Fork 151
Open
Description
I followed the instructions in https://useworkflow.dev/docs/deploying/world/postgres-world. I'm using Next.js 16.1.1. Deployed to Vercel (Node 24). got this error when I called the end point:
2025-12-26 09:20:40.395 [info] Starting Postgres World...
2025-12-26 09:20:40.395 [info] Failed to prepare server Error: An error occurred while loading instrumentation hook: Cannot find module '@workflow/world-postgres'
Require stack:
- /var/task/index.js
at <unknown> (../../opt/rust/nodejs.js:2:13529)
at Module.dn (../../opt/rust/nodejs.js:2:13907)
at Je.e.<computed>.ze._load (../../opt/rust/nodejs.js:2:13499) {
code: 'MODULE_NOT_FOUND',
requireStack: [Array]
}
2025-12-26 09:20:40.395 [info] Failed to prepare server Error: An error occurred while loading instrumentation hook: Cannot find module '@workflow/world-postgres'
Require stack:
- /var/task/index.js
at <unknown> (../../opt/rust/nodejs.js:2:13529)
at Module.dn (../../opt/rust/nodejs.js:2:13907)
at Je.e.<computed>.ze._load (../../opt/rust/nodejs.js:2:13499) {
code: 'MODULE_NOT_FOUND',
requireStack: [Array]
}
2025-12-26 09:20:40.400 [error] Error: An error occurred while loading instrumentation hook: Cannot find module '@workflow/world-postgres'
Require stack:
- /var/task/index.js
at <unknown> (../../opt/rust/nodejs.js:2:13529)
at Module.dn (../../opt/rust/nodejs.js:2:13907)
at Je.e.<computed>.ze._load (../../opt/rust/nodejs.js:2:13499) {
code: 'MODULE_NOT_FOUND',
requireStack: [Array]
}
Same thing with Redis world. The only way I can use workflow is with Vercel World in Pro plan. Hobby plan doesn't work which is annoying.
The packages:
npm list
[email protected]
├── @emnapi/[email protected] extraneous
├── @emnapi/[email protected] extraneous
├── @emnapi/[email protected] extraneous
├── @napi-rs/[email protected] extraneous
├── @tailwindcss/[email protected]
├── @tybys/[email protected] extraneous
├── @types/[email protected]
├── @types/[email protected]
├── @types/[email protected]
├── @workflow/[email protected]
├── [email protected]
├── [email protected]
├── [email protected]
├── [email protected]
├── [email protected]
├── [email protected]
├── [email protected]
└── [email protected]
Metadata
Metadata
Assignees
Labels
No labels