composer works every where except one project

回眸只為那壹抹淺笑 提交于 2019-12-12 03:03:44

问题


I'm beginner in yii2. composer command works in every path in windows 10, but in one of my project's path composer command not works. Actually does nothing at all.

It's obviously in this image:

I don't know the the reason.

My composer.json:

{
    "name": "yiisoft/yii2-app-advanced",
    "description": "Yii 2 Advanced Project Template",
    "keywords": ["yii2", "framework", "advanced", "project template"],
    "homepage": "http://www.yiiframework.com/",
    "type": "project",
    "license": "BSD-3-Clause",
    "support": {
        "issues": "https://github.com/yiisoft/yii2/issues?state=open",
        "forum": "http://www.yiiframework.com/forum/",
        "wiki": "http://www.yiiframework.com/wiki/",
        "irc": "irc://irc.freenode.net/yii",
        "source": "https://github.com/yiisoft/yii2"
    },
    "minimum-stability": "stable",
    "require": {
        "php": ">=5.4.0",
        "yiisoft/yii2": ">=2.0.6",
        "yiisoft/yii2-bootstrap": "*",
        "yiisoft/yii2-swiftmailer": "*",
        "franciscomaya/yii2-sceditor": "dev-master",
        "kartik-v/yii2-widget-sidenav": "*",
        "mohammad-mahdy/yii2-jdate": "*",
        "2amigos/yii2-ckeditor-widget": "*",
        "2amigos/yii2-gallery-widget": "~1.0",
        "romka-chev/yii2-swiper": "*",
        "kartik-v/yii2-widgets": "*",
        "yiisoft/yii2-imagine": "*",
        "kartik-v/yii2-checkbox-x": "*",
        "kartik-v/yii2-export": "@dev",
        "fxp/composer-asset-plugin": "^1.0",
        "codeception/codeception": "^2.2"
    },
    "require-dev": {
        "yiisoft/yii2-debug": "*",
        "yiisoft/yii2-gii": "*",
        "yiisoft/yii2-faker": "*"

    },
    "config": {
        "process-timeout": 1800
    },
    "extra": {
        "asset-installer-paths": {
            "npm-asset-library": "vendor/npm",
            "bower-asset-library": "vendor/bower"
        }
    }

}

Can anyone help me?

来源:https://stackoverflow.com/questions/40554857/composer-works-every-where-except-one-project

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!