srcbookdev / srcbook

TypeScript-centric app development platform
https://srcbook.com
Apache License 2.0
2.58k stars 101 forks source link

Error when entering to an app #437

Open Exatoon27 opened 1 week ago

Exatoon27 commented 1 week ago

Problem

When I try to enter to an app, the program crashes with a git error, but I can't understand what is exactly the problem. I searched it in google, and it seems to be relative to git commit, and I don't understand why is there a git commit.

Screenshot

Captura de pantalla 2024-11-11 014751

Environment details

I used the npx srcbook@latest start and npm install -g srcbook and no one worked, so I don't think that it's the problem. I'm in Windows 11 and I have git installed and I only configured the name and email.

I don't know if it's necessary, but when I say app I refer to this:

Captura de pantalla 2024-11-11 015735

So, can someone explain to me what's the error?

nichochar commented 1 week ago

This bug should be fixed in 0.0.15.

Try:

If this still doesn't work, let me know

Exatoon27 commented 1 week ago

Same behavior and now is using the 0.0.15 Captura de pantalla 2024-11-11 213107

Exatoon27 commented 19 hours ago

I noticed the issue only happens on Windows. It seems like a bug related to how git commands are interpreted on Windows, maybe something with the syntax. I managed to fix it by using WSL, but honestly, I don't think that using WSL instead of native npm on Windows is the best solution.