Build Command Failed: error code 127: webpack --config webpack.config.js

Hi @alfie,

Thanks for reaching out and welcome to Netlify’s Support Forums!

Looks like the error starts here:

1:30:43 PM: $ webpack --config webpack.config.js

1:30:43 PM: bash: webpack: command not found

Are you able to successful build locally?

We have this support guide that can help troubleshoot builds: