Hi !
I'm working on a rails/graphql server generator and at the same time on a front-end typescript generator (with react).
This morning I wanted to make the installation of @graphql-codegen/cli automatic and I noticed that in this installation there was an infinite loop.
I tested manually in a new repository the installation of this package, and I have an infinite loop on this line
❰vincent❙~/test-front❱✔≻ npm install --save-dev @graphql-codegen/cli
npm WARN deprecated [email protected]: request has been deprecated, see https://github.com/request/request/issues/3142
npm WARN deprecated [email protected]: this library is no longer supported
> [email protected] install /Users/vincent/test-front/node_modules/bufferutil
> node-gyp-build
When i retry to install this package with npm install --save-dev @graphql-codegen/cli it works.
So, i'm working on this issue, and I saw that when I restart the installation, the modified files are only: package.json and package-lock.json


I didn't try to restart my computer, but it was to report my bug while waiting to work on it.
My setup:
macOs Catalina version 10.15.7 (19H2)
npm 6.14.8
Thank's
@vcheloudiakoff I don't think it's coming from codegen or it's deps. Codegen itself doesn't run or build anything native as far as I know.
Please share a reproduction of that issue.
after restarting my computer, it works !
I don't know if there is a way to reproduce that issue, so i think that this post can be closed.
Thanks
Most helpful comment
after restarting my computer, it works !
I don't know if there is a way to reproduce that issue, so i think that this post can be closed.
Thanks