These are chat archives for systemjs/systemjs

Apr 2016
Cody Lindley
Apr 20 2016 00:01
you here?
Jayson Harshbarger
Apr 20 2016 10:58
Hello again @guybedford, I'd really appreciate if you can take a look at this: . I think we may have talked about this before but I don't recall if your answer was no or maybe. :smile:
I'd also like to hear from others if they think this is a decent idea. Thanks.
Juan Lucha
Apr 20 2016 17:31
Hello there!
I'm trying to use this library in my angular2 project, but... it seems it hasn't the correct module format:
I'm using systemJs and this is my configuration:
        packages: {
          app: {
            format: 'register',
            defaultExtension: 'js'
          'node_modules/country-list': {
            format: 'cjs',
            defaultExtension: 'js'
            .then(null, console.error.bind(console));
The error I'm getting in my browser's console is: country-list.js:3 Uncaught ReferenceError: require is not defined
The line of this library throwint this error is:
var data = require('./data.json');
Juan Lucha
Apr 20 2016 17:38
I don't really know how to solve this, as I need to use this library...