-
Notifications
You must be signed in to change notification settings - Fork 311
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
Fable Simple Template dotnet-fable require manual installation of several missing package dependencies when the user .nuget and .dotnet directories does not exists or empty #1070
Comments
Hi @zpodlovics, thanks for the detailed report! Are you using dotnet SDK preview 2.0? If so, maybe this is related to the following issue? fsprojects/Paket#2519 If so, we're looking for the best fix, but at the moment the simplest work around seems to run |
Hi @alfonsogarciacar, thanks for the update! Yes, I am using the SDK preview 2.0, the exact version is 2.0.0-preview1-005977 (also in Related information part of the original report). I have checked, the proposed workaround does not solve the issue. I still had to do the steps I specified earlier as a workaround. Steps to reproduce:
Execution log:
It seems that the dotnet-fable.dll dependencies are missing:
However only the 4.4.0 version installed to the user .nuget
And only the 4.4.0 version installed to the project/packages
|
Thanks, @zpodlovics! There seems to be several problems with the previews of dotnet SDK 2.0. It's difficult for me to understand what's the source of these issues because a) they mainly occur with an unstable version of the dotnet SDK (I haven't upgraded to dotnet SDK 2 myself) and b) they concern other tooling not directly related to Fable. I'm not sure what to tell you, I'd first try updating the dotnet SDK (I think there're many issues fixed from preview1 to preview2), then check if it's really the same issue as fsprojects/Paket#2519. If not, I'd raise the issue in the Paket or Nuget repos. Unfortunately, Fable is not generating any of the logs copied above so there's not much I can do 😕 |
Thanks @alfonsogarciacaro! It seems that the same issue still exists with preview2 (2.0.0-preview2-006497). |
This should have been fixed with dotnet SDK 2 (stable) and Fable 1.2. Please feel free to reopen if you still have problems :) |
Description
Maybe I forgot something, but when I try to reproduce the steps from the following address:
https://github.com/fable-compiler/Fable/blob/master/src/templates/simple/Content/README.md
Eventually I was able to fix it, but to do that I had to install several packages manually.
Repro code
As these commands are destructive intentionally left separate from the repro code:
Please provide the F# code to reproduce the problem.
Ideally, it should be possible to easily turn this code into a unit test.
Expected and actual results
Expected result:
dotnet fable yarn-start works as expected without installing several additional packages
Actual result:
Related information
dotnet fable --version
): 1.1.9The text was updated successfully, but these errors were encountered: