Uh oh!
There was an error while loading. Please reload this page.
Conversation
✅ Deploy Preview for nuxt3-docs canceled.
|
Uh oh!
There was an error while loading. Please reload this page.
Co-authored-by: Daniel Roe <daniel@roe.dev>
Uh oh!
There was an error while loading. Please reload this page.
pi0
commented
May 31, 2022
Thanks for the changes! I believe we still need an additional hint for checking git being installed since it makes same error. |
You were right on that, my bad. The testing I did locally was giving me a false positive on the git not being installed. I've replicated it on stackblitz and the same catch is thrown for git being missing, so I've updated the message to include the original git hint. |
Uh oh!
There was an error while loading. Please reload this page.
🔗 Linked issue
see #923 & #1052
❓ Type of change
📚 Description
The issue was identified when using
nuxi init, I modified the arguments incorrectly and got an error that wasn't helpful.The PR #923 introduced a try/catch for degit cloning, it correctly showed when a user required
gitif they didn't have it installed.The switch to tiged #1052 changed what was being caught. Tiged works without git, it will download the tarball if git isn't available. So the error message is actually catching when the repo isn't valid.
The output will now look like this:
📝 Checklist