Nuxt 3 / jsonwebtoken / Error: Failed to publish your Function

I am using Nuxt 3 with Cloudflare Pages. The build works fine and it correctly uses the nitro-preset "cloudflare-pages". I am also getting a "Success: Assets published!" message but after that it fails with the following error message: Error: Failed to publish your Function. Got error: Uncaught TypeError: Object prototype may only be an Object or null: undefined The error only occurs when I am using the verfiy/sign functions provided by jsonwebtoken. When replacing the jsonwebtoken package with @tsndr/cloudflare-worker-jwt it works as expected.
0 Replies
No replies yetBe the first to reply to this messageJoin
Want results from more Discord servers?
Add your server