nodemon安装毛病“没有可用的有效版本可供超时
这个毛病通常是由于网络连接问题致使的,尝试以下解决方法:
npm install -g cnpm --registry=https://registry.npm.taobao.org
cnpm install -g nodemon
npm config set proxy http://proxy.example.com:8080
npm config set https-proxy http://proxy.example.com:8080
如果以上方法依然没法解决问题,你可以尝试使用其他的 npm 包管理工具,例如 yarn,还是尝试在其他网络环境中安装。
TOP