aspnetcore icon indicating copy to clipboard operation
aspnetcore copied to clipboard

Visual Studio 17.10.6 is causing runtime error - typeError: Promise constructor cannot be invoked without "new"

Open vsfeedback opened this issue 1 year ago • 2 comments

This issue has been moved from a ticket on Developer Community.


[severity:I'm unable to use this version] I upgraded from VS from 17.10.5 to 17.10.6 on 8/14/2024. My desktop applications compile and run fine. My one Web project generates a runtime error when I try to run it. It runs fine in prior versions of VS.

Type of Web Application: AspNetCore version 7 JQuery MVC Ravor KeenThemes

Error: typeError: Promise constructor cannot be invoked without "new" Location: plugins.bundle.js


Original Comments

Feedback Bot on 8/15/2024, 11:29 AM:

(private comment, text removed)

Zdeněk Bárta on 8/21/2024, 11:58 AM:

(private comment, text removed)


Original Solutions

(no solutions)

vsfeedback avatar Aug 28 '24 11:08 vsfeedback

Thanks for contacting us.

Can you provide more details about what template are you using as well as the call stack for the exception that you are observing?

javiercn avatar Aug 28 '24 12:08 javiercn

Its looks like your team have identified and fixed this issue in the latest release - 17.11.2.

Why wasn't this thread updated by Microsoft to reflect that fix? I had to install it and see if it fixed it.

donbrookes avatar Sep 01 '24 13:09 donbrookes

FYI, I prevented the error by disabling "Enable Javascript debugging for ASP.NET (Chrome, Edge and IE)"

Its looks like your team have identified and fixed this issue in the latest release - 17.11.2.

Why wasn't this thread updated by Microsoft to reflect that fix? I had to install it and see if it fixed it.

Hi, have you tested with version 17.11.4? I'm getting the exact same issue using Keenthemes.

richardt-ccs avatar Sep 25 '24 08:09 richardt-ccs

I'm getting the exact same issue using Keenthemes. in 17.11.4

siwenhuang avatar Oct 06 '24 10:10 siwenhuang

I'm getting the exact same issue using Keenthemes. in 17.11.4

Same here

cornielvorster avatar Nov 01 '24 05:11 cornielvorster

I got the same issue.

karwanessmat avatar Dec 04 '24 19:12 karwanessmat

I am facing the same issue after upgrading today.

ChoyWingLun avatar Dec 19 '24 02:12 ChoyWingLun

Thank you for filing this issue. In order for us to investigate this issue, please provide a minimal repro project that illustrates the problem without unnecessary code. Please share with us in a public GitHub repo because we cannot open ZIP attachments, and don't include any confidential content.

This issue has been automatically marked as stale because it has been marked as requiring author feedback but has not had any activity for 4 days. It will be closed if no further activity occurs within 3 days of this comment. If it is closed, feel free to comment when you are able to provide the additional information and we will re-investigate.

See our Issue Management Policies for more information.