m2-boilerplate / Module-Critical-CSS

Magento 2 module to automatically generate critical css with the addyosmani/critical npm package
MIT License
34 stars 16 forks source link

There are no commands defined in the "m2bp:critical-css" namespace. #6

Closed TectonicKestrel closed 3 years ago

TectonicKestrel commented 3 years ago

After installing and enabling when i run the command "php bin/magento m2bp:critical-css:generate" i get the error "There are no commands defined in the "m2bp:critical-css" namespace." I have checked "php bin/magento list" and there is no m2bp listed there. I am using magento 2.3.6 and PHP 7.3. Critical was installed before this module by running "npm i -D critical"

thampe commented 3 years ago

Hi,

did you enable the module first?

bin/magento module:enable M2Boilerplate_CriticalCss
bin/magento setup:upgrade
TectonicKestrel commented 3 years ago

Yes, the module is enabled. This was something i thought of and checked,

marvinhinz commented 3 years ago

Yes, the module is enabled. This was something i thought of and checked,

Is the issue still relevant, or could you resolve the problem?