Encore TS starter: broken module resolution when bind mounting over the docker image
Shows how to fix encore TS starter: broken module resolution when bind mounting over the docker image. Use it when you hit this exact problem. Skip it when your error message or symptom looks different.
TL;DR
The reporter confirmed everything worked once the mount was fixed and closed the issue themselves.
Steps
- - Do not bind mount your project over the docker image, or
- if you must, re-create the
encore.devsymlink so it points at a real folder.
When to use
You are seeing this: An Encore TypeScript starter template builds with errors and has broken TypeScript path resolution in VS Code. Use this skill when you run into "Encore TS starter: broken module resolution when bind mounting over the docker image".
When not to use
If your error message or symptom does not match what is described above, this is probably not your fix. Search for your exact error text instead of forcing this one to fit.
Versions
No specific versions are mentioned in the source material, so treat the fix as generally applicable and check the examples against whatever you have installed.
Why this happens
The original report does not dig into a root cause. It documents the symptom and the fix that resolved it.