When upgrading Syncfusion Charts for Blazor from version 18.2.* to 18.3.*, the following error(s) might occur:
sf.data is undefined parseRevive@http://localhost:5000/_content/Syncfusion.Blazor/scripts/syncfusion-blazor.min.js:1:160271 initialize@http://localhost:5000/_content/Syncfusion.Blazor/scripts/syncfusion-blazor.min.js:1:148662 beginInvokeJSFromDotNet/r<@http://localhost:5000/_framework/blazor.server.js:8:31619 beginInvokeJSFromDotNet@http://localhost:5000/_framework/blazor.server.js:8:31587 E</e.prototype.invokeClientMethod/<@http://localhost:5000/_framework/blazor.server.js:1:20052 E</e.prototype.invokeClientMethod@http://localhost:5000/_framework/blazor.server.js:1:20022 E</e.prototype.processIncomingData@http://localhost:5000/_framework/blazor.server.js:1:18006 e/this.connection.onreceive@http://localhost:5000/_framework/blazor.server.js:1:11091 D</e.prototype.connect/</</</i.onmessage@http://localhost:5000/_framework/blazor.server.js:1:39007
or
Cannot read property 'DataManager' of undefined TypeError: Cannot read property 'DataManager' of undefined at Object.parseRevive (http://localhost:5000/_content/Syncfusion.Blazor/scripts/syncfusion-blazor.min.js:1:160312) at JSON.parse () at Object.initialize (http://localhost:5000/_content/Syncfusion.Blazor/scripts/syncfusion-blazor.min.js:1:148662) at http://localhost:5000/_framework/blazor.server.js:8:31619 at new Promise () at e.beginInvokeJSFromDotNet (http://localhost:5000/_framework/blazor.server.js:8:31587) at http://localhost:5000/_framework/blazor.server.js:1:20052 at Array.forEach () at e.invokeClientMethod (http://localhost:5000/_framework/blazor.server.js:1:20022) at e.processIncomingData (http://localhost:5000/_framework/blazor.server.js:1:18006) throwError @ syncfusion-blazor.min.js:1
How can you solve this / these error(s)?
The solution to this error is most likely an error with the nuget package download. This can be solved by deleting the user's nuget cache (Check e.g. this link) and doing a
dotnet restore
from the command line on the root level of the project (Where the solution file is).