npm Community Forum (Archive)

The npm community forum has been discontinued.

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

npm i: RangeError: Maximum call stack size exceeded

What I Wanted to Do

npm i install all packages with fresh git clone project. E.i. empty node_modules folder.

What Happened Instead

RangeError: Maximum call stack size exceeded

Reproduction Steps

Unfortunately the repo is private and I’m not allowed to share the code. But I will post the error log, package-lock.json and package.json here.


2019-05-23T15_18_30_255Z-debug.log (693.2 KB)

package.json (1.3 KB)

package-lock.json (228.8 KB)

Platform Info

$ npm --versions
{ 'webviewer-core': '3.0.0',
  npm: '6.9.0',
  ares: '1.15.0',
  cldr: '33.1',
  http_parser: '2.8.0',
  icu: '62.1',
  modules: '64',
  napi: '3',
  nghttp2: '1.34.0',
  node: '10.15.3',
  openssl: '1.1.0j',
  tz: '2018e',
  unicode: '11.0',
  uv: '1.23.2',
  v8: '',
  zlib: '1.2.11' }

$ node -p process.platform

$ lsb_releases -a
Distributor ID: Ubuntu
Description:    Ubuntu 18.04.2 LTS
Release:        18.04
Codename:       bionic

OS: Ubuntu bash on Windows (Windows Subsystem for Linux) Microsoft Windows [Version 10.0.17763.503]

Related bug reports

  1. Always Reproducible "Maximum call stack size exceeded" npm install error
  2. npm install: Unhandled rejection RangeError: Maximum call stack size exceeded
  3. [crash] npm ERR! cb() never called!
  4. NPM install webpack fails when no git installed