Node Heap Allocation Issue
I don't know why this keeps happening but sometimes when I try to build I get an out of memory issue. I tried giving node 16gb but it just took all of it and threw out of memory again. So I assume this is a memory leak when I run tsc. I dont know why somtimes it worked and other times not but now its not working anymore and I have no clue why or how to fix it. ChatGPT just says well give it more memory. Has anybody an idea? Here is my package.json and tsconfig: (I never had this before and my tsc works fine with other projects)
Solution:Jump to solution
cant really follow on the discussion there but fixed it for now using
pnpm update
. I guess some lib was outdated with that bug8 Replies
Solution
cant really follow on the discussion there but fixed it for now using
pnpm update
. I guess some lib was outdated with that bugyes it is 👍
thx though
@sapphire/shapeshift -> @discordjs/builders -> discord.js
it's a transitive dependency