npm install报错npm install --save redux @tarojs/redux @tarojs/redux-h5 redux-thunk redux-logger



  • 新手上路,在跟着教程走。集成redux时出了点问题,请大佬帮忙解答
    npm ERR! Maximum call stack size exceeded

    npm ERR! A complete log of this run can be found in:
    npm ERR! /Users/mac/.npm/_logs/2020-04-15T03_43_48_096Z-debug.log

    log日志:0 info it worked if it ends with ok
    1 verbose cli [
    1 verbose cli '/Users/mac/.nvm/versions/node/v13.12.0/bin/node',
    1 verbose cli '/Users/mac/.nvm/versions/node/v13.12.0/bin/npm',
    1 verbose cli 'install'
    1 verbose cli ]
    2 info using npm@6.14.4
    3 info using node@v13.12.0
    4 verbose npm-session 65d2d38ca499b260
    5 silly install runPreinstallTopLevelLifecycles
    6 silly preinstall newTaro@1.0.0
    7 info lifecycle newTaro@1.0.0~preinstall: newTaro@1.0.0
    8 silly install loadCurrentTree
    9 silly install readLocalPackageData
    10 timing stage:loadCurrentTree Completed in 4183ms
    11 silly install loadIdealTree
    12 silly install cloneCurrentTreeToIdealTree
    13 timing stage:loadIdealTree:cloneCurrentTree Completed in 52ms
    14 silly install loadShrinkwrap
    15 verbose stack RangeError: Maximum call stack size exceeded
    15 verbose stack at /Users/mac/.nvm/versions/node/v13.12.0/lib/node_modules/npm/node_modules/aproba/index.js:39:16
    15 verbose stack at Array.forEach (<anonymous>)
    15 verbose stack at validate (/Users/mac/.nvm/versions/node/v13.12.0/lib/node_modules/npm/node_modules/aproba/index.js:34:11)
    15 verbose stack at flatNameFromTree (/Users/mac/.nvm/versions/node/v13.12.0/lib/node_modules/npm/lib/install/flatten-tree.js:37:3)
    15 verbose stack at flatNameFromTree (/Users/mac/.nvm/versions/node/v13.12.0/lib/node_modules/npm/lib/install/flatten-tree.js:39:14)
    15 verbose stack at flatNameFromTree (/Users/mac/.nvm/versions/node/v13.12.0/lib/node_modules/npm/lib/install/flatten-tree.js:39:14)
    15 verbose stack at flatNameFromTree (/Users/mac/.nvm/versions/node/v13.12.0/lib/node_modules/npm/lib/install/flatten-tree.js:39:14)
    15 verbose stack at flatNameFromTree (/Users/mac/.nvm/versions/node/v13.12.0/lib/node_modules/npm/lib/install/flatten-tree.js:39:14)
    15 verbose stack at flatNameFromTree (/Users/mac/.nvm/versions/node/v13.12.0/lib/node_modules/npm/lib/install/flatten-tree.js:39:14)
    15 verbose stack at flatNameFromTree (/Users/mac/.nvm/versions/node/v13.12.0/lib/node_modules/npm/lib/install/flatten-tree.js:39:14)
    15 verbose stack at flatNameFromTree (/Users/mac/.nvm/versions/node/v13.12.0/lib/node_modules/npm/lib/install/flatten-tree.js:39:14)
    15 verbose stack at flatNameFromTree (/Users/mac/.nvm/versions/node/v13.12.0/lib/node_modules/npm/lib/install/flatten-tree.js:39:14)
    15 verbose stack at flatNameFromTree (/Users/mac/.nvm/versions/node/v13.12.0/lib/node_modules/npm/lib/install/flatten-tree.js:39:14)
    15 verbose stack at flatNameFromTree (/Users/mac/.nvm/versions/node/v13.12.0/lib/node_modules/npm/lib/install/flatten-tree.js:39:14)
    15 verbose stack at flatNameFromTree (/Users/mac/.nvm/versions/node/v13.12.0/lib/node_modules/npm/lib/install/flatten-tree.js:39:14)
    15 verbose stack at flatNameFromTree (/Users/mac/.nvm/versions/node/v13.12.0/lib/node_modules/npm/lib/install/flatten-tree.js:39:14)
    16 verbose cwd /Users/mac/Desktop/wxlearn/tarotest/newTaro
    17 verbose Darwin 19.4.0
    18 verbose argv "/Users/mac/.nvm/versions/node/v13.12.0/bin/node" "/Users/mac/.nvm/versions/node/v13.12.0/bin/npm" "install"
    19 verbose node v13.12.0
    20 verbose npm v6.14.4
    21 error Maximum call stack size exceeded
    22 verbose exit [ 1, true ]


登录后回复