Skip to content

localhost-only.js Raven is not defined #2

@johnrobertallan

Description

@johnrobertallan

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions