Monday, 21 May 2018

[Help] How to pass node flag to global npm package

I'm running a global npm package via CLI that is running out of memory, but I can't figure out how to pass the --max-old-space-size flag to it. All examples I could find use the node command, and just adding it after gives me an unknown option error. Is there a way to do this?

Submitted May 21, 2018 at 08:10PM by ouralarmclock

No comments:

Post a Comment