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
Workaround: override the build command with --build-cmd="pnpm nx run api:build:production --skip-nx-cache"
pnpx is broken in nixpacks, and also so is the nx cache if you don't include --skip-nx-cache too, the cache may fail the build due to some integrity issue
Is there an existing issue for this?
Describe the bug
When building an app within an Nx monorepo, with pnpm, pnpx build command fails with the below error
nixpacks build . --name myimagename -e NIXPACKS_NX_APP_NAME=api
To reproduce
nixpacks build . --name myimagename -e NIXPACKS_NX_APP_NAME=appname
pnpm.cjs
errorExpected behavior
Build works
Environment
macOS locally, and Railway.app build env
The text was updated successfully, but these errors were encountered: