This repository has been archived by the owner on Feb 18, 2021. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 47
Maximum call stack size error #94
Comments
I get the same error. Turns out that node's default stack size is only 984 kB (which seems low to me). By increasing it I got it to work. E.g: npm-shrinkwrap doesn't seem to pass arguments down to node. I don't know if this is something that can be changed in npm-shrinkwrap or if npm is blocking this. It doesn't seem like there is a way to configure node globally, so what you have to do is add a wrapper for node that calls the real node with the added stack_size argument.
Is it possible to make npm-shrinkwrap pass v8 options to node? |
I'm getting the same error, this works for me:
|
Thanks for this. Maybe something could be added into the README for others who experience this issue? |
13 tasks
Sign up for free
to subscribe to this conversation on GitHub.
Already have an account?
Sign in.
I admittedly have a large dependency graph, but a regular
npm shrinkwrap
handles it ok.The text was updated successfully, but these errors were encountered: