Skip to content

ERR_MODULE_NOT_FOUND when trying to run Vite inside a Docker container #20372

Discussion options

You must be logged in to vote

Ok the issue was that i've mounted node_modules from a different environment. I removed the volume mount and ran npm ci in the container and it worked.

Replies: 1 comment 4 replies

Comment options

You must be logged in to vote
4 replies
@pr0gramm3r101
Comment options

@pr0gramm3r101
Comment options

@pr0gramm3r101
Comment options

@pr0gramm3r101
Comment options

Answer selected by pr0gramm3r101
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
2 participants
Converted from issue

This discussion was converted from issue #20370 on July 08, 2025 03:07.