Hi there, I'm trying to install OpenZeppelin but I'm running into some errors. I've tried searching around and I think I understand what is going on (some parts that are trying to be installed are no longer supported by OpenZeppelin?) but I'm unsure how to fix it.
Environment
Not sure how I can check what version of OpenZeppelin I'm trying to install?
Truffle v5.1.32 (core: 5.1.32)
Node v14.4.0
Windows 10 Home (v 1909, OS build 18363.900)
Details
This is the code I'm inputting into the Command Prompt:
npm install @openzeppelin/cli
These are the error codes that occur:
npm WARN deprecated truffle-config@1.1.16: WARNING: This package has been renamed to @truffle/config.
npm WARN deprecated typechain-target-truffle@1.0.2: For TypeChain 2.x use @typechain/truffle-v4 or v5
npm WARN deprecated typechain-target-web3-v1@1.0.4: For TypeChain 2.x use @typechain/web3-v1
npm WARN deprecated request@2.88.2: request has been deprecated, see https://github.com/request/request/issues/3142
npm WARN deprecated mkdirp-promise@5.0.1: This package is broken and no longer maintained. 'mkdirp' itself supports promises now, please switch to that.
npm ERR! code ENOENT
npm ERR! syscall spawn git
npm ERR! path git
npm ERR! errno -4058
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
npm ERR! A complete log of this run can be found in:
npm ERR! C:\Users\My PC\AppData\Roaming\npm-cache_logs\2020-07-02T09_05_00_160Z-debug.log