Npm and Nuget migration

classic Classic list List threaded Threaded
3 messages Options
Reply | Threaded
Open this post in threaded view
|

Npm and Nuget migration

phanidhar
Hello team,

I have once query regarding npm amd nuget when we are migrating from one server url to another server url we need to set the url for npm and nuget once again.

example :

server url :http://abc.com/artifactory

npm config set registry http://abc.com/artifactory/api/npm/npm-repo -->primary server url before migration

changing to new url http://xyz.com/artifactory

so we  need gain to this as mentioned below

npm config set registry http://xyz/artifactory/api/npm/npm-repo-->we need to change to this

Thanks in advance
Reply | Threaded
Open this post in threaded view
|

Re: Npm and Nuget migration

omar
Hello, to solve your issue you must change your nuget.config, by following the instructions here: Nuget Command Line as well as your .npmrc by following the instructions here: Npm Command Line. Is this what you meant?

Best Regards,
Omar
Reply | Threaded
Open this post in threaded view
|

Re: Npm and Nuget migration

phanidhar
Hello Omar,

Thanks for your reply

thats what i am asking whther we need to change the configuartion form command line i am we need to set the config which i have mentioned in the previous post.

i need a clarity on this