Super Sale Limited Time 50% OFF for All-Access Plans
Save 50% Now

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
> at throwsError (
> at
> at
> at
TypeError: Promise executor has already been invoked with non-undefined arguments
Stack trace:
> at new BadResolverPromise (
> at BadResolverPromise.all (<anonymous>)
> at
> at valueOrFalseIfThrows (
> at
> at
> at


Text formatting options
Submit
Click any option to insert into your comment. Select text first to wrap it.
  • **text** to make things bold
  • *text* to emphasize
  • ### Heading to make headings
  • [link text](url) for links
  • ![alt text](image-url) to paste in an image
  • - item to make a list
  • 1. item to make an ordered list
  • > quote to quote somebody
  • `code` for single line of code
  • ```js ... ``` for JS code block
  • ```html ... ``` for HTML code block
  • ```scss ... ``` for SCSS code block
  • ```php ... ``` for PHP code block
  • --- for a horizontal rule
  • happy  :)
  • shocked  :|
  • sad  :(

Replies (2)


Hi

Sorry for the delay. May I know if you just update the plugins.bundle.js file only? How about the src assets files?

Thanks



not only plugins.bundle.js but all.


Text formatting options
Submit
Click any option to insert into your comment. Select text first to wrap it.
  • **text** to make things bold
  • *text* to emphasize
  • ### Heading to make headings
  • [link text](url) for links
  • ![alt text](image-url) to paste in an image
  • - item to make a list
  • 1. item to make an ordered list
  • > quote to quote somebody
  • `code` for single line of code
  • ```js ... ``` for JS code block
  • ```html ... ``` for HTML code block
  • ```scss ... ``` for SCSS code block
  • ```php ... ``` for PHP code block
  • --- for a horizontal rule
  • happy  :)
  • shocked  :|
  • sad  :(
Text formatting options
Submit
Click any option to insert into your comment. Select text first to wrap it.
  • **text** to make things bold
  • *text* to emphasize
  • ### Heading to make headings
  • [link text](url) for links
  • ![alt text](image-url) to paste in an image
  • - item to make a list
  • 1. item to make an ordered list
  • > quote to quote somebody
  • `code` for single line of code
  • ```js ... ``` for JS code block
  • ```html ... ``` for HTML code block
  • ```scss ... ``` for SCSS code block
  • ```php ... ``` for PHP code block
  • --- for a horizontal rule
  • happy  :)
  • shocked  :|
  • sad  :(