onlook-dev / onlook

The open source, local-first Figma for React. Design directly in your live React app and publish your changes to code.
https://onlook.dev
Apache License 2.0
3.75k stars 232 forks source link

Error Initializing Git Repository #756

Closed deltaminimal closed 1 week ago

deltaminimal commented 2 weeks ago

When trying to create a new project the following error is displayed:

image

Kitenite commented 2 weeks ago

Thanks for reporting @deltaminimal, I will take a look

deltaminimal commented 2 weeks ago

So it seems that the problem was on my end, I didnt have node.js installed on the pc I was trying Onlook, I installed it and ir works now. Perhaps a messege that warns about this when its not installed or a reminder of the requirements would be useful. Thanks and sorry if I wasted your time!

Kitenite commented 2 weeks ago

Hey @deltaminimal, actually this was really useful. Thanks for following up with the issue!

I had a hard time figuring out why this was happening until you commented. I will keep this open until we get better error messaging :)

Kitenite commented 1 week ago

This should no longer be an issue now that we're doing precheck for git and node. Thanks for reporting @deltaminimal