Environment
- OS: Windows 11
- Git version: (2.48.1)
Problem
Cloning Inventory-UI fails on Windows with the following error:
error: unable to create file src/app/app-modules/inventory/indent/
indent-order-worklist/main-store-indent-order-worklist/
indent-dispenses/manual-indent-dispense/
select-batch-for-indent-item/
select-batch-for-indent-item.component.css: Filename too long
fatal: unable to checkout working tree
warning: Clone succeeded, but checkout failed.
Root Cause
Windows has a 260 character MAX_PATH limit by default.
Some file paths in Inventory-UI exceed this limit.
Fix (Verified)
Run this before cloning:
git config --global core.longpaths true
After enabling this, clone succeeds without errors.
Suggestion
Add this to README under a Windows-specific setup section:
- Mention core.longpaths requirement
- Add note about Windows PATH limitations
Environment
Problem
Cloning Inventory-UI fails on Windows with the following error:
error: unable to create file src/app/app-modules/inventory/indent/
indent-order-worklist/main-store-indent-order-worklist/
indent-dispenses/manual-indent-dispense/
select-batch-for-indent-item/
select-batch-for-indent-item.component.css: Filename too long
fatal: unable to checkout working tree
warning: Clone succeeded, but checkout failed.
Root Cause
Windows has a 260 character MAX_PATH limit by default.
Some file paths in Inventory-UI exceed this limit.
Fix (Verified)
Run this before cloning:
git config --global core.longpaths true
After enabling this, clone succeeds without errors.
Suggestion
Add this to README under a Windows-specific setup section: