Trying to run "npm run build" - these "nul" file are common artifacts left around by AI coding agents. Unfortunate, but hard to always avoid. Their mere presence as untracked files seem like a bad reason to just blow up.
Analyzing repo state... Error calculating the state of the repo. (inner error: Error: git --no-optional-locks exited with code 128:
fatal: could not open 'apps/admin-powerplatform-microsoft-com/nul' for reading: No such file or directory
at spawnGitAsync (C:\_\power-platform-ux\common\temp\install-run\@microsoft+rush@5.164.0\node_modules\@rushstack\package-deps-hash\lib\getRepoState.js:242:15)
at process.processTicksAndRejections (node:internal/process/task_queues:95:5)
at async hashFilesAsync (C:\_\power-platform-ux\common\temp\install-run\@microsoft+rush@5.164.0\node_modules\@rushstack\package-deps-hash\lib\getRepoState.js:281:30)
at async getDetailedRepoStateAsync (C:\_\power-platform-ux\common\temp\install-run\@microsoft+rush@5.164.0\node_modules\@rushstack\package-deps-hash\lib\getRepoState.js:356:36)
at async Promise.all (index 0)
at async tryGetSnapshotAsync (C:\_\power-platform-ux\common\temp\install-run\@microsoft+rush@5.164.0\node_modules\@microsoft\rush-lib\dist\commons.js:23002:99)
at async C:\_\power-platform-ux\common\temp\install-run\@microsoft+rush@5.164.0\node_modules\@microsoft\rush-lib\dist\commons.js:21254:19
at async PhasedScriptAction._runInitialPhasesAsync (C:\_\power-platform-ux\common\temp\install-run\@microsoft+rush@5.164.0\node_modules\@microsoft\rush-lib\dist\commons.js:21245:59)
at async PhasedScriptAction.runAsync (C:\_\power-platform-ux\common\temp\install-run\@microsoft+rush@5.164.0\node_modules\@microsoft\rush-lib\dist\commons.js:21224:37)
at async PhasedScriptAction.onExecuteAsync (C:\_\power-platform-ux\common\temp\install-run\@microsoft+rush@5.164.0\node_modules\@microsoft\rush-lib\dist\commons.js:19674:9)). Continuing without diffing files.
DONE (1.02 seconds)
Everything worked fine after using Git Bash to remove the "nul" file.
Trying to run "npm run build" - these "nul" file are common artifacts left around by AI coding agents. Unfortunate, but hard to always avoid. Their mere presence as untracked files seem like a bad reason to just blow up.
Analyzing repo state... Error calculating the state of the repo. (inner error: Error: git --no-optional-locks exited with code 128:
fatal: could not open 'apps/admin-powerplatform-microsoft-com/nul' for reading: No such file or directory
DONE (1.02 seconds)
Everything worked fine after using Git Bash to remove the "nul" file.