Fatal error: Uncaught InvalidArgumentException: Constant name is expected. in /vendor/magento/framework/Data/Argument/Interpreter/Constant.php:23

背景 : install extension use CLI

问题点是,/app/code/<Company-name>/<Extension-name>/的文件名字需要按照

/app/code/<Company-name>/<Extension-name>/etc/module.xml 的module name 去创建

就可以解决了

参考StackExchangemasitko的回答

发表回复

您的电子邮箱地址不会被公开。 必填项已用*标注

此站点使用Akismet来减少垃圾评论。了解我们如何处理您的评论数据