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.
发布者:admin,转转请注明出处:http://www.yc00.com/questions/1744898026a4599812.html
评论列表(0条)