microsoft / scalar

Scalar: A set of tools and extensions for Git to allow very large monorepos to run on Git without a virtualization layer
MIT License
1.39k stars 63 forks source link

unzip command fails when running with --watchman on windows #429

Closed AlthalusDGr8 closed 3 years ago

AlthalusDGr8 commented 4 years ago

The current installer for windows runs command unzip command when trying to install watchman

unzip watchman.zip

but it fails image . Not sure if its a known issue

derrickstolee commented 4 years ago

Thanks. This is fixed in #414, specifically 2ee25015b07d6902bc8153d6b5579d8b6af3f91a. The fix has not been released yet, but will in the next version.

derrickstolee commented 4 years ago

As a workaround for now, go to Watchman's release page and find a version with a Windows installer. Here is the latest with one right now. Then, re-run the Scalar install without --watchman.

AlthalusDGr8 commented 4 years ago

Any way i can verify that it has found the installation correctly please? :)

derrickstolee commented 4 years ago

Any way i can verify that it has found the installation correctly please? :)

Scalar will modify your Git config during scalar clone, scalar register, or scalar run config commands. You can run git config core.fsmonitor to see if that points to a path in your .git/hooks directory. If that config does not exist, then you will need to check your watchman installation, possibly restart your terminal, and run scalar run config in your repository.

github-actions[bot] commented 3 years ago

Labeling this issue as stale. There has been no activity for 30 days. Remove stale label or comment or this issue will be closed in 7 days.