These are chat archives for systemjs/systemjs

Jan 2016
Mohsen Azimi
Jan 24 2016 00:30
Hi there,
I'm trying to make SystemJS work with my Angular 2 app
Here is my config:
<script src="node_modules/angular2/bundles/angular2-polyfills.js"></script>
    <script src="node_modules/systemjs/dist/system.src.js"></script>
    <script src="node_modules/rxjs/bundles/Rx.js"></script>
    <script src="node_modules/angular2/bundles/"></script>

    <!-- Configure SystemJS -->
        packages: {
          app: {
            format: 'register',
            defaultExtension: 'js'
        map: {
          firebase: 'node_modules/firebase/lib/firebase-web.js',
          moment: 'node_modules/moment/moment.js',
          marked: 'node_modules/marked/marked.min.js',
          lodash: 'node_modules/lodash/index.js'
            .then(null, console.error.bind(console));
I'm using TypeScript
importing new libs that I've added like lodash was easy. I needed to update the TSD file to have a default export so I can import like this: import moment from 'moment'
But importing rxjs which came with Angular 2 example which I started my app with is not working
I got a 404 error when I write import statement like this:
import {Observable} from 'rxjs'
Tyler J Presley
Jan 24 2016 06:13
Anyone using Stripe?