anysniper / Frontend

Trading Platform (Sniping, Copy Trading) on Decentralized Exchanges. A proven multichain sniping bot
https://x.com/Anysniper_
42 stars 46 forks source link

error when npm install #5

Closed icekha757 closed 2 years ago

icekha757 commented 2 years ago

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

getting this error when entering npm installs, what am i doing wrong? thanks

anysniper commented 2 years ago

That's because you haven't installed git on your computer.

icekha757 commented 2 years ago

thanks for that it worked but the next step npm run serve is giving me this Error: error:0308010C:digital envelope routines::unsupported

is there anything else i need to install or do ?thank you

Mallinanga commented 2 years ago

That's because your node version is 17+ Better to install LTS version which is ^16

Or else one other "solution" is to prepend your commands with export NODE_OPTIONS=--openssl-legacy-provider && npm run serve

icekha757 commented 2 years ago

thank you!