1. <legend id='qiApj'><style id='qiApj'><dir id='qiApj'><q id='qiApj'></q></dir></style></legend>

        <bdo id='qiApj'></bdo><ul id='qiApj'></ul>
    1. <i id='qiApj'><tr id='qiApj'><dt id='qiApj'><q id='qiApj'><span id='qiApj'><b id='qiApj'><form id='qiApj'><ins id='qiApj'></ins><ul id='qiApj'></ul><sub id='qiApj'></sub></form><legend id='qiApj'></legend><bdo id='qiApj'><pre id='qiApj'><center id='qiApj'></center></pre></bdo></b><th id='qiApj'></th></span></q></dt></tr></i><div id='qiApj'><tfoot id='qiApj'></tfoot><dl id='qiApj'><fieldset id='qiApj'></fieldset></dl></div>

      <small id='qiApj'></small><noframes id='qiApj'>

    2. <tfoot id='qiApj'></tfoot>
    3. 使用 composer 在非空文件夹上安装包

      时间:2023-10-16

        <tfoot id='5XVWq'></tfoot>

      • <small id='5XVWq'></small><noframes id='5XVWq'>

            <legend id='5XVWq'><style id='5XVWq'><dir id='5XVWq'><q id='5XVWq'></q></dir></style></legend>

              • <bdo id='5XVWq'></bdo><ul id='5XVWq'></ul>
              • <i id='5XVWq'><tr id='5XVWq'><dt id='5XVWq'><q id='5XVWq'><span id='5XVWq'><b id='5XVWq'><form id='5XVWq'><ins id='5XVWq'></ins><ul id='5XVWq'></ul><sub id='5XVWq'></sub></form><legend id='5XVWq'></legend><bdo id='5XVWq'><pre id='5XVWq'><center id='5XVWq'></center></pre></bdo></b><th id='5XVWq'></th></span></q></dt></tr></i><div id='5XVWq'><tfoot id='5XVWq'></tfoot><dl id='5XVWq'><fieldset id='5XVWq'></fieldset></dl></div>
                  <tbody id='5XVWq'></tbody>

                本文介绍了使用 composer 在非空文件夹上安装包的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着跟版网的小编来一起学习吧!

                问题描述

                我尝试通过 composer 安装包,但它一直告诉我这个目录不是空的,所以我如何使用 composer 在非空文件夹上安装包?有强制安装命令吗?

                I tried to install package via composer but it's keep telling me that this directory is not empty so how can I install package on non-empty folder using composer ? is there force install command ?

                错误信息:

                  [InvalidArgumentException]
                  Project directory Yii-GZero-2b/ is not empty.
                

                推荐答案

                您目前不能.GitHub 上正在进行讨论,您可以在这里阅读:https://github.com/composer/composer/issues/1135.

                You currently can't. There is/was a discussion going on over on GitHub which you can read about here: https://github.com/composer/composer/issues/1135.

                但是,现在您需要创建一个新目录,然后迁移您的文件,反之亦然.

                For now however, you'll need to create a new directory and then migrate your files over, or vice-versa.

                这篇关于使用 composer 在非空文件夹上安装包的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持跟版网!

                上一篇:模块中的 Yii2 路由定义 下一篇:在 yii2 中迁移时出现异常“找不到驱动程序"

                相关文章

                  <i id='uWGF7'><tr id='uWGF7'><dt id='uWGF7'><q id='uWGF7'><span id='uWGF7'><b id='uWGF7'><form id='uWGF7'><ins id='uWGF7'></ins><ul id='uWGF7'></ul><sub id='uWGF7'></sub></form><legend id='uWGF7'></legend><bdo id='uWGF7'><pre id='uWGF7'><center id='uWGF7'></center></pre></bdo></b><th id='uWGF7'></th></span></q></dt></tr></i><div id='uWGF7'><tfoot id='uWGF7'></tfoot><dl id='uWGF7'><fieldset id='uWGF7'></fieldset></dl></div>
                1. <legend id='uWGF7'><style id='uWGF7'><dir id='uWGF7'><q id='uWGF7'></q></dir></style></legend>

                  <small id='uWGF7'></small><noframes id='uWGF7'>

                    <tfoot id='uWGF7'></tfoot>
                    • <bdo id='uWGF7'></bdo><ul id='uWGF7'></ul>