Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Error while adding item #4

Open
MuhammadAshouri opened this issue Aug 9, 2022 · 0 comments
Open

Error while adding item #4

MuhammadAshouri opened this issue Aug 9, 2022 · 0 comments

Comments

@MuhammadAshouri
Copy link

I got this error while Adding item to carousel

Microsoft.AspNetCore.Components.WebAssembly.Rendering.WebAssemblyRenderer[100]
      Unhandled exception rendering component: $(...).slick is not a function
      TypeError: $(...).slick is not a function
          at Module.WMBSCAdd (https://localhost:7257/_content/WMBlazorSlickCarousel/wm-blazor.slick-carousel.js:22:16)
          at https://localhost:7257/_framework/blazor.webassembly.js:1:3332
          at new Promise (<anonymous>)
          at Object.beginInvokeJSFromDotNet (https://localhost:7257/_framework/blazor.webassembly.js:1:3306)
          at Object.St [as invokeJSFromDotNet] (https://localhost:7257/_framework/blazor.webassembly.js:1:59938)
          at _mono_wasm_invoke_js_blazor (https://localhost:7257/_framework/dotnet.6.0.7.rys6jl4f53.js:1:195300)
          at wasm://wasm/00971e46:wasm-function[219]:0x1a490
          at wasm://wasm/00971e46:wasm-function[167]:0xce5e
          at wasm://wasm/00971e46:wasm-function[166]:0xbd71
          at wasm://wasm/00971e46:wasm-function[2812]:0xabf01
Microsoft.JSInterop.JSException: $(...).slick is not a function
TypeError: $(...).slick is not a function
    at Module.WMBSCAdd (https://localhost:7257/_content/WMBlazorSlickCarousel/wm-blazor.slick-carousel.js:22:16)
    at https://localhost:7257/_framework/blazor.webassembly.js:1:3332
    at new Promise (<anonymous>)
    at Object.beginInvokeJSFromDotNet (https://localhost:7257/_framework/blazor.webassembly.js:1:3306)
    at Object.St [as invokeJSFromDotNet] (https://localhost:7257/_framework/blazor.webassembly.js:1:59938)
    at _mono_wasm_invoke_js_blazor (https://localhost:7257/_framework/dotnet.6.0.7.rys6jl4f53.js:1:195300)
    at wasm://wasm/00971e46:wasm-function[219]:0x1a490
    at wasm://wasm/00971e46:wasm-function[167]:0xce5e
    at wasm://wasm/00971e46:wasm-function[166]:0xbd71
    at wasm://wasm/00971e46:wasm-function[2812]:0xabf01
   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.JSObjectReferenceExtensions.InvokeVoidAsync(IJSObjectReference jsObjectReference, String identifier, Object[] args)
   at WMBSCCore.SlickAdd(String newItem)
   at WMBlazorSlickCarousel.WMBSC.BlazorSlickCarousel.Add(String newItem)
   at Client.Shared.GallerySliderSection.OnParametersSetAsync() in 

*I have registered the service

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant