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