Running npm install on Linux with Node v6.9.1 results in a ‘maximum call stack exceeded’ issue. Details:
Error: Stack overflow occurred
at logEvent (/usr/local/lib/npmHelper.js:45:15)
at executeTask (/usr/local/lib/npmRunner.js:30:10)
Running npm install on Linux with Node v6.9.1 results in a ‘maximum call stack exceeded’ issue. Details:
Error: Stack overflow occurred
at logEvent (/usr/local/lib/npmHelper.js:45:15)
at executeTask (/usr/local/lib/npmRunner.js:30:10)
hey try clearing npm cache or updating node. i had similar issu with old node versions and a massive dependency tree that resulted in call stak problems. hope this helps
I encountered a similar issue in an older project. In my case, the error was linked to a specific dependency that was built using recursive functions incompatible with the node version. I solved it by reviewing the dependency updates and creating a workaround until I could patch the module. While using the latest node versions eventually became the solution, in the meantime, checking which package was causing deep recursive calls helped me pinpoint the source of the error.