failed to run CLI runMigration
trying to run the helper runMigration from the CLI
and i get this error:
btw it does work from convex dashboard


4 Replies
The error message could be better here, but I believe the format here is
lib/migrations:runMigration (and also probably migration:populatePurchaseOrders)
(Generally path/to/file:exportName)oh, i copied from the helper repo
Ah thanks for pointing that out -- will look into updating that.
There may or may not be work coming up to get
npx convex run to accept more formats (like api.lib.migrations.runMigration which we use elsewhere)super, thanks