medusa icon indicating copy to clipboard operation
medusa copied to clipboard

Error during migration generation: with typeorm migration:generate

Open ehtisham-afzal opened this issue 1 year ago • 5 comments

Preliminary Checks

  • [X] This issue is not a duplicate. Before opening a new issue, please search existing issues: https://github.com/medusajs/medusa/issues

Issue Summary

migration generate returns error while generating a migration file

TypeORMError: Entity metadata for Product#images was not found. Check if you specified a correct entity object and if it's connected in the connection options.

ehtisham-afzal avatar Feb 08 '24 04:02 ehtisham-afzal

I have the same problem

fvcoder avatar Feb 21 '24 03:02 fvcoder

I have the same problem.

I have the `medusa-custom-attributes' plugin installed which also extends the Product entity; not sure if that makes a difference

dpdenton avatar Mar 01 '24 18:03 dpdenton

I have the same problem.

facundocapua avatar Apr 29 '24 19:04 facundocapua

I got the same problem when trying to extend the product entity (creating the migration)

HansiDerSweater avatar Jun 08 '24 11:06 HansiDerSweater

Facing the same issue.

Dominic-Preap avatar Jul 19 '24 02:07 Dominic-Preap