# Css 'read' as js (Aurealia 1)

**URL:** <https://discourse.aurelia.io/t/css-read-as-js-aurealia-1/6291>\
**Category:** Help Requests\
**Created:** [November 6, 2024, 10:55am UTC](https://discourse.aurelia.io/t/css-read-as-js-aurealia-1/6291 "2024-11-06T10:55:04Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![norgie1](https://yyz1.discourse-cdn.com/flex027/user_avatar/discourse.aurelia.io/norgie1/32/2524_2.png) [@norgie1](https://discourse.aurelia.io/u/norgie1)\
**Post date:** [November 6, 2024, 10:55am UTC](https://discourse.aurelia.io/t/css-read-as-js-aurealia-1/6291/1 "2024-11-06T10:55:04Z")

</div>

Hi.

This is probably a noob-question but here I go anyway.

I’ve got this in my `aurelia.json` file

```auto
          {
            "name": "notyf",
            "main": "notyf",
            "path": "../node_modules/notyf",
            "resources": [
              "notyf.min.css"
            ]
          }

```

and this in main.js

```auto
import 'notyf/notyf.min.css';

```

When I build the application I get an error like so:

```auto
 Tracing main...
 ------- File not found or not accessible ------
| Location: C:/dev/source/Experiments/plonker/plonk/node_modules/notyf/notyf.min.css.js
| Requested by: C:\dev\source\Experiments\plonker\plonk\src\main.js
| Is this a package? Make sure that it is configured in aurelia.json and that it is not a Node.js package
 -----------------------------------------------
 ------- File not found or not accessible ------
| Location: C:/dev/source/Experiments/plonker/plonk/node_modules/notyf/notyf.min.css.js
| Requested by: C:\dev\source\Experiments\plonker\plonk\src\main.js
| Is this a package? Make sure that it is configured in aurelia.json and that it is not a Node.js package
 -----------------------------------------------

```

What can I do to stop Aurelia from looking for `notyf.min.css.js`?

This is the content of the `node_modules/notyf` directory:

 ![image](https://canada1.discourse-cdn.com/flex027/uploads/aurelia/original/2X/6/643cc70f04ecfa32d7883d90b6039a8d7a80f108.png)

Btw, this is the recipe I’ve followed:

> <https://github.com/caroso1222/notyf/blob/master/recipes/aurelia.md#steps-for-single-use>

TIA

–norgie
