# Unable to build

**URL:** https://discourse.roots.io/t/unable-to-build/27821
**Category:** bud
**Tags:** bud, sage10
**Created:** 2024-07-25T19:47:43Z
**Posts:** 2

## Post 1 by @Kaleshe — 2024-07-25T19:47:43Z

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/');
.....
```

---

## Post 2 by @MWDelaney — 2024-07-26T23:50:32Z

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