Hello all
I have been following several tutorials where BAS is used and cannot use the preview functionality at all. This includes SAPUI5 applications using a local CAP application, using an ABAP service (RAP), using a service in SAP Netweaver test system (ES5), and using the Northwind OData test service.
When I execute a run configuration (or, say, choose Preview Application from the application info page), although it says the server is started, the preview does not open and it shows a notification saying "t.close is not a function" (screenshot below). "Ports: Preview" command shows the exposed port and when I select it simply does nothing, without showing or saying anything.

The debugger console shows the following:

I could fix the first error in the debugger console by adding "resolveSourceMapLocations" configuration in the launch.json file. But the main problem persists.
After hitting the problem, I deleted the existing BAS subscription and created a new one. I also tried Chrome and Edge browsers. No luck. Considering BAS comes with predefined plumbing and I simply use app generators, I am confused about why such errors occur in a clean subscription and makes me think I might have overlooked an essential step.
Any ideas?
Kind Regards