Npm install failure

npm install fails on initial mfix setup. Enclosed is the partial log file readout where the failure occurs.

OS: WINDOWS 10 ENTERPRISE
BUILD: 18292
NPM: 6.5.0
NODE: 8.14

13324 silly saveTree   `-- nise@1.3.3
13324 silly saveTree     +-- just-extend@1.1.27
13324 silly saveTree     +-- path-to-regexp@1.7.0
13324 silly saveTree     | `-- isarray@0.0.1
13324 silly saveTree     `-- text-encoding@0.6.4
13325 warn server@1.0.0 No repository field.
13326 verbose stack RangeError: Maximum call stack size exceeded
13326 verbose stack     at RegExp.test (<anonymous>)
13326 verbose stack     at isDepOptional (C:\Users\SPEXP\AppData\Roaming\npm\node_modules\npm\lib\install\deps.js:398:27)
13326 verbose stack     at failedDependency (C:\Users\SPEXP\AppData\Roaming\npm\node_modules\npm\lib\install\deps.js:414:9)
13326 verbose stack     at failedDependency (C:\Users\SPEXP\AppData\Roaming\npm\node_modules\npm\lib\install\deps.js:430:9)
13326 verbose stack     at failedDependency (C:\Users\SPEXP\AppData\Roaming\npm\node_modules\npm\lib\install\deps.js:430:9)
13326 verbose stack     at failedDependency (C:\Users\SPEXP\AppData\Roaming\npm\node_modules\npm\lib\install\deps.js:430:9)
13326 verbose stack     at failedDependency (C:\Users\SPEXP\AppData\Roaming\npm\node_modules\npm\lib\install\deps.js:430:9)
13326 verbose stack     at failedDependency (C:\Users\SPEXP\AppData\Roaming\npm\node_modules\npm\lib\install\deps.js:430:9)
13326 verbose stack     at failedDependency (C:\Users\SPEXP\AppData\Roaming\npm\node_modules\npm\lib\install\deps.js:430:9)
13326 verbose stack     at failedDependency (C:\Users\SPEXP\AppData\Roaming\npm\node_modules\npm\lib\install\deps.js:430:9)
13326 verbose stack     at failedDependency (C:\Users\SPEXP\AppData\Roaming\npm\node_modules\npm\lib\install\deps.js:430:9)
13326 verbose stack     at failedDependency (C:\Users\SPEXP\AppData\Roaming\npm\node_modules\npm\lib\install\deps.js:430:9)
13326 verbose stack     at failedDependency (C:\Users\SPEXP\AppData\Roaming\npm\node_modules\npm\lib\install\deps.js:430:9)
13326 verbose stack     at failedDependency (C:\Users\SPEXP\AppData\Roaming\npm\node_modules\npm\lib\install\deps.js:430:9)
13326 verbose stack     at failedDependency (C:\Users\SPEXP\AppData\Roaming\npm\node_modules\npm\lib\install\deps.js:430:9)
13326 verbose stack     at failedDependency (C:\Users\SPEXP\AppData\Roaming\npm\node_modules\npm\lib\install\deps.js:430:9)
13327 verbose cwd W:\mongoDB\COURSES\190108\0108HANDOUTS\mflix-js
13328 verbose Windows_NT 10.0.18290
13329 verbose argv "C:\\Program Files\\nodejs\\node.exe" "C:\\Users\\SPEXP\\AppData\\Roaming\\npm\\node_modules\\npm\\bin\\npm-cli.js" "i"
13330 verbose node v8.14.1
13331 verbose npm  v6.5.0
13332 error Maximum call stack size exceeded
13333 verbose exit [ 1, true ]

I tried to exec the npm i while using node v8.
installed node v11 and the problem is resolved.

2 Likes