1.先设置npm包的源为私有库
npm config set registry http://192.168.26.59:7931/repository/cs-npm/
2.①本地注册 hosted 仓库
npm adduser --registry= http://192.168.26.59:7931/repository/cs-npm/
②输入用户名密码和邮箱,效果如下
3 npm install
4 npm install lifesci-ui
1.先设置npm包的源为私有库
npm config set registry http://192.168.26.59:7931/repository/cs-npm/
2.①本地注册 hosted 仓库
npm adduser --registry= http://192.168.26.59:7931/repository/cs-npm/
②输入用户名密码和邮箱,效果如下
3 npm install
4 npm install lifesci-ui
本文标题:项目下载 Nexus 私有库管理的 npm 包
本文链接:https://www.haomeiwen.com/subject/jowhrdtx.html
网友评论