Skip to main content

You are not logged in. Your edit will be placed in a queue until it is peer reviewed.

We welcome edits that make the post easier to understand and more valuable for readers. Because community members review edits, please try to make the post substantially better than how you found it, for example, by fixing grammar or adding additional resources and hyperlinks.

Required fields*

8
  • In a previous comment you said adding the semicolon fixed it. Now you're saying adding the type fixed it. Commented Jan 9, 2019 at 7:17
  • 1
    @TomRussell Which comment? Because I'm unable to locate it. The issue for me was with the type="module" thing. Commented Jan 18, 2019 at 12:24
  • 8
    Where? Which comment? What's the solution? Commented Apr 7, 2019 at 7:57
  • @bernard @Pithikos You have to add type='module' to the Main script as well. That's exactly what the answer you left your comment on described. This one: stackoverflow.com/a/47633417/4327948 Commented Apr 8, 2019 at 9:06
  • 4
    where would one add type="module" in the file? Commented Sep 16, 2019 at 22:24