- ABP Framework version: v5.3
- UI type: Blazor
- DB provider: EF Core
- Tiered (MVC) or Identity Server Separated (Angular): no
- Exception message and stack trace:
- Steps to reproduce the issue: 1 - Create new project with abp suite with pwa blazor 2 - Follow the tuto for migrate lepton to letponX 3 - Migration & Host & Blazor 4 - Blazor error
crit: Microsoft.AspNetCore.Components.WebAssembly.Rendering.WebAssemblyRenderer[100] Unhandled exception rendering component: Could not find 'initLeptonX' ('initLeptonX' was undefined). Error: Could not find 'initLeptonX' ('initLeptonX' was undefined). at https://localhost:44349/global.js?_v=637895241250928036:40:328 at Array.forEach (<anonymous>) at a.findFunction (https://localhost:44349/global.js?_v=637895241250928036:40:296) at _ (https://localhost:44349/global.js?_v=637895241250928036:40:2437) at https://localhost:44349/global.js?_v=637895241250928036:40:3325 at new Promise (<anonymous>) at Object.beginInvokeJSFromDotNet (https://localhost:44349/global.js?_v=637895241250928036:40:3306) at Object.Rt [as invokeJSFromDotNet] (https://localhost:44349/global.js?_v=637895241250928036:40:59738) at _mono_wasm_invoke_js_blazor (https://localhost:44349/_framework/dotnet.6.0.4.dckq00jdfr.js:1:195300) at wasm://wasm/00970c26:wasm-function[219]:0x1a0fb Microsoft.JSInterop.JSException: Could not find 'initLeptonX' ('initLeptonX' was undefined). Error: Could not find 'initLeptonX' ('initLeptonX' was undefined). at https://localhost:44349/global.js?_v=637895241250928036:40:328 at Array.forEach (<anonymous>) at a.findFunction (https://localhost:44349/global.js?_v=637895241250928036:40:296) at _ (https://localhost:44349/global.js?_v=637895241250928036:40:2437) at https://localhost:44349/global.js?_v=637895241250928036:40:3325 at new Promise (<anonymous>) at Object.beginInvokeJSFromDotNet (https://localhost:44349/global.js?_v=637895241250928036:40:3306) at Object.Rt [as invokeJSFromDotNet] (https://localhost:44349/global.js?_v=637895241250928036:40:59738) at _mono_wasm_invoke_js_blazor (https://localhost:44349/_framework/dotnet.6.0.4.dckq00jdfr.js:1:195300) at wasm://wasm/00970c26:wasm-function[219]:0x1a0fb at Microsoft.JSInterop.JSRuntime.<InvokeAsync>d__16`1[[Microsoft.JSInterop.Infrastructure.IJSVoidResult, Microsoft.JSInterop, Version=6.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60]].MoveNext() at Microsoft.JSInterop.JSRuntimeExtensions.InvokeVoidAsync(IJSRuntime jsRuntime, String identifier, Object[] args) at Volo.Abp.AspNetCore.Components.Web.LeptonXTheme.Components.ApplicationLayout.SideMenuLayout.OnAfterRenderAsync(Boolean firstRender) at Microsoft.AspNetCore.Components.RenderTree.Renderer.GetErrorHandledTask(Task taskToHandle, ComponentState owningComponentState)
5 Answer(s)
-
0
Did you get any error while executing
abp bundle
command?It seems your bundle couldn't be generated. Can you try again to run
abp bundle
command and share the results? -
0
I never used abp bundle, with blazor? Why not add it in the doc? I will try.
-
0
-
0
-
0