npm Community Forum (Archive)

The npm community forum has been discontinued.

To discuss usage of npm, visit the GitHub Support Community.

npm install 出现错误

Unhandled rejection RangeError: Maximum call stack size exceeded
at schemas.forEach.schema (C:\Program Files\nodejs\node_modules\npm\node_modules\aproba\index.js:39:16)
at Array.forEach ()
at validate (C:\Program Files\nodejs\node_modules\npm\node_modules\aproba\index.js:34:11)
at flatNameFromTree (C:\Program Files\nodejs\node_modules\npm\lib\install\flatten-tree.js:37:3)
at flatNameFromTree (C:\Program Files\nodejs\node_modules\npm\lib\install\flatten-tree.js:39:14)
at flatNameFromTree (C:\Program Files\nodejs\node_modules\npm\lib\install\flatten-tree.js:39:14)
at flatNameFromTree (C:\Program Files\nodejs\node_modules\npm\lib\install\flatten-tree.js:39:14)
at flatNameFromTree (C:\Program Files\nodejs\node_modules\npm\lib\install\flatten-tree.js:39:14)
at flatNameFromTree (C:\Program Files\nodejs\node_modules\npm\lib\install\flatten-tree.js:39:14)
at flatNameFromTree (C:\Program Files\nodejs\node_modules\npm\lib\install\flatten-tree.js:39:14)
at flatNameFromTree (C:\Program Files\nodejs\node_modules\npm\lib\install\flatten-tree.js:39:14)
at flatNameFromTree (C:\Program Files\nodejs\node_modules\npm\lib\install\flatten-tree.js:39:14)
at flatNameFromTree (C:\Program Files\nodejs\node_modules\npm\lib\install\flatten-tree.js:39:14)
at flatNameFromTree (C:\Program Files\nodejs\node_modules\npm\lib\install\flatten-tree.js:39:14)
at flatNameFromTree (C:\Program Files\nodejs\node_modules\npm\lib\install\flatten-tree.js:39:14)
at flatNameFromTree (C:\Program Files\nodejs\node_modules\npm\lib\install\flatten-tree.js:39:14)
npm ERR! cb() never called!

npm ERR! This is an error with npm itself. Please report this error at:


(There is a template to follow for #bugs wit additional information. Moved to #support which is more freeform.)

What command were you running?