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

localhost-only.js Raven is not defined #2

Open
johnrobertallan opened this issue Nov 1, 2017 · 1 comment
Open

localhost-only.js Raven is not defined #2

johnrobertallan opened this issue Nov 1, 2017 · 1 comment

Comments

@johnrobertallan
Copy link

johnrobertallan commented Nov 1, 2017

I've included the example as you described here but it says it needs Raven. Is this correct/expected?

localhost-only.js:1 Uncaught ReferenceError: Raven is not defined at localhost-only.js:1 at HTMLScriptElement.r.readyState.r.onload (localhost-only.js:1) (anonymous) @ localhost-only.js:1 r.readyState.r.onload @ localhost-only.js:1

Then, if I add a script reference to raven:
<script src="https://cdnjs.cloudflare.com/ajax/libs/raven.js/3.19.1/raven.min.js"></script>

I get:

localhost-only.js:1 Uncaught TypeError: Cannot read property 'config' of undefined at localhost-only.js:1 at HTMLScriptElement.r.readyState.r.onload (localhost-only.js:1) (anonymous) @ localhost-only.js:1 r.readyState.r.onload @ localhost-only.js:1

@popeyefly3
Copy link

popeyefly3

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