Node app Typescrip drizzle-orm/libsql works fine in terminal, but errors running in Docker container
I've built a Node Express app with Typescript. I'm using Drizzle and TursoDb for the data stuff. Everything works peachy when I'm running the app in terminal. It also builds (tsc) and then the /dist version runs perfectly great.
However, when I build a Docker container and the app tries to run, I get an error on the drizzle-orm/libsql line in transpiled JS...
This is error when Docker image runs...
Has anyone else experienced this? I'm certain its something dumb on my part. Ofc. Can anyone offer some advice to get this working in the Docker container?
Thank you for any help!
1 Reply
This is a transpilation error, nothing to do with drizzle it seems like
You might need to look into your tsconfig.json module option and module resolution