Closed
Description
Hello,
I am using angular-cli with SystemJS, and I have the following issue when trying to use raven-js.
In main.ts I have
import Raven from 'raven-js';
but the compiler throws:
Module '"ncr-angular/node_modules/raven-js/typescript/raven"' has no default export.
In system-config.ts I have:
/** Map relative paths to URLs. */
const map: any = {
'raven-js': 'vendor/raven-js'
};
/** User packages configuration. */
const packages: any = {
'raven-js': {
main: 'dist/raven.js'
}
};
Am I doing something wrong?
Thanks
Metadata
Metadata
Assignees
Labels
No labels