compiler icon indicating copy to clipboard operation
compiler copied to clipboard

Failure to run elm bump/diff

Open smucode opened this issue 4 years ago • 3 comments

Quick Summary: ???

Running elm bump on the project smucode/elm-flat-colors using 0.19.1 I get this error:

➜  elm-flat-colors git:(master) elm diff   
-- PROBLEM LOADING DOCS --------------------------------------------------------

I need the docs for 1.0.0 to compute this diff, so I fetched:

    https://package.elm-lang.org/packages/smucode/elm-flat-colors/1.0.0/docs.json

I got the data back, but it was not what I was expecting. The response body
contains 215598 bytes. Here is the beginning:

    [{"name":"FlatColors.AmericanPalette","comment":" American Palette by [Ke...

Does this error keep showing up? Maybe there is something weird with your
internet connection. We have gotten reports that schools, businesses, airports,
etc. sometimes intercept requests and add things to the body or change its
contents entirely. Could that be the problem?

SSCCE

  • Clone https://github.com/smucode/elm-flat-colors
  • Run elm bump or elm diff

  • Elm: 0.19.1
  • Browser: ???
  • Operating System: OSX

Additional Details

???

smucode avatar Sep 11 '21 05:09 smucode

Thanks for reporting this! To set expectations:

  • Issues are reviewed in batches, so it can take some time to get a response.
  • Ask questions in a community forum. You will get an answer quicker that way!
  • If you experience something similar, open a new issue. We like duplicates.

Finally, please be patient with the core team. They are trying their best with limited resources.

github-actions[bot] avatar Sep 11 '21 05:09 github-actions[bot]

Same as https://github.com/elm/compiler/issues/2171

This issue has a workaround described here, in case anyone need it: https://package.elm-lang.org/packages/NoRedInk/noredink-ui/latest/

npx -p [email protected] elm bump

lucamug avatar Feb 08 '22 01:02 lucamug

For reference, npx [email protected] no longer works. Running this command makes the problem more explicit I think npm i -g [email protected]:

npm ERR! I got a "404 Not Found" trying to download from the following URL:
npm ERR! https://github.com/elm/compiler/releases/download/0.19.0/binary-for-mac-undefined.gz

So the workaround described there doesn't work anymore, at least on M1 Macs. I was able to install it from https://github.com/elm/compiler/releases.

dillonkearns avatar Dec 13 '22 17:12 dillonkearns