{"action":"created","issue":{"url":"https://api.github.com/repos/yatskevich/grunt-bower-task/issues/165","repository_url":"https://api.github.com/repos/yatskevich/grunt-bower-task","labels_url":"https://api.github.com/repos/yatskevich/grunt-bower-task/issues/165/labels{/name}","comments_url":"https://api.github.com/repos/yatskevich/grunt-bower-task/issues/165/comments","events_url":"https://api.github.com/repos/yatskevich/grunt-bower-task/issues/165/events","html_url":"https://github.com/yatskevich/grunt-bower-task/issues/165","id":147403799,"number":165,"title":"Compatibility with Repository Manager Nexus 3.0","user":{"login":"nicolasrosado","id":3313831,"avatar_url":"https://avatars.githubusercontent.com/u/3313831?v=3","gravatar_id":"","url":"https://api.github.com/users/nicolasrosado","html_url":"https://github.com/nicolasrosado","followers_url":"https://api.github.com/users/nicolasrosado/followers","following_url":"https://api.github.com/users/nicolasrosado/following{/other_user}","gists_url":"https://api.github.com/users/nicolasrosado/gists{/gist_id}","starred_url":"https://api.github.com/users/nicolasrosado/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/nicolasrosado/subscriptions","organizations_url":"https://api.github.com/users/nicolasrosado/orgs","repos_url":"https://api.github.com/users/nicolasrosado/repos","events_url":"https://api.github.com/users/nicolasrosado/events{/privacy}","received_events_url":"https://api.github.com/users/nicolasrosado/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":{"login":"RandomlyKnighted","id":2483249,"avatar_url":"https://avatars.githubusercontent.com/u/2483249?v=3","gravatar_id":"","url":"https://api.github.com/users/RandomlyKnighted","html_url":"https://github.com/RandomlyKnighted","followers_url":"https://api.github.com/users/RandomlyKnighted/followers","following_url":"https://api.github.com/users/RandomlyKnighted/following{/other_user}","gists_url":"https://api.github.com/users/RandomlyKnighted/gists{/gist_id}","starred_url":"https://api.github.com/users/RandomlyKnighted/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/RandomlyKnighted/subscriptions","organizations_url":"https://api.github.com/users/RandomlyKnighted/orgs","repos_url":"https://api.github.com/users/RandomlyKnighted/repos","events_url":"https://api.github.com/users/RandomlyKnighted/events{/privacy}","received_events_url":"https://api.github.com/users/RandomlyKnighted/received_events","type":"User","site_admin":false},"milestone":null,"comments":1,"created_at":"2016-04-11T11:48:31Z","updated_at":"2016-05-07T21:04:44Z","closed_at":"2016-05-07T20:50:37Z","body":"Hi,\r\n\r\nIn his latest release, nexus sonatype 3.0 added bower.io format support (https://www.npmjs.com/package/bower-nexus3-resolver).\r\nSo now, I want to use grunt-bower-task with this repository manager (to enjoy the new feature proxy for bower).\r\nHowever, when I do a maven clean install, I meet this error ENAMETOOLONG.\r\n\r\nSee the stacktrace below : \r\n\r\n[INFO] --- frontend-maven-plugin:0.0.16:grunt (installation node, npm et package nodes) @ project-web ---\r\n[INFO] Running 'grunt --no-color' in /home/nrosado/environnement/source/project/web/src/main/webapp/scripts/lib\r\n[INFO] Running \"bower:install\" (bower) task\r\n[INFO] >> Cleaned target dir /home/nrosado/environnement/source/project/web/src/main/webapp/scripts/lib/bower_components\r\n[INFO] Fatal error: ENAMETOOLONG, open '/home/nrosado/.cache/bower/registry/localhost%3A8081/lookup/nexus%2Bhttp%3A%2F%2Flocalhost%3A8081%2Fnexus%2Frepository%2Fbower-all%2Fnexus%2Bhttp%3A%2Flocalhost%3A8081%2Fnexus%2Frepository%2Fbower-all%2Fnexus%2Bhttp%3A%2Flocalhost%3A8081%2Fnexus%2Frepository%2Fbower-all%2Fnexus%2Bhttp%3A%2Flocalhost%3A8081%2Fnexus%2Frepository%2Fbower-all%2Fless_e3947'\r\n\r\n\r\nAfter discuss with the nexus team, we realized that grunt-bower-task is using ~1.3.0 according to that project's package.json, and the custom resolver functionality that Nexus Repository Manager requires was introduced in ~1.5.0. So grunt task is using an older version of Bower, and that's why we're seeing this, even though my newer version of bower works with Nexus from the command line. Grunt task isn't going to work with Nexus or nexus resolver since the version of bower it depends on is too old to support these newer features. \r\n\r\nI found an alternative that uses a newer version of bower. See below the workaround to avoid to use your grunt-bower-task. To do the same thing, I use :\r\n- \"grunt contrib clean\" (https://www.npmjs.com/package/grunt-contrib-clean) to clean bower components directory (to have the equivalent of the cleantargetdir option in grunt bower task) \r\n- and \"grunt bower install simple\" (https://www.npmjs.com/package/grunt-bower-install-simple) to install bower components (bower 1.7.7 is used in this task)\r\n\r\nCould you tell me if you can upgrade the bower version of your \"grunt-bower-task\" to 1.5.0 or higher in a next release ? If this is the case, could you tell me when the next release is planned ? \r\n\r\nThanks in advance for your response and your time.\r\n\r\n\r\n\r\n\r\n"},"comment":{"url":"https://api.github.com/repos/yatskevich/grunt-bower-task/issues/comments/217668784","html_url":"https://github.com/yatskevich/grunt-bower-task/issues/165#issuecomment-217668784","issue_url":"https://api.github.com/repos/yatskevich/grunt-bower-task/issues/165","id":217668784,"user":{"login":"RandomlyKnighted","id":2483249,"avatar_url":"https://avatars.githubusercontent.com/u/2483249?v=3","gravatar_id":"","url":"https://api.github.com/users/RandomlyKnighted","html_url":"https://github.com/RandomlyKnighted","followers_url":"https://api.github.com/users/RandomlyKnighted/followers","following_url":"https://api.github.com/users/RandomlyKnighted/following{/other_user}","gists_url":"https://api.github.com/users/RandomlyKnighted/gists{/gist_id}","starred_url":"https://api.github.com/users/RandomlyKnighted/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/RandomlyKnighted/subscriptions","organizations_url":"https://api.github.com/users/RandomlyKnighted/orgs","repos_url":"https://api.github.com/users/RandomlyKnighted/repos","events_url":"https://api.github.com/users/RandomlyKnighted/events{/privacy}","received_events_url":"https://api.github.com/users/RandomlyKnighted/received_events","type":"User","site_admin":false},"created_at":"2016-05-07T21:04:43Z","updated_at":"2016-05-07T21:04:43Z","body":"@nicolasrosado I've updated the Bower dependency to the latest version. We hope to have a new release soon."}}