Sunday, 23 April 2017

"Error: EACCES: permission denied, mkdir '/dist'" when running webpack in terminal?

I've installed Webpack as a dev-dependency, as well as, globally.

I've created a 'dist' folder in the root of the application. My entry point 'app.js' is also in the root of the app.

When I run 'webpack app.js ./dist/app.bundle.js' in the terminal, I get the error message: "Error: EACCES: permission denied, mkdir '/dist'".

That is also the error I get when I run 'webpack --display-error-details'.

ANY HELP APPRECIATED. THANK YOU!



via koz

No comments:

Post a Comment