flancer32 / mage2_fix_pr9621
针对PR-9621的独立修复
0.1.0
2017-05-13 12:07 UTC
This package is auto-updated.
Last update: 2024-09-06 09:14:12 UTC
README
独立修复PR-9621以验证提出的解决方案。
安装
$ cd ${DIR_MAGE_ROOT} $ composer require flancer32/mage2_fix_pr9621 $ bin/magento module:enable Flancer32_FixPr9621 $ bin/magento setup:upgrade $ bin/magento setup:static-content:deploy $ bin/magento cache:clean
卸载
您需要用于https://repo.magento.com/
的认证密钥来卸载任何Magento 2模块。请访问您的Magento Connect账户,在(我的账户 / Connect / 开发者 / 安全密钥)部分生成密钥对以连接到Magento 2仓库。然后按照此处描述放置composer认证文件auth.json
,并将https://repo.magento.com/
的认证密钥放入认证文件中
{ "http-basic": { "repo.magento.com": { "username": "...", "password": "..." } } }
然后运行以下命令以完全卸载Flancer32_FixPr9621
模块
$ cd ${DIR_MAGE_ROOT} $ bin/magento module:uninstall Flancer32_FixPr9621 $ bin/magento setup:upgrade $ bin/magento setup:di:compile $ bin/magento setup:static-content:deploy $ bin/magento cache:clean
请耐心等待,卸载过程(bin/magento module:uninstall ...
)大约需要2-4分钟。最后请删除auth.json
文件
$ rm ./auth.json