CodingButter-LLC / directus-migrator

A cli tool for migrating directus environments
MIT License
56 stars 15 forks source link

Error: Unknown scheme #16

Closed notflip closed 1 year ago

notflip commented 1 year ago

When I try to run npx directus-migrator -s development -t production or with the force flag npx directus-migrator -s development -t production -f

I get the following error, any idea what this means?

{
  name: 'development',
  endpoint: 'localhost:8055',
  accessToken: <redacted>
} {
  name: 'production',
  endpoint: 'https://35djnv58cftzilnf8122.cleavr.site',
  accessToken: <redacted>
}
notflip commented 1 year ago

Solved it: http:// was missing in front of localhost