Closed gmlewis closed 9 months ago
Thanks for the report! The actual constraint is in starting a "word" with a digit, but the error reporting is bad: https://github.com/fermyon/spin/issues/1950
I also just filed https://github.com/fermyon/spin/issues/2051 to track validating component names earlier, so that the error message doesn't happen quite as late.
Now fixed (in canary) by https://github.com/fermyon/spin/pull/2092. Thank you!
Describe the bug Following the instructions in this video works, but if you name your project "hello-rust-2" instead of "hello-world",
spin up
fails.Frequency of the bug Please check one:
Set-up information
To Reproduce Steps to reproduce the behavior:
hello-rust-2
instead ofhello-world
.spin build
thenspin up
.Expected behavior It should create a
localhost:3000
server and serve your new Spin app.Screenshots
Additional context Here is the error from
spin up
: