Guys I have node js and npm installed.
But when I try to install OpenZeppelin sdk using the command:
npm install --global @openzeppelin/cli
It doesn't install. I don't know what is wrong. But I think maybe the library is now deprecated.
Some please help me.
When I run the command, it behaves as if it is installing but then encounters errors along the way.
Error shown below:
C:\Users\jude\hd_wallet>npm install --global @openzeppelin/cli npm WARN deprecated firstname.lastname@example.org: WARNING: This package has been rename d to @truffle/config. npm WARN deprecated email@example.com: For TypeChain 2.x use @typec hain/truffle-v4 or v5 npm WARN deprecated firstname.lastname@example.org: For TypeChain 2.x use @typec hain/web3-v1 npm WARN deprecated email@example.com: request has been deprecated, see https://git hub.com/request/request/issues/3142 npm WARN deprecated firstname.lastname@example.org: this library is no longer supported npm WARN deprecated email@example.com: This package is broken and no longer m aintained. '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 ENOENT npm ERR! enoent Error while executing: npm ERR! enoent undefined ls-remote -h -t ssh://firstname.lastname@example.org/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\jude\AppData\Roaming\npm-cache\_logs\2020-09-25T10_55_49_4 71Z-debug.log
What could be the problem and how do I fix it??