npm link: Unhandled rejection RangeError: Maximum call stack size exceeded


(Andrew Miller) #1

What I Wanted to Do

npm link

What Happened Instead

npm ERR! cb() never called!

Reproduction Steps

  1. In each babel package repo:
    npm link <babel dependencies>
    npm link

Details

$ npm link
$ npm link
Unhandled rejection RangeError: Maximum call stack size exceededill install loadIdealTree
    at /home/andrew/builds/npm-cli/node_modules/aproba/index.js:38:16
    at Array.forEach (<anonymous>)
    at module.exports (/home/andrew/builds/npm-cli/node_modules/aproba/index.js:33:11)
    at flatNameFromTree (/home/andrew/builds/npm-cli/lib/install/flatten-tree.js:37:3)
    at flatNameFromTree (/home/andrew/builds/npm-cli/lib/install/flatten-tree.js:39:14)
    at flatNameFromTree (/home/andrew/builds/npm-cli/lib/install/flatten-tree.js:39:14)
    at flatNameFromTree (/home/andrew/builds/npm-cli/lib/install/flatten-tree.js:39:14)
    at flatNameFromTree (/home/andrew/builds/npm-cli/lib/install/flatten-tree.js:39:14)
    at flatNameFromTree (/home/andrew/builds/npm-cli/lib/install/flatten-tree.js:39:14)
    at flatNameFromTree (/home/andrew/builds/npm-cli/lib/install/flatten-tree.js:39:14)
    at flatNameFromTree (/home/andrew/builds/npm-cli/lib/install/flatten-tree.js:39:14)
    at flatNameFromTree (/home/andrew/builds/npm-cli/lib/install/flatten-tree.js:39:14)
    at flatNameFromTree (/home/andrew/builds/npm-cli/lib/install/flatten-tree.js:39:14)
    at flatNameFromTree (/home/andrew/builds/npm-cli/lib/install/flatten-tree.js:39:14)
    at flatNameFromTree (/home/andrew/builds/npm-cli/lib/install/flatten-tree.js:39:14)
    at flatNameFromTree (/home/andrew/builds/npm-cli/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:
npm ERR!     <https://npm.community>

npm ERR! A complete log of this run can be found in:
npm ERR!     /home/andrew/.npm/_logs/2018-11-26T00_40_08_490Z-debug.log

2018-11-26T00_40_08_490Z-debug.log (1.0 KB)

Platform Info

$ npm --versions
{ '@babel/traverse': '7.1.6',
  npm: '6.4.1',
  ares: '1.15.0',
  cldr: '34.0',
  http_parser: '2.8.0',
  icu: '63.1',
  modules: '67',
  napi: '3',
  nghttp2: '1.34.0',
  node: '11.2.0',
  openssl: '1.1.0i',
  tz: '2018e',
  unicode: '11.0',
  uv: '1.23.2',
  v8: '7.0.276.38-node.11',
  zlib: '1.2.11' }
$ node -p process.platform
linux

(John Gee) #2

Similar stack described for npm install here: this is a problem what i can't solve it!!!