Skip to content

πŸ›πŸ§‘β€πŸ’» - Setup crashΒ #309

Description

@efraespada

Is there an existing issue for this?

  • I have searched the existing issues.

Which actions are affected?

No response

Which platforms are affected?

No response

Description

There is a crash when running the setup command out of this project.

Reproducing the issue

Run copilot setup of this repository.

copilot Version

v2

Relevant Log Output

πŸ” Checking we are inside a git repository...
βœ… Git repository detected.
πŸ”— Resolving repository (owner/repo)...
πŸ“¦ Repository: landamessenger/zstandard
βš™οΈ  Running initial setup (labels, issue types, access)...
node:fs:448
    return binding.readFileUtf8(path, stringToFlags(options.flag));
                   ^

Error: ENOENT: no such file or directory, open '/Users/efraespada/Development/zstandard/action.yml'
    at Object.readFileSync (node:fs:448:20)
    at loadActionYaml (/Users/efraespada/Development/copilot/build/cli/index.js:60655:28)
    at getActionInputs (/Users/efraespada/Development/copilot/build/cli/index.js:60659:24)
    at getActionInputsWithDefaults (/Users/efraespada/Development/copilot/build/cli/index.js:60663:20)
    at runLocalAction (/Users/efraespada/Development/copilot/build/cli/index.js:46813:70)
    at Command.<anonymous> (/Users/efraespada/Development/copilot/build/cli/index.js:47672:45)
    at Command.listener [as _actionHandler] (/Users/efraespada/Development/copilot/build/cli/index.js:63310:17)
    at /Users/efraespada/Development/copilot/build/cli/index.js:64270:14
    at Command._chainOrCall (/Users/efraespada/Development/copilot/build/cli/index.js:64154:12)
    at Command._parseCommand (/Users/efraespada/Development/copilot/build/cli/index.js:64269:27) {
  errno: -2,
  code: 'ENOENT',
  syscall: 'open',
  path: '/Users/efraespada/Development/zstandard/action.yml'
}

Additional context and comments

Not sure if there was an error while creating the initial .env file. I think it wasn't created.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

100%Progress: 100%branchedIndicates that a branch has been created for this issue.bugSomething isn't workingbugfixSomething isn't workingpriority: highCritical issue, needs immediate attention.size: XXLIndicates an extremely large task or issue that requires significant time and effort to complete.

Type

Projects

  • Status
    Done

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions