解决./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里的格式不符合要求,需要 有/   ,并且不能有大写,仔细检查下正则那句话

无语!

猜你喜欢

转载自blog.csdn.net/taoshihan/article/details/131843497