Introducing ReUI:Open-source UI components and apps built with React, Next.js and Tailwind CSS
Browse ReUI

paulmillr/es6-shim error


I'm get this error at runtime:

TypeError: Promise executor has already been invoked with non-undefined arguments
Stack trace:
> at new e (https://localhost:7183/assets/plugins/global/plugins.bundle.js:62:34584)
> at Function.all (<anonymous>)
> at https://localhost:7183/assets/plugins/global/plugins.bundle.js:62:34723
> at o (https://localhost:7183/assets/plugins/global/plugins.bundle.js:62:346)
> at https://localhost:7183/assets/plugins/global/plugins.bundle.js:62:34698
> at https://localhost:7183/assets/plugins/global/plugins.bundle.js:62:123
> at https://localhost:7183/assets/plugins/global/plugins.bundle.js:62:127

TypeError: Promise constructor cannot be invoked without 'new'

How do I fix this, do I need this plugin?


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 (4)


Hi,

Could you please check your node.js version? Run command node -v

Please consider using node.js version 20.

Thanks



Hi,

I'm not running node.js

I'm running the html version using .net (Blazor) and just converting the parts into razor components as needed.

So I don't have node installed?



Hi,

Are you using Metronic Blazor version or is it your own implementation?

If there are any specific instructions on how we can reproduce this error please let us know.

Regards,
Lauris Stepanovs,
Keenthemes Support Team



Hi,

Just using html version and converting into razor components as needed.

When I run in Debug (VS2022), keeps stopping at this js error, so it's annoying more than anything.

Doesn't seem to stop this site functioning at all?


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  :(