Error when attempting install of OpenZeppelin CLI on Windows.
Reported by a community member via Intercom.
Environment
Windows 10
Details
Attempting to install OpenZeppelin CLI on Windows fails with error ENOENT undefined ls-remote -h -t ssh://git@github.com/web3-js/WebSocket-Node.git
> npm i @openzeppelin/cli
npm WARN deprecated truffle-config@1.1.16: WARNING: This package has been renamed to @truffle/config.
npm ERR! code ENOENT
npm ERR! syscall spawn git
npm ERR! path git
npm ERR! errno ENOENT
npm ERR! enoent Error while executing:
npm ERR! enoent undefined ls-remote -h -t ssh://git@github.com/web3-js/WebSocket-Node.git
npm ERR! enoent
npm ERR! enoent
npm ERR! enoent spawn git ENOENT
npm ERR! enoent This is related to npm not being able to find a file.
npm ERR! enoent
Code to reproduce
Install on Windows 10