Closed Sylvesterx1 closed 1 year ago
What version of Medusa.js do you use? Try add MEDUSA_FF_PRODUCT_CATEGORIES=true
in your .env file due to usage of product_category
in some models and running migrations again
Hi, all up to date, fresh installation from yesterday. Currently I have enabled categories directly in medusa config.js Yesterday I try also enable in env but still the same issue.
Hey guys, I am having the same issue. I have a fresh MedusaJS installation. I just followed your tutorial and I get the error:
error: Error starting server
TypeORMError: Entity metadata for ProductCategory#products was not found. Check if you specified a correct entity object and if it's connected in the connection options.
at /Users/bogdanfloriannistor/Developer/NodeJs/markline-medusa-v3/markline-medusa-store-v3/node_modules/typeorm/metadata-builder/EntityMetadataBuilder.js:720:23
at Array.forEach (
And I do have MEDUSA_FF_PRODUCT_CATEGORIES set to true in .env.
@vholik Can you look into this issue on a clean install? Your module has a lot of potential and contribution to development, so it would be good to solve it; )
Can confirm this problem on a fresh medusa install. Thanks guys for addressing this issue. Now you can just hit yarn add medusa-custom-attributes
to update package version to 1.0.5 and problem with yarn linking and category metadata should be resolved!
@vholik I confirm that after the update the problem was solved. Thank you for your contribution.
After installation backend not work, admin not work, not possible login etc. Storefront not fetch products from backend API etc.
@update After delete node_modules and install again, I try run server and get (migrations done):