# Yarn build returns Unexpected character '' (1:0)

**URL:** https://discourse.roots.io/t/yarn-build-returns-unexpected-character-1-0/26339
**Category:** radicle
**Created:** 2023-11-29T14:05:09Z
**Posts:** 20
**Showing post:** 15 of 20

## Post 15 by @dsturm — 2023-12-01T08:36:56Z

> [@kellymears](#):
>
> ```
> // debug
> app.set(`dashboard`, {
> render: result => {
> const [data, human] = [result.toJson(), result.toString()]
> process.stdout.write(human)
> app.fs.write(`result.yml`, data.errors ?? data)
> },
> })
> ```

Thanks for the hint with the error logging. I ran into a similiar error while trying to import the `@splidejs` css into my js - it results in:

```
- moduleIdentifier: >-
    /Users/dcsturm/wrk/test/wp-themes/sage/node_modules/@splidejs/splide/dist/css/splide.min.css
  moduleName: ../node_modules/@splidejs/splide/dist/css/splide.min.css
  loc: '1:0'
  message: >-
    Module parse failed: Unexpected token (1:0)

    You may need an appropriate loader to handle this file type, currently no
    loaders are configured to process this file. See
    https://webpack.js.org/concepts#loaders

    >
    .splide__container{box-sizi[...]
```

* * *

Could fix my error, using the solution @erip2 mentioned in [Added a dependency but stylesheet can't be found - #5 by erip2](https://discourse.roots.io/t/added-a-dependency-but-stylesheet-cant-be-found/25014/5)

@kellymears: why does `Bud`, although having `css-loader` set up already, needs to have `css-loader` added again? Am I missing something here?

---

_[View the full topic](https://discourse.roots.io/t/yarn-build-returns-unexpected-character-1-0/26339)._
