Skip to content

error with bump/diff when docs.json line is longer than 65535 (in 0.19.1 but not 0.19.0) #2171

Open
@michaelglass

Description

@michaelglass

Quick Summary: ???
Ran into a known bug that prevents publishing my package with Elm 0.19.1. This just adds another data-point to issue #2055 (like #2098, #2132, from which this text was copied).
(cc @juanedi)

SSCCE

$ elm bump
-- PROBLEM LOADING DOCS --------------------------------------------------------

I need the docs for 12.16.0 to compute the next version number, so I fetched:

    https://package.elm-lang.org/packages/NoRedInk/noredink-ui/12.16.0/docs.json

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

    [{"name":"Nri.Ui","comment":" A collection of helpers for working with No...

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?
  • Elm: 0.19.1
  • Browser: fish shell
  • Operating System: OSX Catalina

Additional Details

npx [email protected] bump worked fine.

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions