解决./composer.json" does not match the expected JSON schema

如果执行composer install的时候报错

 "./composer.json" does not match the expected JSON schema:
   - name : Does not match the regex pattern ^[a-z0-9]([_.-]?[a-z0-9]+)*/[a-z
  0-9](([_.]|-{1,2})?[a-z0-9]+)*$

 

这是因为name里的格式不符合要求,需要 有/   ,并且不能有大写,仔细检查下正则那句话

无语!

posted @ 2023-07-21 00:30  唯一客服系统开发笔记  阅读(442)  评论(0)    收藏  举报