Skip to content

Error: ENOENT: no such file or directory, mkdir #1540

Closed
@EeyoreLee

Description

@EeyoreLee

Here's error message on vscode-extension-yapf/job/pr: upgrade v3 to v4, works fine on checkout@v3 but only v4 on windows

node:internal/fs/promises:769
  return binding.mkdir(pathModule.toNamespacedPath(path),
                 ^

Error: ENOENT: no such file or directory, mkdir
    at Object.mkdir (node:internal/fs/promises:769:18)
    at Object.<anonymous> (D:\a\_actions\actions\checkout\v4\dist\index.js:6086:[22](https://github.com/EeyoreLee/vscode-extension-yapf/actions/runs/6541895453/job/18467041955?pr=45#step:2:23))
    at Generator.next (<anonymous>)
    at D:\a\_actions\actions\checkout\v4\dist\index.js:5967:71
    at new Promise (<anonymous>)
    at __webpack_modules__.74[36](https://github.com/EeyoreLee/vscode-extension-yapf/actions/runs/6541895453/job/18467041955?pr=45#step:2:37).__awaiter (D:\a\_actions\actions\checkout\v4\dist\index.js:5963:12)
    at Object.mkdirP (D:\a\_actions\actions\checkout\v4\dist\index.js:6084:12)
    at Object.<anonymous> (D:\a\_actions\actions\checkout\v4\dist\index.js:1166:22)
    at Generator.next (<anonymous>)
    at D:\a\_actions\actions\checkout\v4\dist\index.js:11[37](https://github.com/EeyoreLee/vscode-extension-yapf/actions/runs/6541895453/job/18467041955?pr=45#step:2:38):71 {
  errno: -[40](https://github.com/EeyoreLee/vscode-extension-yapf/actions/runs/6541895453/job/18467041955?pr=45#step:2:41)58,
  code: 'ENOENT',
  syscall: 'mkdir'
}

Node.js v20.8.1
Syncing repository: EeyoreLee/vscode-extension-yapf
Getting Git version info
  Working directory is 'D:\a\vscode-extension-yapf\vscode-extension-yapf\🐍 🐛'

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions