2016-07-06 129 views
0

獲得以下錯誤的詹金斯..任何幫助npm err!取詹金斯失敗?

npm ERR! fetch failed https://registry.npmjs.org/cookie-signature/-/cookie-signature-1.0.5.tgz npm WARN retry will retry, error on last attempt: Error: fetch failed with status code 502 npm ERR! fetch failed https://registry.npmjs.org/uid-safe/-/uid-safe-1.0.1.tgz npm WARN retry will retry, error on last attempt: Error: fetch failed with status code 502

回答

0

東西了的版本1.0.5的CDN託管。您可以使用cookie簽名強制依賴項要求1.0.6。快遞是依賴於此模塊,您將能夠解決問題,如下所示:

"express": { 
    "version": "~4.9.0", 
    "from": "[email protected]~4.9.0", 
     "dependencies": { 
      "cookie-signature": { 
      "version": "1.0.6", 
      "from": "[email protected]" 
     } 
    } 
},