Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Fake 5] Conflict when resolving packages #1564

Closed
Alxandr opened this issue May 27, 2017 · 4 comments
Closed

[Fake 5] Conflict when resolving packages #1564

Alxandr opened this issue May 27, 2017 · 4 comments

Comments

@Alxandr
Copy link

Alxandr commented May 27, 2017

Description

I'm trying out fake 5, but it fails when downloading packages.

Build failed.
Error:
There was a version conflict during package resolution.
  Conflict detected:
   - Dependencies file requested package Fable.Compiler: 1.0.7
   - Available versions:
     - (1.0.7, [https://api.nuget.org/v3/index.json])
     - (1.0.6, [https://api.nuget.org/v3/index.json])
     - (1.0.5, [https://api.nuget.org/v3/index.json])
     - (1.0.4, [https://api.nuget.org/v3/index.json])
     - (1.0.3, [https://api.nuget.org/v3/index.json])
     - (1.0.2, [https://api.nuget.org/v3/index.json])
     - (1.0.1, [https://api.nuget.org/v3/index.json])
     - (1.0.0-narumi-921, [https://api.nuget.org/v3/index.json])
     - (1.0.0-narumi-920, [https://api.nuget.org/v3/index.json])
     - (1.0.0-narumi-918, [https://api.nuget.org/v3/index.json])
     - (1.0.0-narumi-917, [https://api.nuget.org/v3/index.json])
     - (1.0.0-narumi-916, [https://api.nuget.org/v3/index.json])
     - (1.0.0-narumi-915, [https://api.nuget.org/v3/index.json])
     - (1.0.0-narumi-914, [https://api.nuget.org/v3/index.json])
     - (1.0.0-narumi-912, [https://api.nuget.org/v3/index.json])
     - (1.0.0-narumi-911, [https://api.nuget.org/v3/index.json])
     - (1.0.0-narumi-910, [https://api.nuget.org/v3/index.json])
     - (1.0.0-narumi-909, [https://api.nuget.org/v3/index.json])
     - (1.0.0-narumi-908, [https://api.nuget.org/v3/index.json])
     - (1.0.0-narumi-906, [https://api.nuget.org/v3/index.json])
     - (1.0.0-narumi-905, [https://api.nuget.org/v3/index.json])
     - (1.0.0-narumi-904, [https://api.nuget.org/v3/index.json])
     - (1.0.0-narumi-903, [https://api.nuget.org/v3/index.json])
     - (1.0.0-narumi-9, [https://api.nuget.org/v3/index.json])
     - (1.0.0-narumi-8, [https://api.nuget.org/v3/index.json])
     - (1.0.0-narumi-7, [https://api.nuget.org/v3/index.json])
     - (1.0.0-narumi-6, [https://api.nuget.org/v3/index.json])
     - (1.0.0-narumi-5, [https://api.nuget.org/v3/index.json])
     - (1.0.0-narumi-4, [https://api.nuget.org/v3/index.json])
     - (1.0.0-narumi-3, [https://api.nuget.org/v3/index.json])
     - (1.0.0-narumi-2, [https://api.nuget.org/v3/index.json])
     - (1.0.0-narumi-15, [https://api.nuget.org/v3/index.json])
     - (1.0.0-narumi-10, [https://api.nuget.org/v3/index.json])
     - (1.0.0-narumi-1, [https://api.nuget.org/v3/index.json])

I've tried specifying a version, a version range, and leaving it blank.
Also tried with nuget API version 2 and 3.

Repro steps

build.fsx:

(* -- Fake Dependencies paket.dependencies
file ./paket.dependencies
group Build
-- Fake Dependencies -- *)
#load "./.fake/build.fsx/loadDependencies.fsx"

paket.dependencies:

source https://api.nuget.org/v3/index.json

nuget FSharp.Core redirects:force, content:none
nuget Fable.Core

group Build
  source https://api.nuget.org/v3/index.json
  nuget Fable.Compiler

Expected behavior

It should resolve and download the package.

Actual behavior

It crashes, with a resolution error.

Known workarounds

Create the .paket folder in the project

Related information

  • Operating system OSX
  • Branch latest pre-release on github (5.0.0-alpha009)
  • .NET Runtime, CoreCLR or Mono Version: Mono JIT compiler version 5.0.0 (Stable 5.0.0.100/9667aa6 Fri May 19 14:03:07 BST 2017) (but should not matter, as I'm not running it)
  • Performance information, links to performance testing scripts
@matthid
Copy link
Member

matthid commented May 27, 2017

Cannot reproduce, for me this setup works :/

@matthid
Copy link
Member

matthid commented May 28, 2017

Edited your issue to add the workaround. Revant if someone stumbles over this issue. You can get paket logging by adding --verbose twice.

@matthid
Copy link
Member

matthid commented Sep 22, 2017

I'm closing this as I think this might have been solved by accident with the new storage: none option. It should actually work with latest. Please re-test and report back.

@matthid matthid closed this as completed Sep 22, 2017
@matthid matthid mentioned this issue Feb 26, 2018
@matthid
Copy link
Member

matthid commented Feb 26, 2018

This took a while to finally be fixed, sorry for that

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants