Skip to content

Can't run this tool more than once on MacOS #3

@alexellis

Description

@alexellis
Temp dir name: /var/folders/3d/hy7q1wgs38x0qn7ff04p4vrc0000gn/T/inlets-fly-1136937304
***An existing configuration file has been found.
? Overwrite file '/private/var/folders/3d/hy7q1wgs38x0qn7ff04p4vrc0000gn/T/inlets-fly-1136937304/fly.toml' (y/N) 



                                                                                                                                              Error EOF
^[[35;143R^[[35;143RError: invalid exit code '1'
alex@am1 inlets-on-fly % ;143R;143R

I've also tried rm -rf'ing the files, and nothing seems to work? This also breaks the console, so that I can't see what I type in.

Update:

I added --no-config to stop the error, but it didn't work:

func CreateApp(cwd string, name string, org string) error {
	task := execute.ExecTask{
		Cwd:         cwd,
		Command:     "flyctl",
		Args:        []string{"apps", "create", "--name", name, "--org", org, "--no-config"},
		StreamStdio: true,
	}
	return check(task.Execute())
}
alex@am1 inlets-on-fly % ./inlets-on-fly create tcp --name nuc-puncher --ports 50035 --region lhr
Temp dir name: /var/folders/3d/hy7q1wgs38x0qn7ff04p4vrc0000gn/T/inlets-fly-941995360

Selected App Name: nuc-puncher


New app created: nuc-puncherRegion Pool: 
lhr
Backup Region: 
Secrets are staged for the first deployment
Deploying nuc-puncher
==> Validating app configuration
--> Validating app configuration done
Services
TCP 8123 ⇢ 8123
TCP 50035 ⇢ 50035
Error error connecting to docker: could not create remote builder: EnsureRemoteBuilderInput isn't a defined input type (on $input)
Error: invalid exit code '1'
alex@am1 inlets-on-fly % 

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