-
Notifications
You must be signed in to change notification settings - Fork 44
Open
Description
"@workos-inc/node": "7.59.0"
Getting an error after enabling "nodejs_compat" compatibility flag in wrangler.jsonc. Full stack trace:
error running node_modules/.vite/deps_app/@workos-inc_node.js?v=54cb8c7e
Error: Dynamic require of "buffer/index.js" is not supported
at node_modules/.vite/deps_app/chunk-UP2VWCW5.js:9:9
at ../../node_modules/.pnpm/iron-webcrypto@0.2.8/node_modules/iron-webcrypto/dist/index.js (node_modules/.vite/deps_app/@workos-inc_node.js:1610:29)
at __require2 (node_modules/.vite/deps_app/chunk-UP2VWCW5.js:15:50)
at ../../node_modules/.pnpm/iron-session@6.3.1_next@14.2.5_react-dom@19.1.0_react@19.1.0__react@19.1.0_/node_modules/iron-session/edge/dist/index.js (node_modules/.vite/deps_app/@workos-inc_node.js:1902:24)
at __require2 (node_modules/.vite/deps_app/chunk-UP2VWCW5.js:15:50)
at ../../node_modules/.pnpm/@workos-inc+node@7.59.0_next@14.2.5_react-dom@19.1.0_react@19.1.0__react@19.1.0_/node_modules/@workos-inc/node/lib/common/iron-session/edge-iron-session-provider.js (node_modules/.vite/deps_app/@workos-inc_node.js:2148:18)
at __require2 (node_modules/.vite/deps_app/chunk-UP2VWCW5.js:15:50)
at ../../node_modules/.pnpm/@workos-inc+node@7.59.0_next@14.2.5_react-dom@19.1.0_react@19.1.0__react@19.1.0_/node_modules/@workos-inc/node/lib/index.worker.js (node_modules/.vite/deps_app/@workos-inc_node.js:12311:40)
at __require2 (node_modules/.vite/deps_app/chunk-UP2VWCW5.js:15:50)
at node_modules/.vite/deps_app/@workos-inc_node.js:12362:16
error running worker/hono/api.ts
Error: Dynamic require of "buffer/index.js" is not supported
at node_modules/.vite/deps_app/chunk-UP2VWCW5.js:9:9
at ../../node_modules/.pnpm/iron-webcrypto@0.2.8/node_modules/iron-webcrypto/dist/index.js (node_modules/.vite/deps_app/@workos-inc_node.js:1610:29)
at __require2 (node_modules/.vite/deps_app/chunk-UP2VWCW5.js:15:50)
at ../../node_modules/.pnpm/iron-session@6.3.1_next@14.2.5_react-dom@19.1.0_react@19.1.0__react@19.1.0_/node_modules/iron-session/edge/dist/index.js (node_modules/.vite/deps_app/@workos-inc_node.js:1902:24)
at __require2 (node_modules/.vite/deps_app/chunk-UP2VWCW5.js:15:50)
at ../../node_modules/.pnpm/@workos-inc+node@7.59.0_next@14.2.5_react-dom@19.1.0_react@19.1.0__react@19.1.0_/node_modules/@workos-inc/node/lib/common/iron-session/edge-iron-session-provider.js (node_modules/.vite/deps_app/@workos-inc_node.js:2148:18)
at __require2 (node_modules/.vite/deps_app/chunk-UP2VWCW5.js:15:50)
at ../../node_modules/.pnpm/@workos-inc+node@7.59.0_next@14.2.5_react-dom@19.1.0_react@19.1.0__react@19.1.0_/node_modules/@workos-inc/node/lib/index.worker.js (node_modules/.vite/deps_app/@workos-inc_node.js:12311:40)
at __require2 (node_modules/.vite/deps_app/chunk-UP2VWCW5.js:15:50)
at node_modules/.vite/deps_app/@workos-inc_node.js:12362:16
error running worker/index.ts
Error: Dynamic require of "buffer/index.js" is not supported
at node_modules/.vite/deps_app/chunk-UP2VWCW5.js:9:9
at ../../node_modules/.pnpm/iron-webcrypto@0.2.8/node_modules/iron-webcrypto/dist/index.js (node_modules/.vite/deps_app/@workos-inc_node.js:1610:29)
at __require2 (node_modules/.vite/deps_app/chunk-UP2VWCW5.js:15:50)
at ../../node_modules/.pnpm/iron-session@6.3.1_next@14.2.5_react-dom@19.1.0_react@19.1.0__react@19.1.0_/node_modules/iron-session/edge/dist/index.js (node_modules/.vite/deps_app/@workos-inc_node.js:1902:24)
at __require2 (node_modules/.vite/deps_app/chunk-UP2VWCW5.js:15:50)
at ../../node_modules/.pnpm/@workos-inc+node@7.59.0_next@14.2.5_react-dom@19.1.0_react@19.1.0__react@19.1.0_/node_modules/@workos-inc/node/lib/common/iron-session/edge-iron-session-provider.js (node_modules/.vite/deps_app/@workos-inc_node.js:2148:18)
at __require2 (node_modules/.vite/deps_app/chunk-UP2VWCW5.js:15:50)
at ../../node_modules/.pnpm/@workos-inc+node@7.59.0_next@14.2.5_react-dom@19.1.0_react@19.1.0__react@19.1.0_/node_modules/@workos-inc/node/lib/index.worker.js (node_modules/.vite/deps_app/@workos-inc_node.js:12311:40)
at __require2 (node_modules/.vite/deps_app/chunk-UP2VWCW5.js:15:50)
at node_modules/.vite/deps_app/@workos-inc_node.js:12362:16
7:23:52 PM [vite] Internal server error: Dynamic require of "buffer/index.js" is not supported
at async ProxyServer.fetch (node_modules/miniflare/src/workers/core/proxy.worker.ts:173:11)
hexcowboy, ammubhave, sahanh and herkulano
Metadata
Metadata
Assignees
Labels
No labels