varabyte / kobweb

A modern framework for full stack web apps in Kotlin, built upon Compose HTML
https://kobweb.varabyte.com
Apache License 2.0
1.56k stars 70 forks source link

Kobweb CLI 0.9.13 unable to fetch templates #361

Closed erictoader closed 10 months ago

erictoader commented 1 year ago

Running kobweb create or kobweb list fails to clone the templates repository, thus making it impossible to create a project. I also ran this command on CLI 0.9.11 and it worked with no issues.

bitspittle commented 1 year ago

Wow, I haven't heard anything about this before. Can you share any more details about how it failed? It's been a long time since 0.9.13 went out, but I can try to check to see what changed between 0.9.11. What about 0.9.12 for you? And how did you get the old version, did you build from source?

erictoader commented 1 year ago

0.9.13 is the newest version of the CLI i believe. I installed it via brew install kobweb. To get the older version, I just downloaded the binaries and then added it to path. Seems to work fine and is compatible with the latest version of everything.

The message was that it was trying to clone the templates, succeding, but saying that no templates were found.

bitspittle commented 1 year ago

Yeah, I'm not sure. If Mac was totally broken, I expect I would have heard something by now.

Can you tell me exactly the commands you typed into kobweb?

Also, if you're up for it, could you try building from source?

$ git clone https://github.com/varabyte/kobweb-cli
$ cd kobweb-cli
$ ./gradlew :kobweb:installShadowDist
# Binary now lives at `/path/to/kobweb-cli/kobweb/build/install/kobweb/bin/kobweb`

If you run that and it fails, maybe we can debug what's going on?

bitspittle commented 10 months ago

Closing this issue due to lack of response. If OP sees this in the future, feel free to check the state of the issue and respond if it's still a problem for you.