App refuses to find symbol-observable
- or zone.js does - even though rxjs is definitely in there.
Got everything loading like:
<script src="node_modules/es6-shim/es6-shim.js"></script>
<script src="node_modules/zone.js/dist/zone.js"></script>
<script src="node_modules/reflect-metadata/Reflect.js"></script>
<script src="node_modules/systemjs/dist/system.src.js"></script>
<script>
System.config({
map: {
'@angular': 'node_modules/@angular',
'rxjs': 'node_modules/rxjs'
},
packages: {
'dist': { defaultExtension: 'js', format: 'register', main: 'boot.js' },
'@angular/common': { defaultExtension: 'js', main: 'index.js' },
'@angular/compiler': { defaultExtension: 'js', main: 'index.js' },
'@angular/core': { defaultExtension: 'js', main: 'index.js' },
'@angular/http': { defaultExtension: 'js', main: 'index.js' },
'@angular/platform-browser': { defaultExtension: 'js', main: 'index.js' },
'@angular/platform-browser-dynamic': { defaultExtension: 'js', main: 'index.js' },
'@angular/router': { defaultExtension: 'js', main: 'index.js' },
'rxjs': { defaultExtension: 'js' }
}
});
System.import('dist').catch(console.error.bind(console));
</script>
I put all the code up here for a closer look.
I tried mapping to symbol-observable
again. It worked this time. Go figure.
System.config({
map: {
...,
'symbol-observable': 'node_modules/symbol-observable'
},
packages: {
...,
'symbol-observable': { defaultExtension: 'js', main: 'index.js'
}
});
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With