-
-
Notifications
You must be signed in to change notification settings - Fork 50
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
Fix Command finished with 128 exit code / Filename too long [Windows] #50
Comments
Please include a link to your project. |
Windows has a maximum file path limit of 260 chars, we should maaaybe reduce the length of the file names we use, but, the file path limit is something you're gonna need to factor in on your side too |
I succeeded to run |
Suspect this is related - when running applyPatches:
|
Tried enabling long paths in registry for Win AND core.longpaths for GIT? That fixed our similar issues, but BOTH settings have to be applied. |
@IAISI Thanks, |
I had this issue when building our fork with paperweight.
I executed ./gradlew applyPatches in Git bash.
After trying to run the command manually, git tells me that the filename is too long.
The solution is to enable the following option in Git:
git config --global core.longpaths true
The text was updated successfully, but these errors were encountered: