Thanks for reporting this! To set expectations:
Finally, please be patient with the core team. They are trying their best with limited resources.
Quick Summary:
https://package.elm-lang.org/packages/opvasger/comparable/2.0.0/ can no longer be installed since https://github.com/opvasger/comparable/tree/2.0.0 no longer exists.
elm install opvasger/comparable Here is my plan:
Add: opvasger/comparable 2.0.0
Would you like me to update your elm.json accordingly? [Y/n]: Y -- PROBLEM DOWNLOADING PACKAGE -------------------------------------------------
I was trying to download the source code for opvasger/comparable 2.0.0, so I tried to fetch:
https://github.com/opvasger/comparable/zipball/2.0.0/
But it came back as 404 Not Found
This may mean some online endpoint changed in an unexpected way, so if does not seem like something on your side is causing this (e.g. firewall) please report this to https://github.com/elm/compiler/issues with your operating system, Elm version, the command you ran, the terminal output, and any additional information that can help others reproduce the error!
N/A
I'm finding that a Set
with 3551 or more elements causes this exception to happen in Elm's debugger when msgs are triggered:
I imagine this is related to, or a duplicate of, #104 , #90.
For me, a Dict
with 10,000 as many items works just fine. So to work around this Set
issue, I'm using Dict String ()
instead of Set String
in one of my projects.
Crash output from the Ellie:
211 workspace:9414 Uncaught RangeError: Maximum call stack size exceeded
at Function.f (VM211 workspace:9414:11)
at A2 (VM211 workspace:56:28)
at Function.f (VM211 workspace:9503:6)
at A2 (VM211 workspace:56:28)
at Function.f (VM211 workspace:9504:6)
at A2 (VM211 workspace:56:28)
at Function.f (VM211 workspace:9504:6)
at A2 (VM211 workspace:56:28)
at Function.f (VM211 workspace:9504:6)
at A2 (VM211 workspace:56:28)
https://ellie-app.com/mVLVhb3DYk2a1
Tested on Chromium Version 113.0.5672.126 (Official Build, ungoogled-chromium) Arch Linux (64-bit).
The problem happens in Firefox, too, but it seems intermittent or something, so I'm not sure the exact number that triggers it (it seems higher than 3551). Guessing the exact number isn't very important, tho.