vscode
vscode copied to clipboard
local-install command does not work
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
Fixed in https://github.com/mongodb-js/vscode/pull/354 - feel free to reopen if the command still fails - thanks for reporting!
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
@diegoleme Have you run npm install
since updating in the repository?
@Anemy Yes! Even delete the node_modules
folder before
Ticket to track a fix here: https://jira.mongodb.org/browse/VSCODE-310 Thanks again for reporting!
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.