Cannot find module error when using standalone mode #85727
              
                Unanswered
              
          
                  
                    
                      tushgaurav
                    
                  
                
                  asked this question in
                Help
              
            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.
-
Summary
Hi, I am building a project that uses bun, libsql with Drizzle ORM. This setup work in development mode but when I build using the standalone mode, the project builds successfully but when the server action with database calls are executed it errors out saying:
What could be the issue that I am having?
I need to have standalone mode as I will be creating docker images for this project and I need to have a small image size.
Here is my package.json file:
Additional information
No response
Example
No response
Beta Was this translation helpful? Give feedback.
All reactions