-
Notifications
You must be signed in to change notification settings - Fork 4
Open
Description
The redis world cannot be used anywhere. I tried in Netlify and Vercel. Got the same error. I tried Next.js and Hono with Nitro.
Either this error:
⨯ Error: require() of ES Module /var/task/node_modules/@workflow-worlds/redis/dist/index.js from /var/task/index.js not supported.
Instead change the require of /var/task/node_modules/@workflow-worlds/redis/dist/index.js in /var/task/index.js to a dynamic import() which is available in all CommonJS modules.
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: 'ERR_REQUIRE_ESM',
page: '/api/signup'
}
Or just
ERROR ⨯ Error: Cannot find module '@workflow-worlds/redis'
Require stack:
- /var/task/index.js
at ignore-listed frames {
code: 'MODULE_NOT_FOUND',
requireStack: [Array]
}
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels