Good Day everybody,
I am currently using Metronic 8 for Blazor. I started with the "Starterkit" and after some research I changed the "Startkit" Namespace to "MyProject" with a Global Search and replace.
When I try to start up the project now, I get some weird errors. Anybody able to help me out?
This is the error message:
Microsoft.AspNetCore.Components.Server.Circuits.CircuitHost[111]
Unhandled exception in circuit 'IThCtsT4qnLGYm4KFR1WOP_mHZQnUFtKgoqiufnT8oM'.
Microsoft.JSInterop.JSException: Could not find 'KTCardsWidget17.init' ('KTCardsWidget17' was undefined).
Error: Could not find 'KTCardsWidget17.init' ('KTCardsWidget17' was undefined).
i also having same error and i did'ny change the namespace or any kind of changing in the code and facing exactly same error
Oh and BTW. Yes I did build the Assets Folder. It's located under wwwRoot. Everything worked perfectly fine before changing Namespace.
Thanks
Hi,
Sorry for the delay in reply.
This issue doesn't seem to be related to the project namespace. Unfortunately, we were not able to reproduce this error, if besides global replacement you have renamed the folder name and .csproj file, then everything should work fine.
Could you please specify which building tools are you using?
Gulp/Webpack
Also, if you have modified anything else in our code please describe those changes.
Regards,
Lauris Stepanovs,
Keenthemes Support Team