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

Building a new Dev Container hangs on RUN npm install -g pajv #4156

Closed
jonnyry opened this issue Nov 27, 2024 · 1 comment
Closed

Building a new Dev Container hangs on RUN npm install -g pajv #4156

jonnyry opened this issue Nov 27, 2024 · 1 comment
Labels
bug Something isn't working has workaround a workaround is available for this issue

Comments

@jonnyry
Copy link
Collaborator

jonnyry commented Nov 27, 2024

Issue

Building a new Dev Container from current main hangs on the following line:

ARG PAJV_VERSION="1.2.0"
RUN npm install -g pajv@${PAJV_VERSION}

E.g.

Image

Workaround

  1. Comment the line in the Dockerfile to allow the Dev Container to build.
  2. Attempt to run npm install -g [email protected] from the Dev Container console - however this still hangs for me.
  3. Run npm install -g [email protected] --verbose from the console. This usually works for me, though sometimes taken a second attempt.
@jonnyry jonnyry added the bug Something isn't working label Nov 27, 2024
@jonnyry jonnyry changed the title Build a new Dev Container hangs on RUN npm install -g pajv@${PAJV_VERSION} Building a new Dev Container hangs on RUN npm install -g pajv@${PAJV_VERSION} Nov 27, 2024
@jonnyry jonnyry changed the title Building a new Dev Container hangs on RUN npm install -g pajv@${PAJV_VERSION} Building a new Dev Container hangs on RUN npm install -g pajv Nov 28, 2024
@tim-allen-ck tim-allen-ck added the has workaround a workaround is available for this issue label Nov 28, 2024
@jonnyry
Copy link
Collaborator Author

jonnyry commented Dec 5, 2024

Built a couple of fresh containers since and it is now no longer occurring.

@jonnyry jonnyry closed this as completed Dec 5, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working has workaround a workaround is available for this issue
Projects
None yet
Development

No branches or pull requests

2 participants