I'm attempting to use webpack for the first time and I'm getting this error,
Error: EACCES: permission denied, mkdir '/dist'
at Error (native)
when trying to run my production script.
A sudo chown -R 'whoami' /dist
came back with chown: /dist: No such file or directory
.
How can I go about resolving this?