A
A
Alex Kizyma2019-06-06 21:55:41
Yii
Alex Kizyma, 2019-06-06 21:55:41

The file or directory to be published does not exist: /Applications/MAMP/htdocs/dev-test/vendor/bower-asset/moment?

5cf960735d76d914277940.png
This is my composer.json file:

{
    "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.14",
        "yiisoft/yii2-bootstrap": "~2.0.0",
        "yiisoft/yii2-swiftmailer": "~2.0.0 || ~2.1.0",
        "2amigos/yii2-date-picker-widget" : "~1.0",
        "kartik-v/yii2-widget-datetimepicker": "^1.4",
        "thiagotalma/yii2-fullcalendar": "*",
        "philippfrenzel/yii2fullcalendar":"*",

    },
    "require-dev": {
        "yiisoft/yii2-debug": "~2.1.0",
        "yiisoft/yii2-gii": "~2.1.0",
        "yiisoft/yii2-faker": "~2.0.0",
        "codeception/base": "^2.4.0",
        "phpunit/phpunit": "~6.5.5",
        "codeception/verify": "~1.0.0",
        "symfony/browser-kit": ">=2.7 <=4.2.4"
    },
    "config": {
        "process-timeout": 1800,
        "fxp-asset": {
            "enabled": false
        }
    },
    "repositories": [
        {
            "type": "composer",
            "url": "https://asset-packagist.org"
        }
    ]
}

Answer the question

In order to leave comments, you need to log in

2 answer(s)
I
Ivan Shumov, 2019-06-06
@inoise

Install Fxp-assets. It's at the very beginning of the installation section.

D
Dmitry, 2019-06-06
@slo_nik

Goodnight.
In configuration

$config = [
    /* остальные настройки */
    'aliases' => [
        '@bower' => '@vendor/bower-asset',
        '@npm'   => '@vendor/npm-asset',
    ],
    /* остальные настройки */
]

In composer.json you can remove
"fxp-asset": {
     "enabled": false
}

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question