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

Error in module.options.guides in MapModule #299

Closed
jywarren opened this issue Mar 4, 2019 · 1 comment
Closed

Error in module.options.guides in MapModule #299

jywarren opened this issue Mar 4, 2019 · 1 comment

Comments

@jywarren
Copy link
Member

jywarren commented Mar 4, 2019

I realized we hadn't copied in the new default mapModule: true into the examples/index.html file, but upon adding it, i see this error:

PublicLab.Editor.js:21758 Uncaught TypeError: Cannot read property 'forEach' of undefined
    at Class._module.build (PublicLab.Editor.js:21758)
    at Class.init (PublicLab.Editor.js:21725)
    at Class.prototype.(anonymous function) [as init] (http://localhost:3001/dist/PublicLab.Editor.js:16752:28)
    at new Class (PublicLab.Editor.js:16765)
    at Class.init (PublicLab.Editor.js:20682)
    at new Class (PublicLab.Editor.js:16765)
    at index.html:339
    at index.html:345

This is actually also affecting the PublicLab.org production site, so it's a bit urgent.

@jywarren
Copy link
Member Author

jywarren commented Mar 4, 2019

Reproduced in a test here: #300

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

No branches or pull requests

1 participant