Skip to content

Broken In Angular 2? #752

Description

@Chuckv01

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.

screen shot 2016-10-25 at 9 46 50 am

Setup:

import * as Raven from 'raven-js';

Raven
  .config('mykeyhere')
  .install();

What is the expected behavior?

App would compile and run correctly.

Activity

  1. benvinegar commented on Oct 25, 2016

    @benvinegar
    Contributor

    @Chuckv01 – you need to make sure your module loader is pointing to dist/raven.js, and not the files located in src.

  2. davorpeic commented on Nov 4, 2016

    @davorpeic

    Hey @Chuckv01 did you managed to get this working as @benvinegar instructed?

  3. Chuckv01 commented on Nov 4, 2016

    @Chuckv01
    Author

    @davorpeic not exactly. I ended up including the library the old-fashioned way using script tags in index.html.

  4. davorpeic commented on Nov 4, 2016

    @davorpeic

    Hm yeah, its a workaround, I hope they will fix this bug as it is useless in ionic2 :(

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions