Replies: 2 comments
-
| https://github.com/panva/jose/search?q=getCurves+is+not+a+function&type=Issues Use the signalled supported Node.js versions or don’t transpile crypto, one of these two. | 
Beta Was this translation helpful? Give feedback.
                  
                    0 replies
                  
                
            -
| A quick note, i've release a new major (v3.x) which is now a universal module with 0 dependencies and now works the same in the browser as well as node. | 
Beta Was this translation helpful? Give feedback.
                  
                    0 replies
                  
                
            
  
    Sign up for free
    to join this conversation on GitHub.
    Already have an account?
    Sign in to comment
  
        
    
Uh oh!
There was an error while loading. Please reload this page.
-
I have been unable to make use of the Jose module. I started with
npm install joseand haveconst { JWT } = require('jose');at the top of my code. No other code yet added to make use of the module, and I always get this error:TypeError: getCurves is not a function
./node_modules/jose/lib/registry/ec_curves.js
I haven't found any explanations online, but would greatly appreciate some guidance on how to make this work.
Thank you
Beta Was this translation helpful? Give feedback.
All reactions