Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Error when entering to an app #437

Open
Exatoon27 opened this issue Nov 11, 2024 · 4 comments
Open

Error when entering to an app #437

Exatoon27 opened this issue Nov 11, 2024 · 4 comments

Comments

@Exatoon27
Copy link

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
Copy link
Contributor

This bug should be fixed in 0.0.15.

Try:

  • deleting the app
  • install the latest version (0.0.15) with npx srcbook@latest start
  • create a new app

If this still doesn't work, let me know

@Exatoon27
Copy link
Author

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

@Exatoon27
Copy link
Author

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.

@nichochar
Copy link
Contributor

Yeah, we don't support windows yet unfortunately, as described in #444

To solve this, we brought the app online at https://srcbook.com

It's currently free to use, let me know if this solves your needs!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants