encoredev / encore

Open Source Development Platform for building robust type-safe distributed systems with declarative infrastructure
https://encore.dev
Mozilla Public License 2.0
7.49k stars 316 forks source link

Typescript docker build pass but fail to start #1520

Open bright-coder opened 2 weeks ago

bright-coder commented 2 weeks ago

I use hello world template typescript

When i command docker run …. Its it failed

log show “cannot find module encore.dev

fredr commented 2 weeks ago

Hey, what operating system are you running?

Could you also give some more context regarding how you set up the app? Did you create it as part of a npm workspace, or is it standalone?

crorvigvp commented 1 week ago

docker-inspect.json This happens on Windows 11 with standalone setup using encore create app on 1.43.2. The encore library path looks strange in the docker output layer, although this may be a red herring. image image

bright-coder commented 1 week ago

@crorvigvp yeah that it’s. How to fix it ?