electron install failed



  • While I started to install electron using npm install command, I got errors during installation.

    npm ERR! Maximum call stack size exceeded
    npm ERR! Maximum call stack size exceeded
    npm ERR! Maximum call stack size exceeded
    npm ERR! Maximum call stack size exceeded
    npm ERR! Maximum call stack size exceeded
    npm ERR! Maximum call stack size exceeded
    npm ERR! Maximum call stack size exceeded
    npm ERR! Maximum call stack size exceeded

    and error log listed below
    34792 silly gunzTarPerm extractEntry array/#/e-index-of.js
    34793 silly gunzTarPerm modified mode [ ‘array/#/e-index-of.js’, 438, 420 ]
    34794 silly gunzTarPerm extractEntry array/#/last-index.js
    34795 silly gunzTarPerm modified mode [ ‘array/#/last-index.js’, 438, 420 ]
    34796 silly gunzTarPerm extractEntry lib/closure-library/closure/goog/demos/emoji/2D0.gif
    34797 silly gunzTarPerm extractEntry lib/closure-library/closure/goog/demos/emoji/2D1.gif
    34798 silly gunzTarPerm extractEntry fn/regexp/replace.js
    34799 silly gunzTarPerm extractEntry fn/regexp/search.js
    34800 silly gunzTarPerm extractEntry array/#/diff.js
    34801 silly gunzTarPerm modified mode [ ‘array/#/diff.js’, 438, 420 ]
    34802 silly gunzTarPerm extractEntry array/#/last.js
    34803 silly gunzTarPerm modified mode [ ‘array/#/last.js’, 438, 420 ]
    34804 silly gunzTarPerm extractEntry lib/closure-library/closure/goog/demos/emoji/2D2.gif
    34805 silly gunzTarPerm extractEntry lib/closure-library/closure/goog/demos/emoji/2D3.gif
    34806 silly gunzTarPerm extractEntry fn/regexp/split.js
    34807 silly gunzTarPerm extractEntry fn/regexp/to-string.js
    34808 verbose stack RangeError: Maximum call stack size exceeded
    34808 verbose stack at Array.filter (native)
    34808 verbose stack at /usr/local/lib/node_modules/npm/lib/install/actions.js:72:37
    34808 verbose stack at Array.forEach (native)
    34808 verbose stack at markAsFailed (/usr/local/lib/node_modules/npm/lib/install/actions.js:71:16)
    34808 verbose stack at /usr/local/lib/node_modules/npm/lib/install/actions.js:74:7
    34808 verbose stack at Array.forEach (native)
    34808 verbose stack at markAsFailed (/usr/local/lib/node_modules/npm/lib/install/actions.js:71:16)
    34808 verbose stack at /usr/local/lib/node_modules/npm/lib/install/actions.js:74:7
    34808 verbose stack at Array.forEach (native)
    34808 verbose stack at markAsFailed (/usr/local/lib/node_modules/npm/lib/install/actions.js:71:16)
    34808 verbose stack at /usr/local/lib/node_modules/npm/lib/install/actions.js:74:7
    34808 verbose stack at Array.forEach (native)
    34808 verbose stack at markAsFailed (/usr/local/lib/node_modules/npm/lib/install/actions.js:71:16)
    34808 verbose stack at /usr/local/lib/node_modules/npm/lib/install/actions.js:74:7
    34808 verbose stack at Array.forEach (native)
    34808 verbose stack at markAsFailed (/usr/local/lib/node_modules/npm/lib/install/actions.js:71:16)
    34809 verbose cwd /Volumes/Data/workspaces/vue/temp/quasar_test1/electron
    34810 verbose Darwin 16.5.0
    34811 verbose argv “/usr/local/bin/node” “/usr/local/bin/npm” "i"
    34812 verbose node v7.10.0
    34813 verbose npm v4.6.1
    34814 error Maximum call stack size exceeded
    34815 verbose exit [ 1, true ]

    tried multiple times and reinstalled npm with all the same result
    any idea what was wrong?



  • Can you show the NodeJS and NPM versions?

    And wich command did you tried?



  • It seems npm version issue.
    I accidentally installed the latest version of npm which caused the issue.
    In the latest version of npm I tried to clean cache and reinstall node_modules. (all under macOS)
    All appears the same issue.
    I also tried under windows, the issue does not exist.
    After I downgrade npm to 4.5.0 everything works just fine.
    Thanks for reply.


Log in to reply
 

Looks like your connection to Quasar Framework was lost, please wait while we try to reconnect.