2017-07-31 137 views
0

的當我運行sudo npm install -g artillery它提供了以下錯誤:安裝NPM模塊火炮

npm WARN deprecated [email protected]: Please update to minimatch 3.0.2 or higher to avoid a RegExp DoS issue 
/home/newgen/.npm-global/bin/artillery -> /home/newgen/.npm-global/lib/node_modules/artillery/bin/artillery 
/home/newgen/.npm-global/lib 
`-- [email protected] 

然後,如果我跑artillery它表明:

artillery: command not found 

我該如何解決這個問題。

回答

0

試試這個:npm i [email protected] -S。這樣你就可以指定npm來安裝炮兵的最新版本。

+0

它仍然沒有工作,顯示相同的錯誤。善意幫助 –