Get 2025 Templates Mega Bundle!$1000 worth of 19 Bootstrap HTML, Vue & React Templates + 3 Vector Sets for just $99
Get for 99$

Errors Encountered After Upgrading from .NET 8 to .NET 9


Error 1: System.InvalidOperationException - Missing Asset File
Error Message:
System.InvalidOperationException: No file exists for the asset at either location 'wwwroot\css\ace\ace.bundle.css' or 'wwwroot\css\ace\ace.bundle.css'

Details:
After upgrading my project from .NET 8 to .NET 9, I encountered this error during the rebuild process. However, the application runs well despite the rebuild issue. This indicates that the missing asset (ace.bundle.css) is referenced somewhere in the project configuration but does not exist in the specified directory.

Image Reference:
<img src="https://i.imgur.com/0YVcAeS.png" />
https://i.imgur.com/0YVcAeS.png



Error 2: TypeError - Promise Constructor Issue
Error Message:
TypeError: Promise constructor cannot be invoked without 'new'


Message=
Source=
StackTrace:
at Number.Promise (<anonymous>)
at https://localhost:7015/assets/plugins/global/plugins.bundle.js:64:34950
at s (https://localhost:7015/assets/plugins/global/plugins.bundle.js:64:353)
at https://localhost:7015/assets/plugins/global/plugins.bundle.js:64:34919
at https://localhost:7015/assets/plugins/global/plugins.bundle.js:64:123
at https://localhost:7015/assets/plugins/global/plugins.bundle.js:64:127


Details:
And now, I also encountered a JavaScript runtime error that is preventing the application from running. The error occurs in the plugins.bundle.js file.

Image Reference:
<img src="https://i.imgur.com/waU5zLB.png" />
https://i.imgur.com/waU5zLB.png


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)


Hi,

Sorry for the delay in reply.

In Metronic source code, we do not have ace.bundle.css, is it your custom file?

Regards,
Lauris Stepanovs,
Keenthemes Support Team


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