Open newsgrep opened 2 months ago
Hey @newsgrep, thanks for creating this issue. Does this issue happen outside a docker environment? When you say you have 14 GB of RAM free, does that mean for your machine or the memory you've allocated for your docker container? I'm not sure what the issue is but here's a few things you can try:
npm cache clean --force
--memory
flag--max-old-space-size
flag: https://nodejs.org/api/cli.html#--max-old-space-sizesize-in-megabytesLet me know if this doesn't resolve the issue, I can create a ticket in our backlog for this work.
I useed Linux native with npm 10.8.3 node 22.8.0. And also Docker with node:18-alpine and node:20-alpine and I have > 14GB RAM free. I always get the same error, any hints how to processed?:
$ sudo npm install -g @commerce-apps/raml-toolkit@0.5.12; node --trace-deprecation /usr/local/bin/raml-toolkit diff --log-level=debug /tmp/old.raml /tmp/new -f console