Closed dmitry-yudakov closed 2 years ago
also getting this when installing an older pinned version using yarn add apollo@2.33.7
. Our CI/CD keeps failing since a few hours because of this
I was thinking it might be some peer-peer dependency that received an update, but I'm not seeing any dependencies in the package.json with a ^
:thinking:
It seems the root cause is https://github.com/oclif/oclif/issues/758
I am also experiencing this issue. I have created a blank project with npm init
and I'm just trying to install this package and no matter which version I try to install I get the memory issue.
There is a temporary fix out there for this now, please see https://github.com/oclif/oclif/issues/758#issue-1076987354 for more details.
Update !!!!
The reason is circular dependency in https://github.com/oclif/oclif/issues/758
Original issue
Intended outcome: Successful installation.
Actual outcome: Yarn package manager crash with out of memory exception in clean project. Npm installation goes well.
How to reproduce the issue:
Versions
yarn 1.22.17 apollo-2.33.9 (probably, since it's the latest current at the moment)
The result output of the operation.
I tried installing the peer dependencies and warnings go away but it still crashes.
I'm on Mac, I checked with few colleagues with ubuntu linux but the result is the same in all cases. Increasing the memory for node doesn't help.
I discovered it doing
yarn upgrade
of our project and was able to narrow it down toapollo
package. It was working fine 4 days ago.