Unable to build

When I run yarn build the following error is thrown and the styles aren’t being applied

 Module Error (from ../node_modules/postcss-loader/dist/cjs.js):
│ │ Loading PostCSS "node_modules/postcss-preset-env/dist/index.cjs" plugin
│ │ failed: Cannot find module
│ │ 'node_modules/@csstools/css-color-parser/dist/index.cjs'
│ │ (@resources/styles/app.css)
│
│ │ Module Error (from ../node_modules/postcss-loader/dist/cjs.js):
│ │ Loading PostCSS "node_modules/postcss-preset-env/dist/index.cjs" plugin
│ │ failed: Cannot find module
│ │ 'node_modules/@csstools/css-color-parser/dist/index.cjs'
│ │ (@resources/styles/editor.css)

This is what my bud.config.js currently looks like:

export default async (app) => {
  app
    .entry('app', ['@scripts/app', '@styles/app'])
    .entry('editor', ['@scripts/editor', '@styles/editor'])
    .assets(['images'])
    .setUrl('http://localhost:3000')

    .watch(['resources/views', 'app']);

  if (ENV === 'dev') {
    app.setProxyUrl('http://localhost:10040');
  } else {
    app.setProxyUrl('https://marverinecole.co.uk');
  }

  app.setPublicPath('/wp-content/themes/marverine-cole/public/');
.....

This might not be the issue, but you want your setProxyUrl to be a local URL, not a remote one.