[BUG] `npm install` started to hang on "still idealTree buildDeps" for 60 seconds if there are dependencies pointing to specific gitlab repository url (a regres
### Is there an existing issue for this? - [X] I have searched the existing issues See https://github.com/npm/cli/issues/1991#issuecomment-853984404 ### Current Behavior `npm install` in a fresh project with an explicit `git+ssh` dependency on a gitlab repo ([minimal example](https://gitlab.com/klesun/npm-seven-issue)) takes 60+ seconds, seemingly it waits for some random network timeout before proceeding the installation. ### Expected Behavior `npm install` should take 2-3 seconds to install dependencies of the project in [minimal example](https://gitlab.com/klesun/npm-seven-issue) like it did in npm `v6`. ### Steps To Reproduce See https://gitlab.com/klesun/npm-seven-issue I reproduced this hang in `Ubuntu 20.04` with npm `7.15.1` as well as `MacBook Pro 2019` with npm `7.15.1` ```bash git clone https://gitlab.com/klesun/npm-seven-issue.git cd npm-seven-issue npm install ``` <sub>package.json</sub> ```json { "name": "npm-seven-issue", "version": "0.0.1", "devDependencies": { "npm-seven-issue-dep": "git+ssh://git@gitlab.com/klesun/npm-seven-issue-dep#5f1b313978986974d4364585e6bd3689276f1697" } } ``` If you are using `npm` version prior to `v7.x`, for example `v6.14.13`, `npm install` should be done within 2-3 seconds. If you are using `npm` version `v7.0.0` or later, for example `7.15.1`, `npm install` will hang for 60+ seconds with following text: ``` [....................] \ idealTree.pql-box: still idealTree buildDeps ``` Note, you need to remove
Posted by klesun on Jun 3, 2021, 4:51 PM
Tags
Related issues
- YouTube is blocking GIF comments from desktop (since 14 October 2026). Help wanted.
- > especially if given a few seconds of buffer.
- Claude Code does not respect the XDG Base Directory specification
- Most b2b gear will play well with a proxy server, and that will allow you to explicitly mitm everything going to the internet.
- "load metadata for" during docker pull hangs for about 10-20 seconds
Raise real-world problems, find people facing the same issue, and discuss solutions.3,000 issues0 comments
onboarding (Network)
YouTube is blocking GIF comments from desktop (since 14 October 2026). Help wanted.
> especially if given a few seconds of buffer.
Claude Code does not respect the XDG Base Directory specification
Most b2b gear will play well with a proxy server, and that will allow you to explicitly mitm everything going to the internet.
[BUG] `npm install` started to hang on "still idealTree buildDeps" for 60 seconds if there are dependencies pointing to specific gitlab repository url (a regres
"load metadata for" during docker pull hangs for about 10-20 seconds
[BUG] `npm install` started to hang on "still idealTree buildDeps" for 60 seconds if there are dependencies pointing to specific gitlab repository url (a regres
### Is there an existing issue for this? - [X] I have searched the existing issues See https://github.com/npm/cli/issues/1991#issuecomment-853984404 ### Current Behavior `npm install` in a fresh project with an explicit `git+ssh` dependency on a gitlab repo ([minimal example](https://gitlab.com/klesun/npm-seven-issue)) takes 60+ seconds, seemingly it waits for some random network timeout before proceeding the installation. ### Expected Behavior `npm install` should take 2-3 seconds to install dependencies of the project in [minimal example](https://gitlab.com/klesun/npm-seven-issue) like it did in npm `v6`. ### Steps To Reproduce See https://gitlab.com/klesun/npm-seven-issue I reproduced this hang in `Ubuntu 20.04` with npm `7.15.1` as well as `MacBook Pro 2019` with npm `7.15.1` ```bash git clone https://gitlab.com/klesun/npm-seven-issue.git cd npm-seven-issue npm install ``` <sub>package.json</sub> ```json { "name": "npm-seven-issue", "version": "0.0.1", "devDependencies": { "npm-seven-issue-dep": "git+ssh://git@gitlab.com/klesun/npm-seven-issue-dep#5f1b313978986974d4364585e6bd3689276f1697" } } ``` If you are using `npm` version prior to `v7.x`, for example `v6.14.13`, `npm install` should be done within 2-3 seconds. If you are using `npm` version `v7.0.0` or later, for example `7.15.1`, `npm install` will hang for 60+ seconds with following text: ``` [....................] \ idealTree.pql-box: still idealTree buildDeps ``` Note, you need to remove
Comments (0)
No comments yet. Start the discussion.