Answer the question
In order to leave comments, you need to log in
What is the command line swearing at?
I need to transfer artifacts from one artifactory (on jfrog) to another (on Nexus) for this I use https://www.npmjs.com/package/npm-migrate
const migrate = require('npm-migrate')
const moduleName = 'my-private-module'
const from = 'http://your-old.private-registry.com:8080'
const to = 'http://nice-new.private-registry.org:8080'
// optional
const options = {
debug: false // default
}
migrate(moduleName, from, to, options)
.then((migrated) => console.log(migrated)) // list of migrated packages
.catch((err) => console.error(err))
ParserError:
Line |
12 | migrate(moduleName, from, to, options)
| ~
| Missing argument in parameter list.
Answer the question
In order to leave comments, you need to log in
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question