Replies: 5 comments
-
You're importing experimental node webcrypto runtime that only works in node >15.0.0 What lead you to import "jose/webcrypto/jwks/remote"? |
Beta Was this translation helpful? Give feedback.
-
Thanks for your quick response @panva ! Good eye! but I've also now tried:
The same error occurs. I've also tried node-15.3.0, and have the same error:
Does anything else leap off the page for you? I'm also trying to understand what |
Beta Was this translation helpful? Give feedback.
-
The snippet works just fine with regular node. I'm using typescript to generate bundles from these very source files. The syntax is valid and compiled from properly. Possibly update your typescript version. Else i have no clue and it's simply a tooling issue. |
Beta Was this translation helpful? Give feedback.
-
Nailed it @panva thank you!
|
Beta Was this translation helpful? Give feedback.
-
Please consider supporting the library if it provides value to you or your company and this support was of help to you. Supporting the library means, amongst other things, that such support will be available in the future. |
Beta Was this translation helpful? Give feedback.
-
Greetings!
This is probably a basic TypeScript config issue but I'm a bit confused on an error after implementing [email protected].
In short, here's my
src/index.ts
(similar to this)When I run a
tsc
, I get the following error:Here's my tsconfig.json:
Is something misconfigured or is there an issue that I need to report?
Beta Was this translation helpful? Give feedback.
All reactions