I am installing a script and I am getting the error 'Error: EBUSY: resource busy or locked'


npm i -g --ignore-scripts <yourscript> usdocker
usdocker -r

Error: connect ENOENT /var/run/docker.sock

  1. Is Docker installed locally?
  2. Are you running on Windows or Mac? (See windows or mac)

Try to setting the docker connections properly:

usdocker --global docker-host=http://localhost:2375