Hi, I purchased and downloaded the Metronic Blazor demo version 8.2.0. I ran yarn and gulp without issues. I am able to start and run the Blazor site from Visual Studio 2022. Once the site is running, if I click on any element to navigate etc. nothing happens and an exception gets logged within VS:
"Microsoft.JSInterop.JSException" in System.Private.CoreLib.dll ("searchObject.on is not a function
TypeError: searchObject.on is not a function
at Object.init (https://localhost:7001/assets/js/scripts.bundle.js:7802:26)
at new Promise (<anonymous>)
at Ft.beginInvokeJSFromDotNet (https://localhost:7001/_framework/blazor.server.js:1:3480)
at Ft._invokeClientMethod (https://localhost:7001/_framework/blazor.server.js:1:75072)
at Ft._processIncomingData (https://localhost:7001/_framework/blazor.server.js:1:72696)
at Ft.connection.onreceive (https://localhost:7001/_framework/blazor.server.js:1:67009)
at i.onmessage (https://localhost:7001/_framework/blazor.server.js:1:51322)") Exception thrown: "Microsoft.JSInterop.JSException" in System.Private.CoreLib.dll ("searchObject.on is not a function<pre lang="scss">
Thank you for reaching out to us.
Please note that, as described in the product description, our Metronic Blazor version is a Starterkit. It comes with a fully functional layout and a set of initial pages to get you started, including New Password, Reset Password, Sign In, Sign Up, Default Dashboard Page, 500 error page, and 404 error page.
Let me know if you will need any further help on this.
Keenthemes Support Team
Thank you for your response. I wanted to close the loop on this. After your response I realized the errors only occur when attempting to use any functionality that hasn't been built out yet. I assumed there would have been a more obvious notification than an obtuse console error, but I get it. The developer in me went straight to "errors mean broken", not "errors mean missing functionality." Perhaps in the future the team could add something as simple as an alert or even a more direct console message when interacting with functionality that hasn't been built out. Any how, thank you again and thanks to your team for the great product!
Sorry for the misunderstanding.
We have tested our theme, but we couldn't reproduce this error.
Are you experiencing this issue on the theme's pre-built pages or on a page you have implemented?
Menu items in our theme are simple HTML links used for demonstration purposes, and we haven't observed any errors associated with them.
Keenthemes Support Team