The New Way to Build with AI! Introducing ReUI — the developer platform for agentic UI with shadcn/ui
Browse ReUI Pro

Error with Blazor Project

warn: Microsoft.AspNetCore.Components.Server.Circuits.RemoteRenderer[100] Unhandled exception rendering component: Could not find 'KTCardsWidget17.init' ('KTCardsWidget17' was undefined). Error: Could not find 'KTCardsWidget17.init' ('KTCardsWidget17' was undefined). at https://localhost:7291/_framework/blazor.web.js:1:537 at Array.forEach (<anonymous>) at l.findFunction (https://localhost:7291/_framework/blazor.web.js:1:505) at b (https://localhost:7291/_framework/blazor.web.js:1:5248) at https://localhost:7291/_framework/blazor.web.js:1:3041 at new Promise (<anonymous>) at y.beginInvokeJSFromDotNet (https://localhost:7291/_framework/blazor.web.js:1:3004) at gn._invokeClientMethod (https://localhost:7291/_framework/blazor.web.js:1:62730) at gn._processIncomingData (https://localhost:7291/_framework/blazor.web.js:1:60119) at connection.onreceive (https://localhost:7291/_framework/blazor.web.js:1:53760) Microsoft.JSInterop.JSException: Could not find 'KTCardsWidget17.init' ('KTCardsWidget17' was undefined). Error: Could not find 'KTCardsWidget17.init' ('KTCardsWidget17' was undefined). at https://localhost:7291/_framework/blazor.web.js:1:537 at Array.forEach (<anonymous>) at l.findFunction (https://localhost:7291/_framework/blazor.web.js:1:505) at b (https://localhost:7291/_framework/blazor.web.js:1:5248) at https://localhost:7291/_framework/blazor.web.js:1:3041 at new Promise (<anonymous>) at y.beginInvokeJSFromDotNet (https://localhost:7291/_framework/blazor.web.js:1:3004) at gn._invokeClientMethod (https://localhost:7291/_framework/blazor.web.js:1:62730) at gn._processIncomingData (https://localhost:7291/_framework/blazor.web.js:1:60119) at connection.onreceive (https://localhost:7291/_framework/blazor.web.js:1:53760) at Microsoft.JSInterop.JSRuntime.InvokeAsync[TValue](Int64 targetInstanceId, String identifier, Object[] args) at Microsoft.JSInterop.JSRuntimeExtensions.InvokeVoidAsync(IJSRuntime jsRuntime, String identifier, Object[] args) at Starterkit.Components.Partials.Widgets.Cards._CardsWidget17.OnAfterRenderAsync(Boolean firstRender) in C:\Users\arti\Downloads\metronic_blazor_v8.2.9\Starterkit\Components\Partials\Widgets\Cards_CardsWidget17.razor:line 87 at Microsoft.AspNetCore.Components.RenderTree.Renderer.GetErrorHandledTask(Task taskToHandle, ComponentState owningComponentState) fail: Microsoft.AspNetCore.Components.Server.Circuits.CircuitHost[111] Unhandled exception in circuit 'gqx56NzD4zUSx-JJc13B9jesuu3vCM3TdcF95F4zlkQ'. Microsoft.JSInterop.JSException: Could not find 'KTCardsWidget17.init' ('KTCardsWidget17' was undefined). Error: Could not find 'KTCardsWidget17.init' ('KTCardsWidget17' was undefined). at https://localhost:7291/_framework/blazor.web.js:1:537 at Array.forEach (<anonymous>) at l.findFunction (https://localhost:7291/_framework/blazor.web.js:1:505) at b (https://localhost:7291/_framework/blazor.web.js:1:5248) at https://localhost:7291/_framework/blazor.web.js:1:3041 at new Promise (<anonymous>) at y.beginInvokeJSFromDotNet (https://localhost:7291/_framework/blazor.web.js:1:3004) at gn._invokeClientMethod (https://localhost:7291/_framework/blazor.web.js:1:62730) at gn._processIncomingData (https://localhost:7291/_framework/blazor.web.js:1:60119) at connection.onreceive (https://localhost:7291/_framework/blazor.web.js:1:53760) at Microsoft.JSInterop.JSRuntime.InvokeAsync[TValue](Int64 targetInstanceId, String identifier, Object[] args) at Microsoft.JSInterop.JSRuntimeExtensions.InvokeVoidAsync(IJSRuntime jsRuntime, String identifier, Object[] args) at Starterkit.Components.Partials.Widgets.Cards._CardsWidget17.OnAfterRenderAsync(Boolean firstRender) in C:\Users\arti\Downloads\metronic_blazor_v8.2.9\Starterkit\Components\Partials\Widgets\Cards_CardsWidget17.razor:line 87 at Microsoft.AspNetCore.Components.RenderTree.Renderer.GetErrorHandledTask(Task taskToHandle, ComponentState owningComponentState)

Text formatting options
Submit
Click any option to insert into your comment. Select text first to wrap it.
  • **text** to make things bold
  • *text* to emphasize
  • ### Heading to make headings
  • [link text](url) for links
  • ![alt text](image-url) to paste in an image
  • - item to make a list
  • 1. item to make an ordered list
  • > quote to quote somebody
  • `code` for single line of code
  • ```js ... ``` for JS code block
  • ```html ... ``` for HTML code block
  • ```scss ... ``` for SCSS code block
  • ```php ... ``` for PHP code block
  • --- for a horizontal rule
  • happy  :)
  • shocked  :|
  • sad  :(

Replies (1)

 
Deleted comment

Hi,

Thank you for reaching out to us.

Could you please clarify which Metronic version you are using?

Please make sure that you include Starterkit/wwwroot/assets/js/widgets.bundle.js on your page.

Regards,
Lauris Stepanovs,
Keenthemes Support Team


Text formatting options
Submit
Click any option to insert into your comment. Select text first to wrap it.
  • **text** to make things bold
  • *text* to emphasize
  • ### Heading to make headings
  • [link text](url) for links
  • ![alt text](image-url) to paste in an image
  • - item to make a list
  • 1. item to make an ordered list
  • > quote to quote somebody
  • `code` for single line of code
  • ```js ... ``` for JS code block
  • ```html ... ``` for HTML code block
  • ```scss ... ``` for SCSS code block
  • ```php ... ``` for PHP code block
  • --- for a horizontal rule
  • happy  :)
  • shocked  :|
  • sad  :(
Text formatting options
Submit
Click any option to insert into your comment. Select text first to wrap it.
  • **text** to make things bold
  • *text* to emphasize
  • ### Heading to make headings
  • [link text](url) for links
  • ![alt text](image-url) to paste in an image
  • - item to make a list
  • 1. item to make an ordered list
  • > quote to quote somebody
  • `code` for single line of code
  • ```js ... ``` for JS code block
  • ```html ... ``` for HTML code block
  • ```scss ... ``` for SCSS code block
  • ```php ... ``` for PHP code block
  • --- for a horizontal rule
  • happy  :)
  • shocked  :|
  • sad  :(
buy metronic keenthemes mega bundle

ReUI

Open-source React components, blocks and templates built on shadcn/ui and Tailwind CSS by Keenthemes.