Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Bug]: Unable to create a subnet via avalanche CLI #2331

Open
Chris-Sheridan opened this issue Nov 13, 2024 · 1 comment
Open

[Bug]: Unable to create a subnet via avalanche CLI #2331

Chris-Sheridan opened this issue Nov 13, 2024 · 1 comment
Assignees
Labels
bug Something isn't working

Comments

@Chris-Sheridan
Copy link

Describe the bug
When I follow the instructions, I receive an error message trying to create a blockchain.

To Reproduce

  • Follow instructions and type "avalanche blockchain create anySubnet". It doesn't matter if you select a test or production environment.

  • Process hangs, hit enter

  • Receive error message: "strconv.ParseUint: parsing "": invalid syntax"

Expected behavior

  • blockchain/subnet created

Screenshots
Here is the command and error message I receive when trying to create a Subnet:
`/Users/chriss $ avalanche blockchain create chrisSubnet
✔ Subnet-EVM
✔ I want to use defaults for a test environment
✗ Chain ID: █
✗ Chain ID: █

strconv.ParseUint: parsing "": invalid syntax`

Logs
`[11-13|15:46:12.447] INFO cmd/root.go:144 -----------
[11-13|15:46:12.447] INFO cmd/root.go:145 cmd: completion bash
[11-13|15:46:12.447] INFO config/config.go:32 No config file found {"error": "open /Users/chriss/.avalanche-cli/config.json: no such file or directory"}
[11-13|15:46:12.447] WARN cmd/root.go:182 failed to read last-actions file! This is non-critical but is logged {"error": "open /Users/chriss/.avalanche-cli/.last_actions.json: no such file or directo$
[11-13|15:46:13.738] INFO cmd/root.go:144 -----------
[11-13|15:46:13.738] INFO cmd/root.go:145 cmd: completion zsh
[11-13|15:46:13.738] INFO config/config.go:32 No config file found {"error": "open /Users/chriss/.avalanche-cli/config.json: no such file or directory"}
[11-13|15:46:33.480] INFO cmd/root.go:144 -----------
[11-13|15:46:33.480] INFO cmd/root.go:145 cmd: blockchain create chrisSubnet
[11-13|15:46:33.480] INFO config/config.go:32 No config file found {"error": "open /Users/chriss/.avalanche-cli/config.json: no such file or directory"}
[11-13|15:49:54.704] INFO ux/output.go:43 Error: ^C

[11-13|15:50:03.380] INFO cmd/root.go:144 -----------
[11-13|15:50:03.380] INFO cmd/root.go:145 cmd: blockchain create chrisSubnet
[11-13|15:50:03.380] INFO config/config.go:32 No config file found {"error": "open /Users/chriss/.avalanche-cli/config.json: no such file or directory"}
[11-13|15:54:24.542] INFO ux/output.go:43 Error: ^C`

Operating System
MacOS Sequoia

Additional context
Add any other context about the problem here.

@felipemadero
Copy link
Collaborator

felipemadero commented Nov 13, 2024

I am afraid it is not clear what is your input to ✗ Chain ID: you should type a positive number and press enter.
What is the number you input?
cc @Chris-Sheridan

@felipemadero felipemadero self-assigned this Nov 13, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
Status: Backlog 🗄️
Development

No branches or pull requests

2 participants