Zaid-Ajaj / Feliz

A fresh retake of the React API in Fable and a collection of high-quality components to build React applications in F#, optimized for happiness
https://zaid-ajaj.github.io/Feliz/
MIT License
544 stars 82 forks source link

NuGet package fails to install #8

Closed zanaptak closed 5 years ago

zanaptak commented 5 years ago

NuGet package fails to install for me for any version. I don't think it's environmental, I can install other packages. Using Windows 10, .NET Core SDK 2.2.301.

dotnet add package Feliz --version 0.18.0
Writing C:\Users\zaphod\AppData\Local\Temp\tmpA1D6.tmp
info : Adding PackageReference for package 'Feliz' into project 'C:\src\HtmlCssDsl\HtmlCssDsl\HtmlCssDsl.fsproj'.
info : Restoring packages for C:\src\HtmlCssDsl\HtmlCssDsl\HtmlCssDsl.fsproj...
info : Package 'Feliz' is compatible with all the specified frameworks in project 'C:\src\HtmlCssDsl\HtmlCssDsl\HtmlCssDsl.fsproj'.
error: Value cannot be null.
error: Parameter name: path1
Zaid-Ajaj commented 5 years ago

Hmm the error message looks pretty clear to me:

info : Package 'Feliz' is compatible with all the specified frameworks in project 'C:\src\HtmlCssDsl\HtmlCssDsl\HtmlCssDsl.fsproj'.

I can install successfully from nuget without problems, can you please post your .fsproj here? Thanks!

zanaptak commented 5 years ago

I think that's a satisfied precondition, not an error.

The problem was ultimately a leftover project reference to Feliz.fsproj that was conflicting with the package. Sorry for the false alarm.