2016-08-16 145 views
-1

我已經通過編寫命令「npm install -g [email protected]」更新了。 但仍顯示---- NPM WARN棄用[email protected]:請升級到3.0.2 minimatch或更高,以避免正則表達式的DoS問題npm install -g [email protected]

+0

我是如何解決它的。那裏有專家? – Khairul

+0

重複的https://stackoverflow.com/questions/38046392/npm-warn-deprecated-minimatch2-0-10-please-update-to-minimatch-3-0-2-or-higher/38077214 'npm install -g npm @ 3' 'npm install -g minimatch @ 3.0.2' –

回答

1

我猜你有另一包是包括minmatch @ 2.0.10作爲依賴項。如果你運行npm ls minmatch那麼它會告訴你哪些包叫這個。

相關問題