You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Hi! After upgrading Nx from version 20.0.12 to 20.1.0, I am getting the following error: "ERROR in × Module not found: Can't resolve '/app/apps/test/src/main.ts' in '/app/apps/test'"
This happens when I try to build a Docker image and use nx build inside the Dockerfile. In previous versions of Nx, I didn’t encounter this error.
When I build the project using the CLI, everything works as expected.
Expected Behavior
I should be able to build docker image.
GitHub Repo
No response
Steps to Reproduce
Craete Dockerfile
WORKDIR /app
COPY package.json pnpm-lock.yaml ./
RUN pnpm install --frozen-lockfile
COPY . .
RUN pnpx nx build test
Sorry, there is not much information for us to investigate the issue. Can you add a repo with a minmal reproduction please? It would help us debug the issue and address it sooner.
This issue has been automatically marked as stale because no reproduction was provided within 7 days.
Please help us help you. Providing a repository exhibiting the issue helps us diagnose and fix the issue.
Any time that we spend reproducing this issue is time taken away from addressing this issue and other issues.
This issue will be closed in 21 days if a reproduction is not provided.
If a reproduction has been provided, please reply to keep it active.
Thanks for being a part of the Nx community! 🙏
Current Behavior
Hi! After upgrading Nx from version 20.0.12 to 20.1.0, I am getting the following error:
"ERROR in × Module not found: Can't resolve '/app/apps/test/src/main.ts' in '/app/apps/test'"
This happens when I try to build a Docker image and use
nx build
inside the Dockerfile. In previous versions of Nx, I didn’t encounter this error.When I build the project using the CLI, everything works as expected.
Expected Behavior
I should be able to build docker image.
GitHub Repo
No response
Steps to Reproduce
Nx Report
Failure Logs
Package Manager Version
pnpm 9.13.0
Operating System
Additional Information
No response
The text was updated successfully, but these errors were encountered: