-
-
Notifications
You must be signed in to change notification settings - Fork 19
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
Exception of type 'Fake.Core.DocoptException' was thrown. #4
Comments
I've run the cmd lines in the command line:
I've added a proxy to
Trying to track down where this |
I had already added a proxy to |
Please try to setup your proxy according to this documentation: https://fsprojects.github.io/Paket/faq.html#I-am-behind-a-proxy-Can-I-use-Paket And report back if it worked |
No, it did not work. I'm going to try it at home to see if it truly is a proxy issue. The v2 api and v3 apis for nuget work just fine for me in other projects, which makes me think it's a project-specific setting here. I'll continue to look. Thank you. |
@red-swan Basically whatever you do - documentation of paket should in theory apply to fake as well. In theory you should have the same problem with raw paket (the only difference is paket running on full framework and fake on netcore) Regarding the title of the issue: Should we change it? I guess the docopt-exception had some reasonable error message to figure out the problem? |
Well it built. Must have something to do with my proxy. But the Yarn command didn't work. I ran |
Hum sorry for your bad experience... Perhaps you can test the fulma template doc is here and if the template works then use it as a base for your application and copy/paste code from this repo ? etc. But if this is really a proxy problem you will probably have the same problem with the template because it use more or less the same stack as this repo. |
Just to add one thing: We really need this kind of feedback from new people to improve the documentation or fix bugs. Without the details we don’t know what happened. Even if you figure it out the next might run into the same issue...
Can you just post the log/output you saw?
This is kind of hard for us to fix/improve on. I know it might take you a minute or two to provide the details but only then you will find yourself in a potentially better place next time (the same goes for the docoptexception where we have no clue how to improve or understand what happened to you) Also, knowing the details we might be able to give shortcuts or workarounds until the problem is fixed. |
@MangelMaxime You mean the proxy problem, correct? |
I don't know, the only error I have from @mastoj is: darwin17
Restore completed in 31.24 ms for /Users/tomasjansson/tmp/fulma_play/MyApp/build.proj.
Restore completed in 62.31 ms for /Users/tomasjansson/tmp/fulma_play/MyApp/build.proj.
Restore completed in 62.31 ms for /Users/tomasjansson/tmp/fulma_play/MyApp/build.proj.
Usage error: Exception of type 'Fake.Core.DocoptException' was thrown. I didn't really understand all the discussion that happen in this issue. I hope, we will have more infos to understand the problem or be able to reproduce it. |
Ah wow so part of the problem is that the error message is actually bad. sorry I did not get it until now. Yes that can be fixed, as part of the docoptexception there is a more interesting message within. I assume one we know that we have more clues what's actually happening |
I can just confirm the error message I got, and @MangelMaxime posted above. I haven’t had the time to look any more into the issue since I got it right before boarding a flight. |
Please try to upgrade fake and report back if the new message is of any use (or if there is a bug) |
Hi there. I just got this issue now with the Fulma template (cc @MangelMaxime). @matthid Can you please clarify "upgrade FAKE"? Trying this:
|
@StachuDotNet what does |
@matthid |
@StachuDotNet Apparently you are not using 5.1, please use 5.1 and report the error you get there |
I just updated the template to use FAKE 5.1 |
Honestly I think this can be closed. Basically you get a |
I'm running Windows 7, F# 4.1, DotNet Core 2.1.103. When I run the command
fake.cmd
orfake.sh build
I get the error in the title. This looks like an exception in the arguments for the FAKE build. I've run.paket/paket.exe install
andyarn install
but I still get the same build error. I'm an absolute beginner in the web space so I'm sure I'm missing something obvious. Do you know what that is?Thank you
The text was updated successfully, but these errors were encountered: