mdgriffith / elm-optimize-level-2

BSD 3-Clause "New" or "Revised" License
128 stars 14 forks source link

`--optimize-speed` produces `Uncaught TypeError:` #78

Closed mihkell closed 2 years ago

mihkell commented 2 years ago

Below error only happens with --optimize-speed. Don't know what you can do with the information sense I can't prodive Minimal example.

main.js:4337 Uncaught TypeError: Failed to execute 'removeChild' on 'Node': parameter 1 is not of type 'Node'.
    at _VirtualDom_applyPatch (main.js:4337)
    at _VirtualDom_applyPatchesHelp (main.js:4307)
    at _VirtualDom_applyPatches (main.js:4301)
    at main.js:4492
    at updateIfNeeded (main.js:4512)
mdgriffith commented 2 years ago

This should be fixed in the latest version! Drop a comment here if it's still popping up.