Gorka CesiumG
Convex Community2y ago
4 replies
Gorka Cesium

failed to run CLI runMigration

trying to run the helper runMigration from the CLI


pnpx convex run lib.migrations:runMigration '{ "name": "migration.populatePurchaseOrders" }'


and i get this error:

Failed to run function "lib.migrations:runMigration":
Error: {"code":"BadConvexFunctionIdentifier","message":"lib.migrations:runMigration is not a valid path to a Convex function. Module path (lib.migrations) has an extension that isn't 'js'."}


btw it does work from convex dashboard
image.png
image.png
Was this page helpful?