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

TypeError: Promise constructor cannot be invoked without 'new'


Hit the below error at plugins.bundle.js file under demo 13.
Previously the app was running well but get this error after upgrading VS (version 17.12.5).

the error is hit on metronic v8.2.3, i have also updated metronic to v8.2.9, still getting the same error.

pls advise how to proceed further.


Error Details:
TypeError: Promise constructor cannot be invoked without 'new'
Stack trace:
> at Number.Promise (<anonymous>)
> at http://localhost/xxx/assets/plugins/global/plugins.bundle.js:24990:89
> at throwsError (http://localhost/xxx/assets/plugins/global/plugins.bundle.js:22384:7)
> at http://localhost/xxx/assets/plugins/global/plugins.bundle.js:24990:40
> at http://localhost/xxx/assets/plugins/global/plugins.bundle.js:22367:26
> at http://localhost/xxx/assets/plugins/global/plugins.bundle.js:22369:2
TypeError: Promise executor has already been invoked with non-undefined arguments
Stack trace:
> at new BadResolverPromise (http://localhost/xxx/assets/plugins/global/plugins.bundle.js:25019:7)
> at BadResolverPromise.all (<anonymous>)
> at http://localhost/xxx/assets/plugins/global/plugins.bundle.js:25027:35
> at valueOrFalseIfThrows (http://localhost/xxx/assets/plugins/global/plugins.bundle.js:22392:14)
> at http://localhost/xxx/assets/plugins/global/plugins.bundle.js:25026:33
> at http://localhost/xxx/assets/plugins/global/plugins.bundle.js:22367:26
> at http://localhost/xxx/assets/plugins/global/plugins.bundle.js:22369:2


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


If you’re in Abu Dhabi and looking for Core Cutting in Abu Dhabi, this service specializes in precision cutting for various construction needs. Whether it’s for plumbing, electrical systems, or HVAC, they use the latest tools for clean and accurate cuts. Get expert solutions for your construction projects and ensure a job well done. Check out their services for reliable, professional results. Perfect for any project requiring core cutting in the region.


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