Pana / nrm

NPM registry manager, fast switch between different registries: npm, cnpm, nj, taobao
MIT License
2.79k stars 244 forks source link

使用nrm切换到私有源,在npm install之后如果私有源没有的包会直接报错500 #78

Closed chuans closed 3 years ago

chuans commented 3 years ago

使用nrm切换到私有源,在npm install之后如果私有源没有的包会直接报错500 有没有什么方法能够让它在install途中如果私有源里面没有包自动去其他源上下载?比如说taobao image

wing1003 commented 3 years ago

@chuans 可以尝试用我写的小工具 easy-nrm

chuans commented 3 years ago

@chuans 可以尝试用我写的小工具 easy-nrm

ok 我我试试 实在感谢

EmilyMew commented 3 years ago

这个工作一般建议在私有源配置仓库的时候去做,比如在nexus中创建类型为group的仓库,然后将需要的仓库创建为proxy类型之后和自己的私有hosted仓库一并包含在内