{"action":"created","issue":{"url":"https://api.github.com/repos/yiisoft/yii2/issues/6402","labels_url":"https://api.github.com/repos/yiisoft/yii2/issues/6402/labels{/name}","comments_url":"https://api.github.com/repos/yiisoft/yii2/issues/6402/comments","events_url":"https://api.github.com/repos/yiisoft/yii2/issues/6402/events","html_url":"https://github.com/yiisoft/yii2/issues/6402","id":51226196,"number":6402,"title":"The file or directory to be published does not exist: /usr/home/dima/advanced/vendor/bower/jquery/dist","user":{"login":"d-bo","id":7657103,"avatar_url":"https://avatars.githubusercontent.com/u/7657103?v=3","gravatar_id":"","url":"https://api.github.com/users/d-bo","html_url":"https://github.com/d-bo","followers_url":"https://api.github.com/users/d-bo/followers","following_url":"https://api.github.com/users/d-bo/following{/other_user}","gists_url":"https://api.github.com/users/d-bo/gists{/gist_id}","starred_url":"https://api.github.com/users/d-bo/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/d-bo/subscriptions","organizations_url":"https://api.github.com/users/d-bo/orgs","repos_url":"https://api.github.com/users/d-bo/repos","events_url":"https://api.github.com/users/d-bo/events{/privacy}","received_events_url":"https://api.github.com/users/d-bo/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/yiisoft/yii2/labels/status:to%20be%20verified","name":"status:to be verified","color":"fbca04"}],"state":"closed","locked":false,"assignee":{"login":"cebe","id":189796,"avatar_url":"https://avatars.githubusercontent.com/u/189796?v=3","gravatar_id":"","url":"https://api.github.com/users/cebe","html_url":"https://github.com/cebe","followers_url":"https://api.github.com/users/cebe/followers","following_url":"https://api.github.com/users/cebe/following{/other_user}","gists_url":"https://api.github.com/users/cebe/gists{/gist_id}","starred_url":"https://api.github.com/users/cebe/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/cebe/subscriptions","organizations_url":"https://api.github.com/users/cebe/orgs","repos_url":"https://api.github.com/users/cebe/repos","events_url":"https://api.github.com/users/cebe/events{/privacy}","received_events_url":"https://api.github.com/users/cebe/received_events","type":"User","site_admin":false},"milestone":{"url":"https://api.github.com/repos/yiisoft/yii2/milestones/8","html_url":"https://github.com/yiisoft/yii2/milestones/2.0.2","labels_url":"https://api.github.com/repos/yiisoft/yii2/milestones/8/labels","id":823739,"number":8,"title":"2.0.2","description":"","creator":{"login":"qiangxue","id":993322,"avatar_url":"https://avatars.githubusercontent.com/u/993322?v=3","gravatar_id":"","url":"https://api.github.com/users/qiangxue","html_url":"https://github.com/qiangxue","followers_url":"https://api.github.com/users/qiangxue/followers","following_url":"https://api.github.com/users/qiangxue/following{/other_user}","gists_url":"https://api.github.com/users/qiangxue/gists{/gist_id}","starred_url":"https://api.github.com/users/qiangxue/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/qiangxue/subscriptions","organizations_url":"https://api.github.com/users/qiangxue/orgs","repos_url":"https://api.github.com/users/qiangxue/repos","events_url":"https://api.github.com/users/qiangxue/events{/privacy}","received_events_url":"https://api.github.com/users/qiangxue/received_events","type":"User","site_admin":false},"open_issues":0,"closed_issues":161,"state":"closed","created_at":"2014-10-13T11:20:19Z","updated_at":"2015-01-11T19:14:28Z","due_on":"2015-01-11T05:00:00Z","closed_at":"2015-01-11T19:14:28Z"},"comments":20,"created_at":"2014-12-07T18:27:05Z","updated_at":"2015-10-06T02:38:20Z","closed_at":"2014-12-08T17:50:33Z","body":"Hello. Have some problems with separated advanced app skeleton install. What i've done:\r\n\r\ncomposer asset plugin installed by\r\n\r\n```composer global require \"fxp/composer-asset-plugin:1.0.0-beta4\"```\r\n\r\nnext yii2 framework\r\n\r\n```composer global require \"yiisoft/yii2:2.0.*@dev\"```\r\n\r\nthe app-advanced skeleton in a separate folder /home/dima/advanced\r\n\r\n```composer create-project --prefer-dist --stability=dev yiisoft/yii2-app-advanced advanced```\r\n\r\ncorrect paths to autoload yii2 from **/frontend/web/index.php** generated by *init*\r\n\r\n```\r\n<?php\r\ndefined('YII_DEBUG') or define('YII_DEBUG', true);\r\ndefined('YII_ENV') or define('YII_ENV', 'dev');\r\n$vendor = '/home/dima/.composer/vendor';\r\nrequire($vendor . '/autoload.php');\r\nrequire($vendor . '/yiisoft/yii2/Yii.php');\r\nrequire(__DIR__ . '/../../common/config/bootstrap.php');\r\nrequire(__DIR__ . '/../config/bootstrap.php');\r\n\r\n$config = yii\\helpers\\ArrayHelper::merge(\r\n    require(__DIR__ . '/../../common/config/main.php'),\r\n    require(__DIR__ . '/../../common/config/main-local.php'),\r\n    require(__DIR__ . '/../config/main.php'),\r\n    require(__DIR__ . '/../config/main-local.php')\r\n);\r\n\r\n$application = new yii\\web\\Application($config);\r\n$application->run();\r\n```\r\n\r\nI tried to play with @vendor and other paths\r\nBut can't resolve the error\r\n\r\n```The file or directory to be published does not exist: /usr/home/dima/advanced/vendor/bower/jquery/dist```"},"comment":{"url":"https://api.github.com/repos/yiisoft/yii2/issues/comments/145727469","html_url":"https://github.com/yiisoft/yii2/issues/6402#issuecomment-145727469","issue_url":"https://api.github.com/repos/yiisoft/yii2/issues/6402","id":145727469,"user":{"login":"WadeShuler","id":9557392,"avatar_url":"https://avatars.githubusercontent.com/u/9557392?v=3","gravatar_id":"","url":"https://api.github.com/users/WadeShuler","html_url":"https://github.com/WadeShuler","followers_url":"https://api.github.com/users/WadeShuler/followers","following_url":"https://api.github.com/users/WadeShuler/following{/other_user}","gists_url":"https://api.github.com/users/WadeShuler/gists{/gist_id}","starred_url":"https://api.github.com/users/WadeShuler/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/WadeShuler/subscriptions","organizations_url":"https://api.github.com/users/WadeShuler/orgs","repos_url":"https://api.github.com/users/WadeShuler/repos","events_url":"https://api.github.com/users/WadeShuler/events{/privacy}","received_events_url":"https://api.github.com/users/WadeShuler/received_events","type":"User","site_admin":false},"created_at":"2015-10-06T02:38:19Z","updated_at":"2015-10-06T02:38:19Z","body":"Same issue here. Yii2 advanced app, 2.0.6. Runs just fine on localhost in dev environment. Push to OpenShift (build has hooks to init and composer install).\r\n\r\nComposer has extra lines added:\r\n    \"fxp/composer-asset-plugin\": \"*\",\r\n    \"ext-gd\": \"*\",\r\n\r\nI SSH'd in and noticed I also had the \"bower-asset\" directory, instead of just \"bower\".\r\n\r\nI ran `composer clear-cache` then `composer update`. It then updated `composer-asset-plugin`. Verified, and I now had `bower` directory. Only problem now, is the jQuery directory doesn't exist. Nothing is in the bower dir lol."}}