vscode icon indicating copy to clipboard operation
vscode copied to clipboard

Bug Report "t is not a constructor"

Open maxidev opened this issue 4 years ago • 5 comments

Bug Report

Current Behavior

Can't connect to localhost or SSH tunnel, error msg (see below) "t is not a constructor"

Code/Gist

Expected Behavior/Code

Properly connect to local or remote instance.

Environment

  • node.js / npm versions:
  • same error with node version 12 or 14
  • OS: Linux Mint 20.1

Possible Solution

Additional Context/Screenshots

image

VSCode details:

image

maxidev avatar May 31 '21 19:05 maxidev

Hi @maxidev - thanks for reporting. Are you able to connect with a connection string? Screen Shot 2021-06-03 at 8 59 19 AM This might be an issue with how we handle things on linux machines.

Anemy avatar Jun 03 '21 13:06 Anemy

Hi Anemy, thanks for your response.

When using connection string I get: image

maxidev avatar Jun 03 '21 15:06 maxidev

Let me know if I can help by providing additional info or testing something

maxidev avatar Jun 03 '21 15:06 maxidev

I've opened a JIRA ticket so you can track progress here: https://jira.mongodb.org/browse/VSCODE-275

alenakhineika avatar Jul 21 '21 12:07 alenakhineika

@maxidev In the most recent release (0.9.2) we've updated our connection logic and MongoDB node driver. Could you see if this issue still persists? I haven't been able to reproduce yet, so any additional information helps, was the local instance you tried to connect to without authentication?

Anemy avatar Mar 09 '22 18:03 Anemy

Closing the issue. Feel free to reopen it if you encounter the problem again.

alenakhineika avatar Feb 13 '23 10:02 alenakhineika