adobe/aio-tvm

OOM errors during npm install on node-16

Closed this issue · 3 comments

Right now we don't deploy it with node-16 I believe but we need to investigate why this is occurring in case we need to upgrade to node-16.

See the node-16 failures on the commits from Jun 2022 to Nov 2022: https://github.com/adobe/aio-tvm/commits/master?since=2022-06-01

Looks like it is redoc-cli causing an infinite recursion when installing peer deps (peer deps are installed by default in npm >=7). Try:

mkdir test-peer-deps
cd test-peer-deps
npm init -y
npm install redoc-cli@^0.9.2

using the flag --legacy-peer-deps does not cause the OOM issue.

Fixed via #66 (update redoc-cli)