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

installation of devonfw extension pack for vscode unstable #560

Closed
hohwille opened this issue Apr 19, 2021 · 2 comments
Closed

installation of devonfw extension pack for vscode unstable #560

hohwille opened this issue Apr 19, 2021 · 2 comments
Labels
bug Something isn't working plugins related to plugins (for Eclipse, Intellij, VSCode, etc.) setup related to the setup process of devonfw-ide (setup[.bat] and devon ... setup) vscode Microsoft visual studio code
Milestone

Comments

@hohwille
Copy link
Member

our extension pack installation to vscode does not work reliable as we sometimes get this error:

Successfully installed vscode
To be fully functional please rerun 'devon' command to update your PATH properly.
vsCode extensions not configured to be removed on update. If you would like to do so, please create /home/runner/work/ide/ide/scripts/target/integration-test/test-setup/settings/vscode/vscode.properties with clean_plugins_on_update=true.

******** ATTENTION ********
Execute plugin installation with following parameters ( --install-extension devonfw.devonfw-extension-pack) into VS code...
Please wait until VSCode has successfully installed all plugins.
You may then use or close VSCode as you like.
Installing extensions...
Installing extension 'devonfw.devonfw-extension-pack' v5.1.0...
(node:2992) [DEP0005] DeprecationWarning: Buffer() is deprecated due to security and usability issues. Please use the Buffer.alloc(), Buffer.allocUnsafe(), or Buffer.from() methods instead.
read ECONNRESET
Failed Installing Extensions: devonfw.devonfw-extension-pack
(node:2992) UnhandledPromiseRejectionWarning: Error: read ECONNRESET
    at TLSWrap.onStreamRead (internal/stream_base_commons.js:205:27)
(node:2992) UnhandledPromiseRejectionWarning: Unhandled promise rejection. This error originated either by throwing inside of an async function without a catch block, or by rejecting a promise which was not handled with .catch(). To terminate the node process on unhandled promise rejection, use the CLI flag `--unhandled-rejections=strict` (see https://nodejs.org/api/cli.html#cli_unhandled_rejections_mode). (rejection id: 2)
(node:2992) [DEP0018] DeprecationWarning: Unhandled promise rejections are deprecated. In the future, promise rejections that are not handled will terminate the Node.js process with a non-zero exit code.
Failed to run command: '/home/runner/work/ide/ide/scripts/target/integration-test/test-setup/software/vscode/bin/code' --new-window --user-data-dir '/home/runner/work/ide/ide/scripts/target/integration-test/test-setup/workspaces/main/.vscode/.userdata' --extensions-dir '/home/runner/work/ide/ide/scripts/target/integration-test/test-setup/software/vscode-extensions' --force  --install-extension devonfw.devonfw-extension-pack

@sjimenez77 any ideas what we could do here?

@hohwille hohwille added bug Something isn't working vscode Microsoft visual studio code plugins related to plugins (for Eclipse, Intellij, VSCode, etc.) setup related to the setup process of devonfw-ide (setup[.bat] and devon ... setup) labels Apr 19, 2021
@sjimenez77
Copy link
Member

It seems that this issue raises with a corrupted installation and the only way to solve it is with a fresh install. Indeed, Suvendu had the same issue if I am not mistaken, and the only thing that worked was a fresh install.

So, I am not sure, but providing a fresh install alternative if possible just in case could be enough.

@hohwille
Copy link
Member Author

IMHO this is more or less a duplicate of #887 - we had to change devonfw-extension-pack from auto-installed plugin to recommended plugin to prevent breaking the default setup of devonfw.
See also devonfw/extension-pack-vscode#12

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working plugins related to plugins (for Eclipse, Intellij, VSCode, etc.) setup related to the setup process of devonfw-ide (setup[.bat] and devon ... setup) vscode Microsoft visual studio code
Projects
None yet
Development

No branches or pull requests

2 participants