Open euphbriggs opened 4 years ago
I did a little digging on my lunch break and I was curious if this could be part of the problem. If you hit the URL shown in the fetchDependencies
function you'll get the output below (only including a snippet).
[
{
"name": "elm/browser",
"summary": "Run Elm in browsers, with access to browser history for single-page apps (SPAs)",
"license": "BSD-3-Clause",
"version": "1.0.2"
},
{
"name": "elm/bytes",
"summary": "Work with sequences of bytes (a.k.a. ArrayBuffer, typed arrays, DataView)",
"license": "BSD-3-Clause",
"version": "1.0.8"
},
{
"name": "elm/core",
"summary": "Elm's standard libraries",
"license": "BSD-3-Clause",
"version": "1.0.5"
}
]
In the JSON above, the version
field is a single string value, but the RegistryItem
interface is expecting an array of strings called versions
.
Hello and thank you for the solid project that you've created. I used it on all my Elm projects.
I'm having trouble with a new project where all of the packages on the "Project Dependencies" are showing with an "Unknown" status (shown below). I'm not sure what info is useful for debugging the issue. Everything seems to be functioning properly (no error messages). Do you know why the page would show "Unknown" for all of the dependencies?
Version Info
Elm Analyse Output
elm.json