Skip to content

Dev process: npm i (or npm ci) freezes / takes too long #15813

@xl0

Description

@xl0

Applies To

  • Notebooks (.ipynb files)
  • Interactive Window and/or Cell Scripts (.py files with #%% markers)

What happened?

I want to hack a bit. Following https://github.com/microsoft/vscode-jupyter/blob/main/CONTRIBUTING.md I ran
npm ci
and it hangs after a while, not showing any progress for over 15 minutes, and not showing up in top.
I see that in CI you use npm ci --ignore-scripts --prefer-offline --no-audit

In my limited experience with node, I've never faced this issue, so not sure if it should be fixed, or the docs should be updated.

(I installed recommended node version through mamba, and then installed the recommended npm version)

VS Code Version

recent

Jupyter Extension Version

master

Jupyter logs

No response

Coding Language and Runtime Version

No response

Language Extension Version (if applicable)

No response

Anaconda Version (if applicable)

No response

Running Jupyter locally or remotely?

Local

Metadata

Metadata

Labels

bugIssue identified by VS Code Team member as probable buginfo-neededIssue requires more information from postertriage-neededIssue needs to be triageduser-setupIssues caused by incorrectly configured python environments, packages, or the like

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions