We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
This is my paket.dependcies file:
source https://nuget.org/api/v2 github kshanafelt/commandline build.fsx
Here is what I get: Note this is for a initial pull, without a paket-files folder, and without a paket.lock file
PS C:\src\Projects\r> .\.paket\paket.exe install --verbose Paket version 2.2.1.0 found: C:\src\Projects\DeBlorber\paket.dependencies Parsing C:\src\Projects\DeBlorber\paket.dependencies Paket failed with: The input sequence was empty. Parameter name: source StackTrace: at Microsoft.FSharp.Collections.SeqModule.Last[T](IEnumerable`1 source) at <StartupCode$Paket-Core>[email protected](Tuple`2 tupledArg) at [email protected](b& ) at Microsoft.FSharp.Collections.IEnumerator.MapEnumerator`1.System-Collections-IEnumerator-MoveNext() at Microsoft.FSharp.Collections.SeqModule.ToList[T](IEnumerable`1 source) at <StartupCode$Paket-Core>[email protected](GroupName k, RequirementsGroup group) at Microsoft.FSharp.Collections.MapTreeModule.mapiOpt[a,b,c](FSharpFunc`3 f, MapTree`2 m) at Microsoft.FSharp.Collections.FSharpMap`2.Map[b](FSharpFunc`2 f) at [email protected](DependenciesFile d, FSharpMap`2 g) at Paket.UpdateProcess.selectiveUpdate(FSharpFunc`2 resolve, LockFile lockFile, DependenciesFile dependenciesFile, Boolean updateAll, FSharpOption`1 package) at Paket.UpdateProcess.SelectiveUpdate(DependenciesFile dependenciesFile, Boolean updateAll, FSharpOption`1 exclude, Boolean force) at Paket.UpdateProcess.SmartInstall(DependenciesFile dependenciesFile, Boolean updateAll, FSharpOption`1 exclude, UpdaterOptions options) at <StartupCode$Paket-Core>[email protected](Unit unitVar0) at Paket.Utils.RunInLockedAccessMode[a](String rootFolder, FSharpFunc`2 action) at [email protected](ParseResults`1 results) at Paket.Program.processWithValidation[T](FSharpFunc`2 validateF, FSharpFunc`2 commandF, Command command, String[] args) at [email protected](Command command, String[] args) at Paket.Program.main() PS C:\src\Projects\>
Oddly I get the same error if I try the example in the tutorial (http://fsprojects.github.io/Paket/github-dependencies.html):
paket.dependcies:
source https://nuget.org/api/v2 github fsharp/FAKE modules/Octokit/Octokit.fsx
I did however find a fix, this works:
source https://nuget.org/api/v2 nuget CommandLineParser github kshanafelt/commandline build.fsx
Also GitHub paths to files that didn't also have a paket.dependcies file in their same folder seemed to work. For example this worked for me:
source https://nuget.org/api/v2 github kshanafelt/commandline src/CommandLine/CommandLine.csproj
It's seems odd, but it seems that to pull a GitHub dependency that has a paket.dependcies file next to it, you also need to pull a nuget dependency.
I don't know much f#, or I would have tried to fix it, but the error seem to be coming from Seq.last here: https://github.com/fsprojects/Paket/blob/2.2.1/src/Paket.Core/DependenciesFile.fs#L436
Seq.last
The text was updated successfully, but these errors were encountered:
45a6ebd
No branches or pull requests
This is my paket.dependcies file:
Here is what I get:
Note this is for a initial pull, without a paket-files folder, and without a paket.lock file
Oddly I get the same error if I try the example in the tutorial (http://fsprojects.github.io/Paket/github-dependencies.html):
paket.dependcies:
I did however find a fix, this works:
paket.dependcies:
Also GitHub paths to files that didn't also have a paket.dependcies file in their same folder seemed to work. For example this worked for me:
paket.dependcies:
It's seems odd, but it seems that to pull a GitHub dependency that has a paket.dependcies file next to it, you also need to pull a nuget dependency.
I don't know much f#, or I would have tried to fix it, but the error seem to be coming from
Seq.last
here:https://github.com/fsprojects/Paket/blob/2.2.1/src/Paket.Core/DependenciesFile.fs#L436
The text was updated successfully, but these errors were encountered: