Closed johno closed 3 years ago
I started seeing an ECONNREFUSED when running yarn build on my site.
yarn build
What I've done so far:
Error: 0: command ["node", "--unhandled-rejections", "strict", "--loader", "toast/src/loader.mjs", "/Users/johno-mini/c/_/node_modules/.bin/toast-source-data", "/var/tmp/toaster.sock", "/Users/johno-mini/c/_/toast.js"] exited with code 1
I was able to manually fix it with rm /var/tmp/toaster.sock. Turns out it was a hanging socket that persists a machine reboot (TIL).
rm /var/tmp/toaster.sock
I started seeing an ECONNREFUSED when running
yarn build
on my site.What I've done so far:
Error
See full error 👇
``` ~/c/_ master* 20s ❯ yarn build yarn run v1.17.3 $ toast incremental . internal/process/promises.js:213 triggerUncaughtException(err, true /* fromPromise */); ^ RequestError: connect ECONNREFUSED /var/tmp/toaster.sock at ClientRequest.Metadata