**Do you want to request a _feature_ or report a _bug_?** Bug **What is the current behavior?** Raven.js does not work on Angular 2 with the AOT compiler. <img width="1058" alt="screen shot 2016-10-25 at 9 46 50 am" src="https://cloud.githubusercontent.com/assets/1181306/19695416/0a66a83a-9a98-11e6-9e7c-42f2a7c52505.png"> Setup: ``` import * as Raven from 'raven-js'; Raven .config('mykeyhere') .install(); ``` **What is the expected behavior?** App would compile and run correctly.
Activity
benvinegar commentedon Oct 25, 2016
@Chuckv01 – you need to make sure your module loader is pointing to
dist/raven.js, and not the files located insrc.davorpeic commentedon Nov 4, 2016
Hey @Chuckv01 did you managed to get this working as @benvinegar instructed?
Chuckv01 commentedon Nov 4, 2016
@davorpeic not exactly. I ended up including the library the old-fashioned way using script tags in index.html.
davorpeic commentedon Nov 4, 2016
Hm yeah, its a workaround, I hope they will fix this bug as it is useless in ionic2 :(