Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Bug Report: Tries to use Node.js version from package.json #375

Closed
LinusU opened this issue Dec 7, 2021 · 3 comments
Closed

Bug Report: Tries to use Node.js version from package.json #375

LinusU opened this issue Dec 7, 2021 · 3 comments
Labels
bug Something isn't working

Comments

@LinusU
Copy link

LinusU commented Dec 7, 2021

Bug Report

Current Behavior

I recently updated our browserslist field in our package.json to read Node 14.18. Now this VS Code plugin cannot run anymore. I get the following error when trying to run a query:

Unknown version 14.18 of Node.js

I can only guess that for some reason one of the tools is picking up my local Browserslist configuration?

Code/Gist

n/a

Expected Behavior/Code

For it to run the query without error...

Environment

  • node.js / npm versions: v16.11.1 / v8.0.0
  • OS: macOS Monterey 12.0.1

Possible Solution

n/a

Additional Context/Screenshots

Screenshot 2021-12-07 at 11 19 05

@Anemy Anemy added the bug Something isn't working label Dec 7, 2021
@Anemy
Copy link
Member

Anemy commented Dec 7, 2021

Hi @LinusU - thanks for reporting, we've been able to reproduce this. I've opened https://jira.mongodb.org/browse/VSCODE-315 to help track this, hopefully we can get a fix out soon.

@LinusU
Copy link
Author

LinusU commented Mar 1, 2022

@Anemy seems like the blocking issue (https://jira.mongodb.org/browse/MONGOSH-1085) was fixed in mongodb-js/mongosh#1176, and the update was merged in #385. Thanks everyone involved for the work!

Is there any timeline for when this will be released?

@Anemy
Copy link
Member

Anemy commented Mar 9, 2022

@LinusU thanks for the ping - this was in the 0.9.2 release yesterday. Thanks again for bringing it up!

@Anemy Anemy closed this as completed Mar 9, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants