I generate a brand new blazor server project in ubuntu with "dotnet new blazor -o MyBlazorAppServer" command and it works perfectly fine when I launch it, but as soon as I install Microsoft.AspNetCore.SignalR.Client package, buttons in the project stop working and it throws :Uncaught (in promise) Error: Server returned an error on close: Connection closed with an error.at fn._processIncomingData (blazor.web.js:1:60779)at An.onreceive (blazor.web.js:1:54030)at WebSocket. (blazor.web.js:1:82175)blazor.web.js:1 Uncaught (in promise) Error: Server returned an error on close: Connection closed with an error. InvalidDataException: Reading 'target' as String failed.at fn._processIncomingData (blazor.web.js:1:60779)at An.onreceive (blazor.web.js:1:54030)at WebSocket. (blazor.web.js:1:82175)error in the console.
↧
Blazor Server app stops working after installing Microsoft.AspNetCore.SignalR.Client
↧