Skip to content

If I don't specify a locale on sync, I get an error #32

@joelvarty

Description

@joelvarty

agility sync --sourceGuid="abc" --targetGuid="xyz"

Expected:

  • Arg exception telling me to include locale or locales

Result:

TypeError [ERR_INVALID_ARG_TYPE]: The "path" argument must be of type string. Received undefined
    at Object.join (node:path:1268:7)
    at new fileOperations (/Users/joelvarty/.nvm/versions/node/v22.14.0/lib/node_modules/@agility/cli/dist/core/fileOperations.js:109:35)
    at new Sync (/Users/joelvarty/.nvm/versions/node/v22.14.0/lib/node_modules/@agility/cli/dist/core/sync.js:90:24)
    at Object.<anonymous> (/Users/joelvarty/.nvm/versions/node/v22.14.0/lib/node_modules/@agility/cli/dist/index.js:357:41)
    at step (/Users/joelvarty/.nvm/versions/node/v22.14.0/lib/node_modules/@agility/cli/dist/index.js:78:23)
    at Object.next (/Users/joelvarty/.nvm/versions/node/v22.14.0/lib/node_modules/@agility/cli/dist/index.js:59:53)
    at fulfilled (/Users/joelvarty/.nvm/versions/node/v22.14.0/lib/node_modules/@agility/cli/dist/index.js:50:58)
    at process.processTicksAndRejections (node:internal/process/task_queues:105:5) {
  code: 'ERR_INVALID_ARG_TYPE'
}
node:internal/process/promises:394
    triggerUncaughtException(err, true /* fromPromise */);

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No fields configured for Bug.

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions