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

local-install command does not work #353

Closed
diegoleme opened this issue Oct 14, 2021 · 6 comments · Fixed by #354
Closed

local-install command does not work #353

diegoleme opened this issue Oct 14, 2021 · 6 comments · Fixed by #354
Labels
bug Something isn't working

Comments

@diegoleme
Copy link
Contributor

Bug Report

Current Behavior

When the local-install command is executed, it fails.

Environment

  • node: v16.11.0
  • npm: v8.0.0
  • vscode: 1.61.0
  • OS: macOS Big Sur - 11.5.1 (20G80)

Log

 ERROR  Command failed: npm list --production --parseable --depth=99999 --loglevel=error
npm ERR! code ELSPROBLEMS
npm ERR! extraneous: [email protected] /Users/ddomingues/Code/vscode/node_modules/mongodb-core
npm ERR! extraneous: [email protected] /Users/ddomingues/Code/vscode/node_modules/require_optional
npm ERR! extraneous: [email protected] /Users/ddomingues/Code/vscode/node_modules/mongodb-core/node_modules/bson
npm ERR! extraneous: [email protected] /Users/ddomingues/Code/vscode/node_modules/require_optional/node_modules/resolve-from
npm ERR! extraneous: [email protected] /Users/ddomingues/Code/vscode/node_modules/require_optional/node_modules/semver
npm ERR! invalid: [email protected] /Users/ddomingues/Code/vscode/node_modules/mongodb

npm ERR! A complete log of this run can be found in:
npm ERR!     /Users/ddomingues/.npm/_logs/2021-10-14T13_36_47_482Z-debug.log
@Anemy
Copy link
Member

Anemy commented Oct 15, 2021

Fixed in #354 - feel free to reopen if the command still fails - thanks for reporting!

@diegoleme
Copy link
Contributor Author

Hey @Anemy, thanks for helping me!

But, I still have an error:

ERROR  Command failed: npm list --production --parseable --depth=99999 --loglevel=error
npm ERR! code ELSPROBLEMS
npm ERR! invalid: [email protected] /Users/ddomingues/Code/vscode/node_modules/mongodb

npm ERR! A complete log of this run can be found in:
npm ERR!     /Users/ddomingues/.npm/_logs/2021-10-15T17_23_27_725Z-debug.log

@Anemy
Copy link
Member

Anemy commented Oct 15, 2021

@diegoleme Have you run npm install since updating in the repository?

@diegoleme
Copy link
Contributor Author

diegoleme commented Oct 15, 2021

@Anemy Yes! Even delete the node_modules folder before

@Anemy Anemy reopened this Oct 19, 2021
@Anemy Anemy added the bug Something isn't working label Nov 24, 2021
@Anemy
Copy link
Member

Anemy commented Nov 24, 2021

Ticket to track a fix here: https://jira.mongodb.org/browse/VSCODE-310
Thanks again for reporting!

@Anemy
Copy link
Member

Anemy commented Feb 27, 2023

Fixed in the linked pr ^
Sorry for the long delay on the fix. Feel free to reopen if you update and the command doesn't work as expected. Thanks again for reporting the issue.

@Anemy Anemy closed this as completed Feb 27, 2023
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

Successfully merging a pull request may close this issue.

2 participants