Error when trying to use Aurelia with Systemjs and node_modules

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