Skip to content

New apps broken: Cannot read property 'embed' of undefined #114

@roaks3

Description

@roaks3

I was getting this error in Chrome after creating a new app and running elm-app start:
Uncaught TypeError: Cannot read property 'embed' of undefined

It appears that due to some name changes, Elm.Main.embed(root, logoPath) should now be Elm.App.embed(root, logoPath): https://github.com/halfzebra/create-elm-app/blob/master/template/src/index.js#L7

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugA bug-report

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions