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
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: