I followed the instructions for integrating with Blazor Server but I'm getting a JS error: e is undefined.

Right after following instructions and running the app (Demo20), I'm getting the following error:

"e is undefined" at blazor.server.js:1:115531
@/assets/plugins/global/plugins.js:12839:145
@/assets/plugins/global/plugins.js:12839:149


You can see the screenshot here: https://drive.google.com/file/d/1DribRH_I6QLQMbjvuAVfImZWTZ79FXGy/view?usp=sharing

I need to fix this asap.

Thanks!

Text formatting options
Submit
Here's a how to add some HTML formatting to your comment:
  • <pre></pre> for JS codes block
  • <pre lang="html"></pre> for HTML code block
  • <pre lang="scss"></pre> for SCSS code block
  • <pre lang="php"></pre> for PHP code block
  • <code></code> for single line of code
  • <strong></strong> to make things bold
  • <em></em> to emphasize
  • <ul><li></li></ul>  to make list
  • <ol><li></li></ol>  to make ordered list
  • <h3></h3> to make headings
  • <a></a> for links
  • <img> to paste in an image
  • <blockquote></blockquote> to quote somebody
  • happy  :)
  • shocked  :|
  • sad  :(

Replies (9)

I'm having the same issue, please help.

Hi,

Could you please specify which theme are you using and which building tools?

Latest version of metronic, demo20. Please let me know if you need any other information.

Do you build assets with webpack or gulp?

Can I ask you to retry the installation with webpack?

Run npm install and then npm run build from tools folder.

Check webpack build doc for more info:
https://preview.keenthemes.com/metronic8/demo1/documentation/getting-started/build/webpack.html

I tried both gulp and webpack

Did you have the same errors with webpack too?

Text formatting options
Submit
Here's a how to add some HTML formatting to your comment:
  • <pre></pre> for JS codes block
  • <pre lang="html"></pre> for HTML code block
  • <pre lang="scss"></pre> for SCSS code block
  • <pre lang="php"></pre> for PHP code block
  • <code></code> for single line of code
  • <strong></strong> to make things bold
  • <em></em> to emphasize
  • <ul><li></li></ul>  to make list
  • <ol><li></li></ol>  to make ordered list
  • <h3></h3> to make headings
  • <a></a> for links
  • <img> to paste in an image
  • <blockquote></blockquote> to quote somebody
  • happy  :)
  • shocked  :|
  • sad  :(
Text formatting options
Submit
Here's a how to add some HTML formatting to your comment:
  • <pre></pre> for JS codes block
  • <pre lang="html"></pre> for HTML code block
  • <pre lang="scss"></pre> for SCSS code block
  • <pre lang="php"></pre> for PHP code block
  • <code></code> for single line of code
  • <strong></strong> to make things bold
  • <em></em> to emphasize
  • <ul><li></li></ul>  to make list
  • <ol><li></li></ol>  to make ordered list
  • <h3></h3> to make headings
  • <a></a> for links
  • <img> to paste in an image
  • <blockquote></blockquote> to quote somebody
  • happy  :)
  • shocked  :|
  • sad  :(