Magento2-如何完全卸载模块?

时间:2018-08-23 10:14:19

标签: php magento composer-php magento2

我正在尝试通过命令行卸载完整的模块,但出现错误“模块不是已安装的作曲家程序包”。我还在模块中添加了composer.json,但是没有用,为什么?

php bin/magento module:uninstall Custom_Test
Custom_Test is not an installed composer package

composer.json

{
"name": "custom/module-test",
"description": "",
"type": "magento2-module",
"license": "proprietary",
"authors": [
    {
        "email": "info@testmail.com",
        "name": "Test"
    }
],
"minimum-stability": "dev",
"require": {},
"autoload": {
    "psr-4": {
        "Custom\\Test\\": ""
    },
    "files": [
        "registration.php"
    ]
}

}

0 个答案:

没有答案