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 在非空文件夹上安装包

      Install package on non-empty folder using composer(使用 composer 在非空文件夹上安装包)

        <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 在非空文件夹上安装包的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持跟版网!

                本站部分内容来源互联网,如果有图片或者内容侵犯了您的权益,请联系我们,我们会在确认后第一时间进行删除!

                相关文档推荐

                Is Joomla 2.5 much faster than Joomla 1.5 Querywise(Joomla 2.5 比 Joomla 1.5 Querywise 快得多吗)
                How to share Joomla login session from one joomla website to one ASP.Net MVC website(如何将 Joomla 登录会话从一个 joomla 网站共享到一个 ASP.Net MVC 网站)
                htaccess redirect root to subdirectory but allow index.php in root AND query strings to function(htaccess 将根重定向到子目录,但允许根和查询字符串中的 index.php 起作用)
                Joomla include database functions(Joomla 包含数据库功能)
                nl2br() not working when displaying SQL results(显示 SQL 结果时 nl2br() 不起作用)
                Joomla 2.5 JFactory::getSession(); seems to be caching in firefox(Joomla 2.5 JFactory::getSession();似乎在 Firefox 中缓存)

                  <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>
                    <tbody id='uWGF7'></tbody>

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

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