Error [ERR_REQUIRE_ESM]: require() of ES Module /var/task/node_modules/.pnpm/jose@6.1.0/node_modules/jose/dist/webapi/index.js from /var/task/node_modules/.pnpm/@better-auth+core@1.3.34_@better-auth+utils@0.3.0_@better-fetch+fetch@1.1.18_better-cal_566acc6130a3ff36333cffd139a2cceb/node_modules/@better-auth/core/dist/social-providers/index.cjs not supported.
Instead change the require of index.js in /var/task/node_modules/.pnpm/@better-auth+core@1.3.34_@better-auth+utils@0.3.0_@better-fetch+fetch@1.1.18_better-cal_566acc6130a3ff36333cffd139a2cceb/node_modules/@better-auth/core/dist/social-providers/index.cjs to a dynamic import() which is available in all CommonJS modules.
at /opt/rust/nodejs.js:2:13528
at Function.Gr (/opt/rust/nodejs.js:2:13906)
at Ue.e.<computed>.Be._load (/opt/rust/nodejs.js:2:13498)
at a (/opt/rust/bytecode.js:2:1094)
at Object.<anonymous> (/var/task/node_modules/.pnpm/@better-auth+core@1.3.34_@better-auth+utils@0.3.0_@better-fetch+fetch@1.1.18_better-cal_566acc6130a3ff36333cffd139a2cceb/node_modules/@better-auth/core/dist/social-providers/index.cjs:6:14)
at Module.<anonymous> (/opt/rust/bytecode.js:2:1435) {
code: 'ERR_REQUIRE_ESM'
}
Node.js process exited with exit status: 1. The logs above can help with debugging the issue.
Error [ERR_REQUIRE_ESM]: require() of ES Module /var/task/node_modules/.pnpm/jose@6.1.0/node_modules/jose/dist/webapi/index.js from /var/task/node_modules/.pnpm/@better-auth+core@1.3.34_@better-auth+utils@0.3.0_@better-fetch+fetch@1.1.18_better-cal_566acc6130a3ff36333cffd139a2cceb/node_modules/@better-auth/core/dist/social-providers/index.cjs not supported.
Instead change the require of index.js in /var/task/node_modules/.pnpm/@better-auth+core@1.3.34_@better-auth+utils@0.3.0_@better-fetch+fetch@1.1.18_better-cal_566acc6130a3ff36333cffd139a2cceb/node_modules/@better-auth/core/dist/social-providers/index.cjs to a dynamic import() which is available in all CommonJS modules.
at /opt/rust/nodejs.js:2:13528
at Function.Gr (/opt/rust/nodejs.js:2:13906)
at Ue.e.<computed>.Be._load (/opt/rust/nodejs.js:2:13498)
at a (/opt/rust/bytecode.js:2:1094)
at Object.<anonymous> (/var/task/node_modules/.pnpm/@better-auth+core@1.3.34_@better-auth+utils@0.3.0_@better-fetch+fetch@1.1.18_better-cal_566acc6130a3ff36333cffd139a2cceb/node_modules/@better-auth/core/dist/social-providers/index.cjs:6:14)
at Module.<anonymous> (/opt/rust/bytecode.js:2:1435) {
code: 'ERR_REQUIRE_ESM'
}
Node.js process exited with exit status: 1. The logs above can help with debugging the issue.