This is a migrated thread and some comments may be shown as answers.

'initComponentLoaderContainer' was undefined

4 Answers 785 Views
General Discussions
This is a migrated thread and some comments may be shown as answers.
Bert
Top achievements
Rank 1
Veteran
Bert asked on 21 Jan 2021, 08:52 AM

Hi,

After upgrading to version 2.21, I get following error when loading page:z

Microsoft.AspNetCore.Components.WebAssembly.Rendering.WebAssemblyRenderer[100]
      Unhandled exception rendering component: Could not find 'TelerikBlazor.initComponentLoaderContainer' ('initComponentLoaderContainer' was undefined).
      Error: Could not find 'TelerikBlazor.initComponentLoaderContainer' ('initComponentLoaderContainer' was undefined).
          at https://localhost:44370/_framework/blazor.webassembly.js:1:1287
          at Array.forEach (<anonymous>)
          at e.findFunction (https://localhost:44370/_framework/blazor.webassembly.js:1:1247)
          at b (https://localhost:44370/_framework/blazor.webassembly.js:1:2989)
          at https://localhost:44370/_framework/blazor.webassembly.js:1:3935
          at new Promise (<anonymous>)
          at Object.beginInvokeJSFromDotNet (https://localhost:44370/_framework/blazor.webassembly.js:1:3908)
          at Object.w [as invokeJSFromDotNet] (https://localhost:44370/_framework/blazor.webassembly.js:1:64218)
          at _mono_wasm_invoke_js_blazor (https://localhost:44370/_framework/dotnet.5.0.1.js:1:190800)
          at do_icall (https://localhost:44370/_framework/dotnet.wasm:wasm-function[10596]:0x194e58)

Thanks for helping me

4 Answers, 1 is accepted

Sort by
0
Iwan
Top achievements
Rank 1
answered on 21 Jan 2021, 08:57 AM
Same issue here
0
Accepted
Marin Bratanov
Telerik team
answered on 21 Jan 2021, 09:01 AM

Hi guys,

Could you try following this article to see if it helps you fix it: https://docs.telerik.com/blazor-ui/troubleshooting/js-errors? It looks like either browser cache, or old cdn reference.

 

Regards,
Marin Bratanov
Progress Telerik

Virtual Classroom, the free self-paced technical training that gets you up to speed with Telerik and Kendo UI products quickly just got a fresh new look + new and improved content including a brand new Blazor course! Check it out at https://learn.telerik.com/.

0
Accepted
Iwan
Top achievements
Rank 1
answered on 21 Jan 2021, 09:04 AM
Seems like, the good old, CTRL-F5 did the trick. Thx.
0
Bert
Top achievements
Rank 1
Veteran
answered on 21 Jan 2021, 09:19 AM

Just found it too :-)

Tags
General Discussions
Asked by
Bert
Top achievements
Rank 1
Veteran
Answers by
Iwan
Top achievements
Rank 1
Marin Bratanov
Telerik team
Bert
Top achievements
Rank 1
Veteran
Share this question
or