Composer loading from cache

前端 未结 9 1308
爱一瞬间的悲伤
爱一瞬间的悲伤 2021-02-02 04:54

i ran in a problem using composer for installing/uninstalling some dependencies in laravel which coming back after deleting them from composer.json and deleting the

9条回答
  •  面向向阳花
    2021-02-02 05:37

    So the only thing that worked for me on my Macbook was removing the package from my composer.json, deleting my composer.lock, running composer update, then adding the package back to composer.json, deleting my composer.lock(again), and running composer update (again). I had a local package in my instance of Laravel Nova that I changed to all lowercase from CamelCase and no matter what I did, it kept adding the package with the old CamelCase name. Didn't matter if I cleared caches or anything.

提交回复
热议问题