搜尋

首頁  >  問答  >  主體

laravel - npm 錯誤!超出最大呼叫堆疊大小

依照文件使用Laravel Elixir,https://laravel.com/docs/mast...

當執行 npm install --no-bin-links時,出現以下錯誤:

    $ npm install --no-bin-links
    npm WARN deprecated graceful-fs@3.0.8: graceful-fs v3.0.0 and before will fail o                                 n node releases >= v7.0. Please update to graceful-fs@^4.0.0 as soon as possible                                 . Use 'npm ls graceful-fs' to find it in the tree.
    npm WARN deprecated minimatch@2.0.10: Please update to minimatch 3.0.2 or higher                                  to avoid a RegExp DoS issue
    npm WARN deprecated minimatch@0.2.14: Please update to minimatch 3.0.2 or higher                                  to avoid a RegExp DoS issue
    npm WARN deprecated lodash@1.0.2: lodash@<3.0.0 is no longer maintained. Upgrade                                  to lodash@^4.0.0.
    npm WARN deprecated graceful-fs@1.2.3: graceful-fs v3.0.0 and before will fail o                                 n node releases >= v7.0. Please update to graceful-fs@^4.0.0 as soon as possible                                 . Use 'npm ls graceful-fs' to find it in the tree.
    npm ERR! Windows_NT 10.0.14393
    npm ERR! argv "C:\Program Files\nodejs\node.exe" "C:\Users\dell\AppData\Roaming\npm\node_modules\npm\bin\npm-cli.js" "install" "--no-bin-links"
    npm ERR! node v6.3.1
    npm ERR! npm  v3.10.5
    
    npm ERR! Maximum call stack size exceeded
    npm ERR!
    npm ERR! If you need help, you may report this error at:
    npm ERR!     <https://github.com/npm/npm/issues>
    
    npm ERR! Please include the following file with any support request:
    npm ERR!     D:\wnmp\www\laravel-5-3-demo\npm-debug.log

表示什麼意思,需要怎麼做?

仅有的幸福仅有的幸福2751 天前1443

全部回覆(2)我來回復

  • PHPz

    PHPz2017-05-16 16:53:55

    這裡看看

    我大致掃了一眼,你試試再輸入下這個命令,不行,再試 npm install,如果還報錯,google吧,裡面說用舊版本的npm能解決,沒試過。

    回覆
    0
  • 为情所困

    为情所困2017-05-16 16:53:55

    我也遇到了 樓主咋解決

    回覆
    0
  • 取消回覆