question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Paket failed to resolve some dependencies

See original GitHub issue

Description

Can’t build the repo, because paket failed to resolve two dependencies.

C:\Projects\fable-repl\src\Fable.REPL\Fable.REPL.fsproj : error NU1100: Unable to resolve ‘System.ValueTuple (>= 4.0.0)’ for ‘.NETStandard,Version=v2.0’. [C:\Projects\fable-repl\Fable.REPL.sln] C:\Projects\fable-repl\src\Fable.REPL\Fable.REPL.fsproj : error NU1100: Unable to resolve ‘FSharp.Core (>= 4.2.0)’ for ‘.NETStandard,Version=v2.0’. [C:\Projects\fable-repl\Fable.REPL.sln]

Repro steps

Repo used: https://github.com/fable-compiler/fable-repl

  • Create a folder to host the repo like “fable_repl_projects”. (The build process will download several folders, at the same level as fable-repl)
  • git clone git@github.com:fable-compiler/fable-repl.git
  • git checkout update_fable_1_3
  • build.cmd All setup=auto (this command can take some time, it will download several folders and build a lot of stuff, next executions will be quicker because it doesn’t need to download everything)

Expected behavior

Paket should resolve the dependencies and not crash the processus.

Actual behavior

Paket doesn’t resolve System.ValueTuple and FSharp.Core

Known workarounds

Commenting this line allow us to build.

Issue Analytics

  • State:closed
  • Created 6 years ago
  • Comments:10 (3 by maintainers)

github_iconTop GitHub Comments

1reaction
MangelMaximecommented, Nov 21, 2017

Hum…

To test @TheAngryByrd options, I forced the dotnet version to 2.0.0 and it was working, then I change it to 2.0.2 and it was working. I switched back to 2.0.3 and it’s working too.

Then, I decided to try from a fresh repo with 2.0.3 and it’s failing again. Don’t really understand what’s happening.

0reactions
ncavecommented, May 20, 2018

@forki The solution from @runefs sounds good.

Read more comments on GitHub >

github_iconTop Results From Across the Web

Paket Issues - Steve Ellwood - Medium
Paket has a number of ways of dealing with this sort of issue. In this case I wanted a library to be fixed...
Read more >
The paket.dependencies file
A dependency manager for .NET with support for NuGet packages and git repositories.
Read more >
NuGet Package Dependency Resolution
Details on the process through which a NuGet package's dependencies are resolved and installed in both NuGet 2.x and NuGet 3.x+.
Read more >
Unable to resolve dependencies of NuGet packages
Solution. To resolve the problem, perform the following: Clear the NuGet cache files. You do this in the following way:
Read more >
How to handle NuGet dependency version resolution for ...
In short: you define on your solution level which packages you want to use in a file called 'paket.dependencies'. You can be very...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found