-
Notifications
You must be signed in to change notification settings - Fork 520
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
Give better error message when a file can't be found on a github repo #1162
Comments
where is the correct resource? where do you expect paket to download that file? |
If I look at https://github.com/lodash/lodash/ then there is no lodash.min.js in the root |
lol lodash/lodash@d5f51f2 removed that file ;-) |
So in this case there is nothing we can do, but to give a good error message. |
Ok thanks, didn't expect that! :-D |
forki
changed the title
Something wrong with GitHub reference?
Give better error message when a file can't be found on a github repo
Oct 23, 2015
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
paket.dependencies:
Response:
C:\myTest>.paket\paket.exe install --verbose
Paket version 2.8.0.0
found: C:\myTest\paket.dependencies
Parsing C:\myTest\paket.dependencies
Resolving packages for group Main:
Locked version resolution written to C:\myTest\paket.lock
Downloading lodash/lodash:d5f51f288121971a06802ad783179f9304ec5093 lodash.min.js to C:\myTest\paket-files\lodash\lodash\lodash.min.js
Paket failed with:
Could not download from https://raw.githubusercontent.com/lodash/lodash/d5f51f288121971a06802ad783179f9304ec5093/lodash.min.js
Message: One or more errors occurred.
StackTrace:
at [email protected](String message)
at [email protected](Exception _arg3)
at [email protected](AsyncParams
1 args) --- End of stack trace from previous location where exception was thrown --- at Microsoft.FSharp.Control.AsyncBuilderImpl.commit[a](Result
1 res)at Microsoft.FSharp.Control.CancellationTokenOps.RunSynchronously[a](CancellationToken token, FSharpAsync
1 computation, FSharpOption
1 timeout)at Microsoft.FSharp.Control.FSharpAsync.RunSynchronously[T](FSharpAsync
1 computation, FSharpOption
1 timeout, FSharpOption1 cancellationToken) at Paket.InstallProcess.createModel(String root, Boolean force, DependenciesFile dependenciesFile, LockFile lockFile, FSharpSet
1 packages)at Paket.InstallProcess.InstallIntoProjects(InstallerOptions options, DependenciesFile dependenciesFile, LockFile lockFile, FSharpList
1 projects) 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()
The text was updated successfully, but these errors were encountered: