{"action":"created","issue":{"url":"https://api.github.com/repos/lajax/yii2-asset-minifier/issues/2","repository_url":"https://api.github.com/repos/lajax/yii2-asset-minifier","labels_url":"https://api.github.com/repos/lajax/yii2-asset-minifier/issues/2/labels{/name}","comments_url":"https://api.github.com/repos/lajax/yii2-asset-minifier/issues/2/comments","events_url":"https://api.github.com/repos/lajax/yii2-asset-minifier/issues/2/events","html_url":"https://github.com/lajax/yii2-asset-minifier/issues/2","id":157142453,"number":2,"title":"Still Unresolved - file_get_contents(...): failed to open stream: No such file or directory","user":{"login":"dbd5","id":9496750,"avatar_url":"https://avatars.githubusercontent.com/u/9496750?v=3","gravatar_id":"","url":"https://api.github.com/users/dbd5","html_url":"https://github.com/dbd5","followers_url":"https://api.github.com/users/dbd5/followers","following_url":"https://api.github.com/users/dbd5/following{/other_user}","gists_url":"https://api.github.com/users/dbd5/gists{/gist_id}","starred_url":"https://api.github.com/users/dbd5/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/dbd5/subscriptions","organizations_url":"https://api.github.com/users/dbd5/orgs","repos_url":"https://api.github.com/users/dbd5/repos","events_url":"https://api.github.com/users/dbd5/events{/privacy}","received_events_url":"https://api.github.com/users/dbd5/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":4,"created_at":"2016-05-27T07:00:08Z","updated_at":"2016-05-29T07:20:24Z","closed_at":null,"body":"Hi @lajax ,\r\n\r\nI have updated code as necessary but this still throws exactly the same error!\r\ncomposer didn't seem to pick up 515449d so I had to remove it from composer.json and update - and then add it back and update again.\r\n\r\nIt seems that the PATH passed to PhpJsMinifier.php by Minifier.php is wrong\r\n\r\nThe error thrown is;\r\n\r\nfile_get_contents(/var/www/advanced/frontend/web/vendor/revslider/js/jquery.themepunch.tools.min.js): failed to open stream: No such file or directory\r\n\r\nThe file you are looking for is actually in;\r\n/var/www/advanced/frontend/web/**assets**/vendor/revslider/js/jquery.themepunch.tools.min.js\r\n\r\nHere's the relevant Asset bundle\r\n\r\n<?php\r\nnamespace frontend\\assets;\r\n\r\nuse yii\\web\\AssetBundle;\r\nclass RevoAsset extends AssetBundle\r\n{\r\npublic $basePath = '@webroot';\r\npublic $baseUrl = '@web/assets';\r\npublic $jsOptions = [\r\n'position' => \\yii\\web\\View::POS_END,\r\n];\r\n\r\npublic $css = [\r\n    [\"css/extralayers.css\", \"media\"=>\"screen\",],\r\n    [\"vendor/revslider/css/settings.css\", \"media\"=>\"screen\",],\r\n];\r\n\r\npublic $js = [\r\n    \"vendor/revslider/js/jquery.themepunch.tools.min.js\",\r\n    \"vendor/revslider/js/jquery.themepunch.revolution.min.js\",\r\n];\r\n\r\npublic $images = [\r\n];\r\n\r\npublic $depends = [\r\n    'frontend\\assets\\FrontendAsset',\r\n];\r\n}\r\n\r\nIs there anything I can do to assist you troubleshoot this bug?"},"comment":{"url":"https://api.github.com/repos/lajax/yii2-asset-minifier/issues/comments/222346716","html_url":"https://github.com/lajax/yii2-asset-minifier/issues/2#issuecomment-222346716","issue_url":"https://api.github.com/repos/lajax/yii2-asset-minifier/issues/2","id":222346716,"user":{"login":"moltam","id":4578365,"avatar_url":"https://avatars.githubusercontent.com/u/4578365?v=3","gravatar_id":"","url":"https://api.github.com/users/moltam","html_url":"https://github.com/moltam","followers_url":"https://api.github.com/users/moltam/followers","following_url":"https://api.github.com/users/moltam/following{/other_user}","gists_url":"https://api.github.com/users/moltam/gists{/gist_id}","starred_url":"https://api.github.com/users/moltam/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/moltam/subscriptions","organizations_url":"https://api.github.com/users/moltam/orgs","repos_url":"https://api.github.com/users/moltam/repos","events_url":"https://api.github.com/users/moltam/events{/privacy}","received_events_url":"https://api.github.com/users/moltam/received_events","type":"User","site_admin":false},"created_at":"2016-05-29T07:20:23Z","updated_at":"2016-05-29T07:20:23Z","body":"I can't reproduce this with the latest version. However this error happens with 1.0.0 (#4cce94c). Are you sure you are using the latest version? It does not have a version tagged yet, so you have to use `dev-master` in `composer.json`."}}
{"actor":{"display_login":"moltam"}}