laptrinhbockchain / pancake-swap-v1-bsc-testnet

Pancake swap v1 on Binance Smart Chain (BSC) Testnet
41 stars 44 forks source link

Error "npm ERR! syscall spawn git" when run npm install #7

Closed PandaShatoshi closed 3 years ago

PandaShatoshi commented 3 years ago

When I run command "npm install" to install libraries, I see below error:

npm ERR! code ENOENT
npm ERR! syscall spawn git
npm ERR! path git
npm ERR! errno -4058
npm ERR! enoent An unknown git error occurred
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\thanh\AppData\Local\npm-cache\_logs\2021-08-08T04_07_13_642Z-debug.log

Please help!

laptrinhbockchain commented 3 years ago

You need to install GIT to fix this bug.