Unhandled Exception In Plugins.bundle.js With Visual Studio 17.11.3

Good morning,
I have updated visual studio from 17.10 to 17.11, in particular to 17.11.3 ad since the update with javascript debug enabled the debugger stops with an Unhandled exception every time a page is loaded. I haven’t made any changes to my code after updating visual studio.

The stack trace signals problems only within the plugins.bundle.js file I don’t know if this is a limit of Visual Studio or if it’s actually an initialisation problem within the file.

The line where the debugger stops is:

var promiseRequiresObjectContext = throwsError(function () { return globals.Promise.call(3, noop); });

with TypeError: Promise constructor cannot be invoked without ‘new’

Read more here: Source link