codetheweb / tuyapi

🌧 An easy-to-use API for devices that use Tuya's cloud services. Documentation: https://codetheweb.github.io/tuyapi.
MIT License
2.04k stars 332 forks source link

Cannot install with "npm install codetheweb/tuyapi" #633

Closed masterofobzene closed 1 year ago

masterofobzene commented 1 year ago

All I get is:

C:\Users\SERVER>npm install codetheweb/tuyapi 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

Apollon77 commented 1 year ago

Yes this way you install from GitHub and need to have git as executable installed which do not seem to be there. Download and install git - or install thepackage from npm.