This repository has been archived by the owner on Jul 21, 2023. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 52
Node 15: The property 'options.publicKeyEncoding.format' is invalid. Received 'jwk' #221
Labels
Comments
So actually Node 15 has reach end-of-life support. It may make more sense to just say that the library supports node 16 and above. |
D4nte
added a commit
to D4nte/js-libp2p-crypto
that referenced
this issue
Jan 6, 2022
This library does not work with node 15 (libp2p#221). Moreover, node 15 has reached End-of-Life. Resolves libp2p#221.
achingbrain
pushed a commit
that referenced
this issue
Jan 8, 2022
This library does not work with node 15 (#221). Moreover, node 15 has reached End-of-Life.
🎉 This issue has been resolved in version 0.22.4 🎉 The release is available on: Your semantic-release bot 📦🚀 |
I still see this problem using Node 16
|
Update your node install. nodejs/node#39205 was initially reported on 16.4 so fixed after that and you have 16.1. |
Wow, thanks so much for the quick response. That worked. |
Sign up for free
to subscribe to this conversation on GitHub.
Already have an account?
Sign in.
Latest release says that only node 15+ is supported: https://github.com/libp2p/js-libp2p-crypto/releases/tag/v0.21.0
Note that the
package.json
was not updated accordingly:js-libp2p-crypto/package.json
Line 65 in 508c790
Node 15 is actually not supported as we can see when running the CI with 15: https://github.com/D4nte/js-libp2p-crypto/runs/4438572378?check_suite_focus=true
Only node 16 works.
I wonder if it's due to this bug only fixed on node 16: nodejs/node#39205
The text was updated successfully, but these errors were encountered: