# Error when trying to use Aurelia with Systemjs and node\_modules

**URL:** <https://discourse.aurelia.io/t/error-when-trying-to-use-aurelia-with-systemjs-and-node-modules/1578>\
**Category:** Help Requests\
**Created:** [August 28, 2018, 9:15am UTC](https://discourse.aurelia.io/t/error-when-trying-to-use-aurelia-with-systemjs-and-node-modules/1578 "2018-08-28T09:15:38Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![intercoder](https://avatars.discourse-cdn.com/v4/letter/i/f4b2a3/32.png) [@intercoder](https://discourse.aurelia.io/u/intercoder)\
**Post date:** [August 28, 2018, 9:15am UTC](https://discourse.aurelia.io/t/error-when-trying-to-use-aurelia-with-systemjs-and-node-modules/1578/1 "2018-08-28T09:15:38Z")

</div>

Hey guys I’m new to aurelia and this might be more of a systemjs issue than an aurelia. But I’m trying to configure my `systemjs` to work with `node_modules`, but I keep getting the following error:

```
Error: XHR error (404 Not Found) loading http://localhost:9000/node_modules/main/package.json
Error loading http://localhost:9000/node_modules/main/package.json

```

This is my `systemjs.config`

const configOptions = {};

```
System.config({
  paths: {
    '*': './node_modules/*'
  },
  packageConfigPaths: [
    './node_modules/*/package.json'
  ],
  warnings: false
});

```

Thanks
