vscode
vscode copied to clipboard
Bug Report "t is not a constructor"
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

VSCode details:

Hi @maxidev - thanks for reporting. Are you able to connect with a connection string?
This might be an issue with how we handle things on linux machines.
Hi Anemy, thanks for your response.
When using connection string I get:

Let me know if I can help by providing additional info or testing something
I've opened a JIRA ticket so you can track progress here: https://jira.mongodb.org/browse/VSCODE-275
@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?
Closing the issue. Feel free to reopen it if you encounter the problem again.