halohalospecial / atom-elmjutsu

A bag of tricks for developing with Elm. (Atom package)
https://atom.io/packages/elmjutsu
MIT License
192 stars 24 forks source link

Failed to load package docs #8

Closed halohalospecial closed 8 years ago

halohalospecial commented 8 years ago

Because of a recent change in package.elm-lang.org (https://github.com/elm-lang/package.elm-lang.org/commit/2995ff99e9664a1b6ea4dc7124e07ab6e99b43d4), the current version will not be able to get the latest documentation of 3rd party Elm packages. Autocomplete and Sidekick will not work anymore for 3rd party packages.

Also refer to https://github.com/elm-lang/package.elm-lang.org/issues/196

The fix is to read and watch elm-stuff/exact-dependencies.json of each project to get the exact version numbers to pass to package.elm-lang.org. Will require major changes and some time to implement, though.

halohalospecial commented 8 years ago

Used elm-package.json instead to approximate dependency versions. Did not use elm-stuff/exact-dependencies.json because that required the project to be compiled already.

Added in https://github.com/halohalospecial/atom-elmjutsu/commit/0595fbbcee6189f4d43f3b067f3f7f914ea85cbd