livebud / bud

The Full-Stack Web Framework for Go
MIT License
5.58k stars 179 forks source link

bud create hello error #266

Closed pikooli closed 2 years ago

pikooli commented 2 years ago

Hello when I try bud I got this error.

 ~ bud create hello
 | create: Unable to infer a module name. Try again using the module <path> name.

 For example,
 bud create --module=github.com/my/app hello

My version :

~ bud version
     bud: 0.2.3
  svelte: 3.47.0
  react: 18.0.0
matthewmueller commented 2 years ago

Hey @pikooli, does bud create --module=github.com/my/app hello also not work for you?

This will actually get better in the next release, but let me know if the above also doesn't work for you.

verrol commented 2 years ago

I got the same error and it works with --module, but the docs needs to be updated.

matthewmueller commented 2 years ago

Closing since the PR that improves this is already merged into main: https://github.com/livebud/bud/pull/242

And we'll get a new release out soon!