Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[CF Pages Sveltkit Server-side] ReferenceError: CryptoKey is not defined #79

Open
TimKieu opened this issue May 10, 2024 · 0 comments
Open

Comments

@TimKieu
Copy link

TimKieu commented May 10, 2024

The engine runs well on Workers but
I am moving from Workers to Pages server-side code but got Error when jwt. sign.

ReferenceError: CryptoKey is not defined
at Object.sign (file:///.../node_modules/.pnpm/@tsndr+cloudflare-worker-jwt@2.5.3/node_modules/@tsndr/cloudflare-worker-jwt/index.js:103:33)

Environment: MacOS ARM development
CF Pages: Sveltkit with CF adapter

please help.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant