unable to install web3 getting error.

C:\Users\Admin>npm install web3
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

npm ERR! A complete log of this run can be found in:
npm ERR! C:\Users\Admin\AppData\Roaming\npm-cache_logs\2019-09-12T20_38_22_355Z-debug.log

Short version: you need to install git

To install npm packages which reference packages stored in git rather than in the npm registry, you need to have a git command line program available.

This topic was automatically closed 14 days after the last reply. New replies are no longer allowed.