Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Raven is not configured #4

Open
Hyra opened this issue Oct 2, 2015 · 4 comments
Open

Raven is not configured #4

Hyra opened this issue Oct 2, 2015 · 4 comments

Comments

@Hyra
Copy link

Hyra commented Oct 2, 2015

When loading the Redux Raven Middleware as described the console says:

Error: Raven has not been configured.

When trying to initialise Raven from the same console it says it's already configured:

window.Raven.config('https://[email protected]/53909', {}).install();

Error: Raven has already been configured

I tracked down the afterLoad function doesn't know of window.RavenConfig .. could this be a clue as to what's wrong?

@Hyra
Copy link
Author

Hyra commented Oct 2, 2015

Ok, so it seems it does actually log exceptions to Raven (without the 'state'). Odd the message shows up. I'll try putting it up online somewhere to see if it could be related to local development.

@ngokevin
Copy link
Owner

ngokevin commented Oct 2, 2015

Do you have raven-js installed already? Maybe it's unintentionally bundling two copies. I might need to make this lib use peerDeps.

@Hyra
Copy link
Author

Hyra commented Oct 2, 2015

You could be on to something .. npm list gives, after the tree:

`npm ERR! extraneous: [email protected] /Users/........./node_modules/redux-raven-middleware``

@ngokevin
Copy link
Owner

ngokevin commented Oct 6, 2015

I am getting this issue as well, I'll get around to it some time.

If the bug is an error that occurs before Raven is initialize, maybe queue it until Raven is initialized.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants