Skip to content

Error While Running a Fresh Clone #4

@juicebyjustin

Description

@juicebyjustin

I am trying to run this project from a fresh clone, and I get an error message running dotnet watch run or docker-compose -up. There are no log messages after the message below.

How to replicate:

  1. Clone repo.
  2. Open root directory in terminal.
  3. Run dotnet build
  4. CD to CodeGen
  5. Run dotnet watch run

Complete Log Output: https://gist.github.com/juicebyjustin/d5d61c7b50550d19ab65ffd06cb12875

Error Message:

fail: CodeGen.Worker[0]
      No such file or directory
      System.ComponentModel.Win32Exception (2): No such file or directory
         at System.Diagnostics.Process.ForkAndExecProcess(String filename, String[] argv, String[] envp, String cwd, Boolean redirectStdin, Boolean redirectStdout, Boolean redirectStderr, Boolean setCredentials, UInt32 userId, UInt32 groupId, UInt32[] groups, Int32& stdinFd, Int32& stdoutFd, Int32& stderrFd, Boolean usesTerminal, Boolean throwOnNoExec)
         at System.Diagnostics.Process.StartCore(ProcessStartInfo startInfo)
         at System.Diagnostics.Process.Start()
         at System.Diagnostics.Process.Start(ProcessStartInfo startInfo)
         at CodeGen.Runners.DotNETProjectRunner.Run() in /Users/justin/Documents/GitHub/code-generator/CodeGen/Runners/DotNETProjectRunner.cs:line 50
         at CodeGen.Worker.ExecuteAsync(CancellationToken cancellationToken) in /Users/justin/Documents/GitHub/code-generator/CodeGen/Worker.cs:line 47

CodeGen/Runners/DotNETProjectRunner.cs:line 50:

await Process.Start(openSwagger).WaitForExitAsync();

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions