graphql-faker icon indicating copy to clipboard operation
graphql-faker copied to clipboard

npm package resolution hanging forever

Open stabacco opened this issue 2 years ago • 4 comments

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

stabacco avatar Oct 10 '22 03:10 stabacco

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

npm v8.19.2 nodeJS v18.12.1

alonstar avatar Dec 29 '22 09:12 alonstar

Same issue for me.

It worked fine with yarn.

icaroharry avatar Jan 05 '23 18:01 icaroharry

has anyone ever found a solution to this problem?

lfr avatar Apr 18 '23 08:04 lfr

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.

JavesonYehudi avatar Jun 21 '23 09:06 JavesonYehudi