Thanks to visit codestin.com
Credit goes to github.com

Skip to content

_Debug_crash__DEBUG(0) and _Debug_crash__PROD(0) out of sync #1153

@lydell

Description

@lydell

During development, this “0” error looks like this:

https://github.com/elm/core/blob/1.0.5/src/Elm/Kernel/Debug.js#L244

throw new Error('What node should I take over? In JavaScript I need something like:\n\n    Elm.Main.init({\n        node: document.getElementById("elm-node")\n    })\n\nYou need to do this with any Browser.sandbox or Browser.element program.');

But in production, it looks like this:

https://github.com/elm/core/blob/1.0.5/hints/0.md

Your application is triggering a bug in the Dict module of this library!

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions