preactjs / preact-cli

😺 Your next Preact PWA starts in 30 seconds.

Home Page:https://cli-demo-next.preactjs.com

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

preact-cli hangs after "✔ Done!"

ristiisa opened this issue · comments

npx preact-cli create default app2 hangs a minute or so after "✔ Done!"

Would be nice if there would a message in the lines of "please wait doing something"

node v19.7.0
windows 10
preact 3.4.5

Hmm, well nothing is actually being done after that message is output. Some getting started instructions should be printed out right afterwards, but that's (more or less) just a console.log().

I can't reproduce, but I don't have access to a Windows machine myself. Don't know what could be going wrong there.

any debugging hints?

Unfortunately, not really. My only real guess is that it's ora, the spinner we use, not exiting correctly.

Here's the relevant source code. As you can see, nothing is actually done after that message (the git flag defaults to false).

Really weird. Is that a consistent issue?

Yeah, happens every time. I'll try different terminals, perhaps there is something there

Going to close this out as I haven't been able to reproduce the issue.