pnpm deploy fails on Windows 11 because Nx daemon locks an artifact
Author: ertlCreated Sep 29, 2026Updated Sep 29, 2026
Labelstype: bug
Current Behavior
Running pnpm deploy in an Nx workspace on Windows 11 fails with a permission denied error when pnpm attempts to rename an artifact.
The artifact appears to be locked by the Nx daemon. The deployment succeeds when the Nx daemon is disabled.
Expected Behavior
pnpm deploy should complete successfully while the Nx daemon is enabled. The Nx daemon should not keep deployment artifacts locked in a way that prevents pnpm from renaming or moving them.
GitHub Repo
No response
Steps to Reproduce
pnpm deploy
Nx Report
v23.2.0Failure Logs
Package Manager Version
pnpm 12.6.0
Operating System
- macOS
- Linux
- Windows
- Other (Please specify)
Additional Information
No response
Source: nrwl/nx