nx icon indicating copy to clipboard operation
nx copied to clipboard

Directory not empty (os error 66

Open berenddeboer opened this issue 1 year ago • 6 comments

Current Behavior

We are seeing this spurious error a lot. It's unclear what the cause it, but it seems to happen especially when there are a lot of affected files (i.e. change to root package.json). This has been going on basically ever since we use nx it feels (since the 16.x days).

This happens only during "git commit". We are using the pre-commit package to run "nx affected --target=build".

I'm just opening this issue to see if errors see this too. It seems to be a combination of pre-commit and nx, but what exactly is unclear, as the message comes from nx.

Typical output looks like: image

Expected Behavior

Running nx by itself works fine.

GitHub Repo

No response

Steps to Reproduce

We don't really now.

Nx Report

NX   Report complete - copy this into the issue template

Node   : 18.19.0
OS     : darwin-arm64
pnpm   : 8.15.4

nx                 : 18.0.6
@nx/js             : 18.0.6
@nx/linter         : 18.0.6
@nx/eslint         : 18.0.6
@nx/workspace      : 18.0.6
@nx/cypress        : 18.0.6
@nx/devkit         : 18.0.6
@nx/esbuild        : 18.0.6
@nx/eslint-plugin  : 18.0.6
@nx/next           : 18.0.6
@nx/playwright     : 18.0.6
@nx/react          : 18.0.6
@nx/storybook      : 18.0.6
@nrwl/tao          : 18.0.6
@nx/vite           : 18.0.6
@nx/web            : 18.0.6
@nx/webpack        : 18.0.6
typescript         : 5.3.3
---------------------------------------
Community plugins:
@berenddeboer/nx-aws-cdk         : 2.2.2
@berenddeboer/nx-sst             : 0.13.5
@trumbitta/nx-plugin-unused-deps : 1.12.1
---------------------------------------
Local workspace plugins:
         @tc/nx-sst

Failure Logs

No response

Package Manager Version

No response

Operating System

  • [X] macOS
  • [ ] Linux
  • [ ] Windows
  • [ ] Other (Please specify)

Additional Information

No response

berenddeboer avatar Mar 04 '24 19:03 berenddeboer