Error: EACCES: permission denied using webpack
As Camp bell mentioned you need to remove forward slash before dist folder in the output path section.
In my case I had to remove forward slash before build. Check my example below
Wrong one:
output: {
path: path.resolve(__dirname, "/build/"), //remove forward slash here
publicPath: "/",
filename: "bundle.js"
}
Correct one:
output: {
path: path.resolve(__dirname, "build/"),
publicPath: "/",
filename: "bundle.js"
}
Hope this helps.