You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Aug 11, 2022. It is now read-only.
Invoking an npm command on the 'cli-color' package results in a "Maximum call stack size exceeded".
Node: v4.4.4
npm: v3.9.2
Steps to reproduce:
npm install -g cli-color
change directory to where cli-color is installed
npm uninstall foo
Result: Npm throws the error "Maximum call stack size exceeded"
The error seems to be caused by the cli-color package having circular dependencies, which causes an infinite recursion in the npm code that marks a package and its reqs as failed (node_modules\npm\lib\install\actions.js:54:16) - see attached log file.
Skipping the recursion when the req has already been flagged avoids the error.
I had similar issue - disabling progress actually allowed my install to complete npm set progress=false && rm -rf ~/.npm && rm -rf node_modules && npm install
We're closing this issue as it has gone seven days without activity and without being labeled. If we haven't even labeled in issue in seven days then we're unlikely to ever read it.
If you are still experiencing the issue that led to you opening this or this is a feature request you're still interested in then we encourage you to open a new issue. If this was a support issue, you may be better served by joining package.communty and asking your question there.
For more information about our new issue aging policies and why we've instituted them please see our blog post.
Invoking an npm command on the 'cli-color' package results in a "Maximum call stack size exceeded".
Node: v4.4.4
npm: v3.9.2
Steps to reproduce:
Result: Npm throws the error "Maximum call stack size exceeded"
The error seems to be caused by the cli-color package having circular dependencies, which causes an infinite recursion in the npm code that marks a package and its reqs as failed (node_modules\npm\lib\install\actions.js:54:16) - see attached log file.
Skipping the recursion when the req has already been flagged avoids the error.
npm-debug.zip
The text was updated successfully, but these errors were encountered: