[GH-ISSUE #25] git clone doesn't work on windows #16727

Closed
opened 2026-04-15 14:41:48 -05:00 by GiteaMirror · 9 comments
Owner

Originally created by @theMillenniumFalcon on GitHub (Sep 29, 2024).
Original GitHub issue: https://github.com/better-auth/better-auth/issues/25

Screenshot (121)

The file start with * symbol is causing the error as file names starting with * are invalid on windows

As characters given below are reserved on Windows:
< (less than)
> (greater than)
: (colon)
" (double quote)
/ (forward slash)
\ (backslash)
| (vertical bar or pipe)
? (question mark)
* (asterisk)

Originally created by @theMillenniumFalcon on GitHub (Sep 29, 2024). Original GitHub issue: https://github.com/better-auth/better-auth/issues/25 ![Screenshot (121)](https://github.com/user-attachments/assets/853767ba-1ee4-4fbf-a76b-eb3504350403) The file start with * symbol is causing the error as file names starting with * are invalid on windows As characters given below are reserved on Windows: `<` (less than) `>` (greater than) `:` (colon) `"` (double quote) `/` (forward slash) `\` (backslash) `|` (vertical bar or pipe) `?` (question mark) `*` (asterisk)
GiteaMirror added the locked label 2026-04-15 14:41:48 -05:00
Author
Owner

@qamarq commented on GitHub (Sep 29, 2024):

+1

<!-- gh-comment-id:2381348199 --> @qamarq commented on GitHub (Sep 29, 2024): +1
Author
Owner

@tklein1801 commented on GitHub (Sep 29, 2024):

Should be because of the *auth.ts and the file-system on windows. Not really a bug of this project or am I wrong?

<!-- gh-comment-id:2381398119 --> @tklein1801 commented on GitHub (Sep 29, 2024): Should be because of the `*auth.ts` and the file-system on windows. Not really a bug of this project or am I wrong?
Author
Owner

@qamarq commented on GitHub (Sep 29, 2024):

That's right. It's all about *

<!-- gh-comment-id:2381411114 --> @qamarq commented on GitHub (Sep 29, 2024): That's right. It's all about `*`
Author
Owner

@theMillenniumFalcon commented on GitHub (Sep 29, 2024):

Was able to clone the repository without including the *auth.ts file using following command:

git clone -c core.protectNTFS=false https://github.com/theMillenniumFalcon/better-auth.git

but now I don't have the file, and cannot create it either as it is prohibited on Windows. Any workaround for this?

<!-- gh-comment-id:2381413156 --> @theMillenniumFalcon commented on GitHub (Sep 29, 2024): Was able to clone the repository without including the `*auth.ts` file using following command: ``` git clone -c core.protectNTFS=false https://github.com/theMillenniumFalcon/better-auth.git ``` but now I don't have the file, and cannot create it either as it is prohibited on Windows. Any workaround for this?
Author
Owner

@qamarq commented on GitHub (Sep 29, 2024):

I think we can't do anything. I hope this will be fix asap cause I need to push some changes to fix errors.

<!-- gh-comment-id:2381425992 --> @qamarq commented on GitHub (Sep 29, 2024): I think we can't do anything. I hope this will be fix asap cause I need to push some changes to fix errors.
Author
Owner

@tklein1801 commented on GitHub (Sep 29, 2024):

@qamarq you can use an Github Codespace which won't have this issue (because they dont run on Windows and its file-system) and push the code

<!-- gh-comment-id:2381428317 --> @tklein1801 commented on GitHub (Sep 29, 2024): @qamarq you can use an Github Codespace which won't have this issue (because they dont run on Windows and its file-system) and push the code
Author
Owner

@Bekacru commented on GitHub (Sep 29, 2024):

Was able to clone the repository without including the *auth.ts file using following command:

git clone -c core.protectNTFS=false https://github.com/theMillenniumFalcon/better-auth.git

but now I don't have the file, and cannot create it either as it is prohibited on Windows. Any workaround for this?

It's cause of solid start catch all route symbol. I'll remove the file.

<!-- gh-comment-id:2381581068 --> @Bekacru commented on GitHub (Sep 29, 2024): > Was able to clone the repository without including the `*auth.ts` file using following command: > > ``` > git clone -c core.protectNTFS=false https://github.com/theMillenniumFalcon/better-auth.git > ``` > > but now I don't have the file, and cannot create it either as it is prohibited on Windows. Any workaround for this? It's cause of solid start catch all route symbol. I'll remove the file.
Author
Owner

@Bekacru commented on GitHub (Sep 29, 2024):

try it and let me know

<!-- gh-comment-id:2381581605 --> @Bekacru commented on GitHub (Sep 29, 2024): try it and let me know
Author
Owner

@theMillenniumFalcon commented on GitHub (Sep 30, 2024):

It works like charm. No further errors. Closing the issue for now.

<!-- gh-comment-id:2382127477 --> @theMillenniumFalcon commented on GitHub (Sep 30, 2024): It works like charm. No further errors. Closing the issue for now.
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: github-starred/better-auth#16727