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

npm package resolution hanging forever #184

Open
stabacco opened this issue Oct 10, 2022 · 4 comments
Open

npm package resolution hanging forever #184

stabacco opened this issue Oct 10, 2022 · 4 comments

Comments

@stabacco
Copy link

Looks like the package resolution is currently getting stuck while resolving dependencies

REPRO:

> nvm use 18
Now using node v18.5.0 (npm v8.12.1)
mkdir /tmp/test-graphql-faker-deps
cd  /tmp/test-graphql-faker-deps
npm init 
npm i graphql-faker --verbose

hangs forever for me:

npm timing idealTree:node_modules/graphql-faker Completed in 2ms
npm timing idealTree:node_modules/graphql-faker Completed in 2ms
npm timing idealTree:node_modules/graphql-faker Completed in 2ms
npm timing idealTree:node_modules/graphql-faker Completed in 1ms
npm timing idealTree:node_modules/graphql-faker Completed in 2ms
npm timing idealTree:node_modules/graphql-faker Completed in 2ms
Killed

yarn seems to work fine on the other hand.

Ubuntu 18 through windows WSL2

@alonstar
Copy link

I have the same issue. I'm working on Windows 10

npm v8.19.2
nodeJS v18.12.1

@icaroharry
Copy link

Same issue for me.

It worked fine with yarn.

@lfr
Copy link

lfr commented Apr 18, 2023

has anyone ever found a solution to this problem?

@JavesonYehudi
Copy link

Same issue for me.

It worked fine with yarn.

Thanks a lot @icaroharry, I've just managed to install it using yarn as you mentioned.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

5 participants