-
Notifications
You must be signed in to change notification settings - Fork 89
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
server fails to start with error: "dotnet paket restore" exited with code -532462766 #612
Comments
Also, the command that seems to fail when SAFE calls it, from my logs, runs perfectly if I run it: PS D:\PharmaPOS\PharmaPOS.Web> dotnet paket restore
Paket version 8.0.0+6bcb14ec191f11e984ff0e58016f5987a5cfa8f6
The last full restore is still up to date. Nothing left to do.
Total time taken: 0 milliseconds |
If you go to Also, still in |
@brokenthorn one of our devs has just had a similar issue (affecting only {
"sdk": {
"version": "8.0.XXX"
}
} You can see which .NET SDK versions you have installed using Please let us know if that helps you. |
i have the same issue, however your solution doesnt work for me :/ @jwthomson dotnet run works for me instead of dotnet watch run |
@stefanwerner87 Hi. We are fairly confident that this is due to a bug introduced in .NET 8.0.300. I would recommend that you install an older version of .NET 8 (side-by-side) e.g. 8.0.206 (https://dotnet.microsoft.com/en-us/download/dotnet/8.0). Then change your SDK to: {
"sdk": {
"version": "8.0.206"
}
} WITHOUT any "minor update" roll forward. Hope that that helps - let me know how you get on. |
@brokenthorn did you have a chance to test out the potential fix described by Isaac? |
I was struggling with the same issue for the last few days before I thought to look here. I tried the fix and it worked. Thank you! |
There is apparently a new version of the SDK scheduled for this month that will fix this. |
@brokenthorn @stefanwerner87 my understanding is that the latest version of the .NET SDK fixes the underlying issue. Can you try it and let us know how you get on? Thanks! |
@isaacabraham for me it worked now with dotnet sdk 8.0.303 and latest SAFE stack version |
Great news - thank you. |
@Larocceau I think we should add a page to the SAFE Stack documentation about this - even if it's just for the next few months. |
@isaacabraham I agree, will add tomorrow |
@isaacabraham is this what you were thinking? SAFE-Stack/docs#363 |
Hello!
I am trying SAFE for the very first time and I have problems getting the default quick start template to run correctly as is explained.
It seems like the API server is not starting. I know this because I can load the client, i.e. I can see the web page, but there are no todos on it and I cannot add one either.
If I run the server manually in my IDE, then the UI also works or seems to work at least (the dotnet run log for example does not change even if I restart it). Here is how my IDE starts the server:
I've observed that all API calls seem to return HTTP 500.
First, here is the
dotnet run
log:Initial browser logs upon opening
http://localhost:8080
:And the failing initial call (the call to add a todo is similar):
Call stack:
(anonymous) @ http://localhost:8080/output/fable_modules/Fable.Remoting.Client.7.32.0/Http.fs.js:125 (anonymous) @ http://localhost:8080/output/fable_modules/fable-library.4.9.0/Async.js:98 (anonymous) @ http://localhost:8080/output/fable_modules/fable-library.4.9.0/AsyncBuilder.js:76 onSuccess @ http://localhost:8080/output/fable_modules/fable-library.4.9.0/AsyncBuilder.js:89 (anonymous) @ http://localhost:8080/output/fable_modules/fable-library.4.9.0/Async.js:83 (anonymous) @ http://localhost:8080/output/fable_modules/fable-library.4.9.0/AsyncBuilder.js:76 (anonymous) @ http://localhost:8080/output/fable_modules/fable-library.4.9.0/AsyncBuilder.js:86 (anonymous) @ http://localhost:8080/output/fable_modules/fable-library.4.9.0/AsyncBuilder.js:76 (anonymous) @ http://localhost:8080/output/fable_modules/fable-library.4.9.0/AsyncBuilder.js:113 (anonymous) @ http://localhost:8080/output/fable_modules/fable-library.4.9.0/AsyncBuilder.js:76 (anonymous) @ http://localhost:8080/output/fable_modules/fable-library.4.9.0/AsyncBuilder.js:86 (anonymous) @ http://localhost:8080/output/fable_modules/fable-library.4.9.0/AsyncBuilder.js:76 (anonymous) @ http://localhost:8080/output/fable_modules/fable-library.4.9.0/AsyncBuilder.js:113 (anonymous) @ http://localhost:8080/output/fable_modules/fable-library.4.9.0/AsyncBuilder.js:76 (anonymous) @ http://localhost:8080/output/fable_modules/fable-library.4.9.0/Async.js:88 (anonymous) @ http://localhost:8080/output/fable_modules/fable-library.4.9.0/AsyncBuilder.js:76 (anonymous) @ http://localhost:8080/output/fable_modules/fable-library.4.9.0/AsyncBuilder.js:86 (anonymous) @ http://localhost:8080/output/fable_modules/fable-library.4.9.0/AsyncBuilder.js:76 (anonymous) @ http://localhost:8080/output/fable_modules/fable-library.4.9.0/AsyncBuilder.js:113 (anonymous) @ http://localhost:8080/output/fable_modules/fable-library.4.9.0/AsyncBuilder.js:76 startWithContinuations @ http://localhost:8080/output/fable_modules/fable-library.4.9.0/Async.js:147 start @ http://localhost:8080/output/fable_modules/fable-library.4.9.0/Async.js:136 startImmediate @ http://localhost:8080/output/fable_modules/fable-library.4.9.0/Async.js:139 (anonymous) @ http://localhost:8080/output/fable_modules/Fable.Elmish.4.1.0/cmd.fs.js:156 h @ http://localhost:8080/output/fable_modules/fable-library.4.9.0/Event.js:86 (anonymous) @ http://localhost:8080/output/fable_modules/fable-library.4.9.0/Event.js:23 Trigger @ http://localhost:8080/output/fable_modules/fable-library.4.9.0/Event.js:23 (anonymous) @ http://localhost:8080/output/fable_modules/fable-library.4.9.0/Timer.js:37 set Enabled @ http://localhost:8080/output/fable_modules/fable-library.4.9.0/Timer.js:31 Timer_delay @ http://localhost:8080/output/fable_modules/Fable.Elmish.4.1.0/prelude.fs.js:19 Cmd_OfAsync_start @ http://localhost:8080/output/fable_modules/Fable.Elmish.4.1.0/cmd.fs.js:155 (anonymous) @ http://localhost:8080/output/Index.js:71 (anonymous) @ http://localhost:8080/output/fable_modules/Fable.Elmish.4.1.0/cmd.fs.js:130 (anonymous) @ http://localhost:8080/output/fable_modules/Fable.Elmish.4.1.0/cmd.fs.js:32 (anonymous) @ http://localhost:8080/output/fable_modules/Fable.Elmish.4.1.0/cmd.fs.js:12 (anonymous) @ http://localhost:8080/output/fable_modules/fable-library.4.9.0/List.js:431 fold @ http://localhost:8080/output/fable_modules/fable-library.4.9.0/List.js:363 iterate @ http://localhost:8080/output/fable_modules/fable-library.4.9.0/List.js:430 Cmd_exec @ http://localhost:8080/output/fable_modules/Fable.Elmish.4.1.0/cmd.fs.js:10 processMsgs @ http://localhost:8080/output/fable_modules/Fable.Elmish.4.1.0/program.fs.js:249 ProgramModule_runWithDispatch @ http://localhost:8080/output/fable_modules/Fable.Elmish.4.1.0/program.fs.js:263 ProgramModule_runWith @ http://localhost:8080/output/fable_modules/Fable.Elmish.4.1.0/program.fs.js:273 (anonymous) @ http://localhost:8080/output/App.js:126 (anonymous) @ http://localhost:8080/output/App.js:127
And screenshot:
Tools:
The text was updated successfully, but these errors were encountered: