bower 安装依赖提示 EINVRES Request to https://bower.herokuapp.com/packages/xxx failed with 502

出错提示
EINVRES Request to https://bower.herokuapp.com/packages/chai failed with 502
访问 https://bower.herokuapp.com/ 页面提示
This Bower version is deprecated. Please update it: npm install -g bower. The new registry address is https://registry.bower.io
你需要更新bower
原文地址:https://www.cnblogs.com/Koming/p/9809308.html