cancel
Showing results for 
Search instead for 
Did you mean: 

Invalid entity_type specified: catalog_product Error while installing Magento 2.4.1

Invalid entity_type specified: catalog_product Error while installing Magento 2.4.1

I'm a beginner at Magento and trying to install magento from a git cloned private repository and I've been stuck at this error during Magento CLI installation. I can't seem to find any solution for it. It would be a great help if someone can guide me through it. 

Invalid entity_type specified: catalog_product

 

 

Screenshot from 2021-09-16 18-17-02.png

1 REPLY 1

Re: Invalid entity_type specified: catalog_product Error while installing Magento 2.4.1

@muhammadad440a 

Please download the Magento using the below command:

composer create-project --repository-url=https://repo.magento.com/ magento/project-community-edition=2.4.1 magento241

Then install Magento using the below command:

php bin/magento setup:install --base-url="http://127.0.0.1/magento241/" --db-host="localhost" --db-name="magentodev" --db-user="root" --admin-firstname="admin" --admin-lastname="admin" --admin-email="admin@admin.com" --admin-user="admin" --admin-password="admin123" --language="en_US" --currency="INR" --timezone="America/Chicago" --use-rewrites="1" --backend-frontname="admin" --search-engine=elasticsearch7 --elasticsearch-host=127.0.0.1 --elasticsearch-port=9200

Change the URL, dbname, user and other details as per your requirements.

and also check the memory limit of PHP is 4GB or not. If not then set the memory to 4GB.

Problem solved? Click Kudos and "Accept as Solution"