Open gerotutu opened 1 week ago
The guide does not say you need it but you can try :
npx create-remix@latest
if you need to install remix.
after installing it will take you into remix environment
just press ctrl+c to exit back to console and try
npm run dockerbuild
again.
Pretty sure this is not your issue as it should auto pull it but worth a try i think
Describe the bug
I am building a Docker container for a Remix project and running it with
docker-compose
. During the startup, the application fails to find the@remix-run/dev
module, specificallycli.js
, and throws aMODULE_NOT_FOUND
error. The build completes without issues, but the container exits with code 1 when it tries to start the Remix server.Link to the Bolt URL that caused the error
-
Steps to reproduce
@remix-run/dev
cannot be found.Expected behavior
The container should start successfully, and the Remix server should be accessible as expected in development mode.
Screen Recording / Screenshot
No response
Platform
corepack
)Additional context
pnpm install
command. I attempted rebuilding without cache to ensure dependencies are installed afresh, but the issue persists.@remix-run/dev
module is listed inpackage.json
as a dev dependency.ARG
orENV
are displayed, but they do not seem related to the module not being found.Would appreciate any guidance on resolving this issue!