Description:
After a package passes validation, the install step fails on Windows with an access denied error when APM tries to
manipulate files inside the cloned .git/objects directory.
Steps to reproduce:
- Successfully validate and install an APM package on Windows
- Installation fails with:
❌ Failed to install org/project/repo: [WinError 5] Access is denied:
'C:...\apm_modules\org\project\repo.git\objects\02...'
Expected behavior:
APM should handle read-only .git object files on Windows (git marks these as read-only by design).
Environment:
- APM CLI version: 0.7.3 (pip installation)
- OS: Windows 11