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

[code] .gitpod.yml extensions not being installed in VS Code #4460

Closed
jankeromnes opened this issue Jun 10, 2021 · 3 comments · Fixed by #4541
Closed

[code] .gitpod.yml extensions not being installed in VS Code #4460

jankeromnes opened this issue Jun 10, 2021 · 3 comments · Fixed by #4541
Assignees
Labels

Comments

@jankeromnes
Copy link
Contributor

Bug description

Originally reported here last week:

I am using this repository in Gitpod but for some reason, the extensions are not activated at all. Neither are some of the left sidebar features (like the port explorer)

The extensions tab is completely empty too:

b830a5d573ca912fc2bbcb33bb9d001aff4ae15e

This worked fine until a couple of weeks ago, but then I put the project on hold and when I came back, I started encountering this problem. I don’t am not really sure what has actually caused this issue.

Steps to reproduce

  1. Set VS Code as default IDE in https://gitpod.io/preferences
  2. Open https://gitpod.io/#https://github.com/KushagraSinha2002/Resourceium/
  3. Check Extensions panel

Expected behavior

Extensions should be installed.

Example repository

https://github.com/KushagraSinha2002/Resourceium/

Anything else?

While investigating, we noticed a bunch of errors in the browser console, but they're likely unrelated (some known OpenVSX CORS errors, and some local app connection errors).

However, suspecting something might be wrong with the config, I tried to fork the repository. When I opened my identical fork in Gitpod, I suddenly had all extensions installed, but none of the tasks ran, which was super confusing.

@akosyakov akosyakov self-assigned this Jun 10, 2021
@akosyakov akosyakov added this to the [backlog] June 2021 milestone Jun 10, 2021
@lechien73
Copy link

Further to this, I've noticed that startup commands in .gitpod.yml are no longer being run after the switch to VS Code.

Because the user directory isn't saved between workspace restarts, we run a command on startup to add run aliases to ~/.bashrc

This startup command is no longer being run.

Extract from .gitpod.yml:

tasks:
  - init: . ${GITPOD_REPO_ROOT}/.vscode/init_tasks.sh
    command: . ${GITPOD_REPO_ROOT}/.vscode/update_bashrc.sh

@Shigetorum635
Copy link

Maybe related to #4391

@akosyakov
Copy link
Member

It is somehow related to Node.js. I was able to create a minimal script which produces it: nodejs/node#39072

I don't know how to properly fix it, but we can try to ignore stderr particuarly for this case, since we collect it only for tracing.

akosyakov added a commit to gitpod-io/openvscode-server that referenced this issue Jun 18, 2021
akosyakov added a commit to gitpod-io/openvscode-server that referenced this issue Jun 26, 2021
akosyakov added a commit to gitpod-io/openvscode-server that referenced this issue Jun 27, 2021
akosyakov added a commit to gitpod-io/openvscode-server that referenced this issue Jul 16, 2021
MatthewFagan pushed a commit to trilogy-group/gitpod that referenced this issue Dec 14, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging a pull request may close this issue.

4 participants