Pana / nrm

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

nrm use not work #39

Open coldfannn opened 6 years ago

coldfannn commented 6 years ago

installed yarn@1.7.0, npm@6.1.0, cnpm@5.1.1 all with registry http://registry.npm.taobao.org

trigger nrm use or addon sudo, however, it doesn't work

any clue for me, plz?

coldfannn commented 6 years ago
2018-07-20 5 07 59
coldfannn commented 6 years ago

seems like a yarn problem yarn set registry to it's own

sixiakun commented 5 years ago

@coldfannn so, have your problem resolved? i have this problem ,too

coldfannn commented 5 years ago

@sixiakun use brew install yarn instead of npm seems work. dont know why yet

sixiakun commented 5 years ago

@coldfannn Alright

coldfannn commented 5 years ago

@sixiakun got the problem, when set registry in your .npmrc, nrm can't switch to any of it's own

alanhe421 commented 5 years ago

when I use Taobao registry image I have delete lock file , I rerun npm install image

why URL is cnpmjs, nrm use not work?

EmilyMew commented 5 years ago

when I use Taobao registry

I have delete lock file , I rerun npm install

why URL is cnpmjs, nrm use not work?

Did you tried running npm cache clean --force first? This maybe caused by caches.

xosg commented 4 years ago

cause there exists a .npmrc file preventing us from switching registries。。。

jackywq commented 4 years ago

cause there exists a .npmrc file preventing us from switching registries。。。

thanks, you are right, my problem has solved!

giserman001 commented 4 years ago

cause there exists a .npmrc file preventing us from switching registries。。。

thanks, you are right, my problem has solved!

How did you modify the .npmrc ?

giserman001 commented 4 years ago

cause there exists a .npmrc file preventing us from switching registries。。。

thanks, you are right, my problem has solved!

How did you modify the .npmrc ? I know the