Quantcast
Channel: Active questions tagged blazor - Stack Overflow
Viewing all articles
Browse latest Browse all 4839

Blazor Server app stops working after installing Microsoft.AspNetCore.SignalR.Client

$
0
0

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.


Viewing all articles
Browse latest Browse all 4839

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>