graphql-kit / graphql-faker

🎲 Mock or extend your GraphQL API with faked data. No coding required.
MIT License
2.69k stars 225 forks source link

npm package resolution hanging forever #184

Open stabacco opened 2 years ago

stabacco commented 2 years ago

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 commented 1 year ago

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

npm v8.19.2 nodeJS v18.12.1

icaroharry commented 1 year ago

Same issue for me.

It worked fine with yarn.

lfr commented 1 year ago

has anyone ever found a solution to this problem?

JavesonYehudi commented 1 year ago

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.