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 来减少垃圾评论。了解你的评论数据如何被处理