I bought the Good - Bootstrap Themes template in https://themes.getbootstrap.com/product/good-bootstrap-5-admin-dashboard-template/. I'm debug code ASP.NET, then thow Exception on file plugins.bundle.js. in line 24990: var promiseRequiresObjectContext = throwsError(function () { return globals.Promise.call(3, noop); }); Error: TypeError: Promise constructor cannot be invoked without 'new'. in line 25019: executor(3, function () {}); : TypeError: Promise executor has already been invoked with non-undefined arguments. Please help me fix this bug.
Hi,
I want to apologize for the late reply.
We rechecked the latest Good and were not able to reproduce this error.
Could you please specify whether are you using our Starterkit or if it is your own Asp.Net-Core implementation?
Are the any steps on how we can get the same result?
Regards,
Lauris Stepanovs,
Keenthemes Support Team
I debug in visual studio 2022 version enterprise (running as Administrator) and website debug running on google chrome Version 130.0.6723.117 (Official Build) (64-bit) for windows 11. I'm running code ASP.NET Starterkit version good_asp.net-core_v1.1.4.
link screenshot: https://imgur.com/a/8hJSsbQ
link drive video debug: https://drive.google.com/file/d/1kv9Qdp7QcZgDSO-E1NNGhm1Eq6UY-BtA/view?usp=drive_web
Please help me fix this problem.
Thank you.
Regards.
adding a Promise polyfill (such as core-js or es6-promise) to make sure Promise behaves as expected. To add the polyfill, include this at the top of your JavaScript file:
import 'core-js/stable';
import 'regenerator-runtime/runtime';
This ensures backward compatibility for environments where Promise may be causing issues.
get more infor here:https://themes.getbootstrap.com/product/good-bootstrap-5-admin-dashboard-template/hills of steel