Edge runtime node:crypto error in installed npm package #67334
              
                Unanswered
              
          
                  
                    
                      the-content
                    
                  
                
                  asked this question in
                App Router
              
            Replies: 0 comments
  
    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.
-
The application handles routes. The API uses the npm package @tma.js/init-data-node, but it uses node:crypto. Then my API route handler sets the edge runtime. I can't change this package. How should I solve it so that it can run without errors in the edge runtime?



I have tried various configuration methods, but none of them seem to work.
Beta Was this translation helpful? Give feedback.
All reactions