Module not found when using Docker (file exists) #10238
Unanswered
LickABrick
asked this question in
Help
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Summary
Hi, I am getting an error when using a Dockerfile:
Cannot find module '/app/packages/database/dist/schema' imported from /app/packages/database/dist/index.js
while the file DOES indeed exist at this location in the Docker image. Everything runs and builds fine from cmdline.Additional information
Package.json of packages\database:
tsconfig.json of packages\database:
I import my package using
import { something } from '@myrepo/database'
.Beta Was this translation helpful? Give feedback.
All reactions