{"action":"created","issue":{"url":"https://api.github.com/repos/JFrogDev/bower-art-resolver/issues/7","labels_url":"https://api.github.com/repos/JFrogDev/bower-art-resolver/issues/7/labels{/name}","comments_url":"https://api.github.com/repos/JFrogDev/bower-art-resolver/issues/7/comments","events_url":"https://api.github.com/repos/JFrogDev/bower-art-resolver/issues/7/events","html_url":"https://github.com/JFrogDev/bower-art-resolver/issues/7","id":107053037,"number":7,"title":"bower-art-resolver not working, still trying to use github.com rather than internal artifactory","user":{"login":"sheeley","id":121681,"avatar_url":"https://avatars.githubusercontent.com/u/121681?v=3","gravatar_id":"","url":"https://api.github.com/users/sheeley","html_url":"https://github.com/sheeley","followers_url":"https://api.github.com/users/sheeley/followers","following_url":"https://api.github.com/users/sheeley/following{/other_user}","gists_url":"https://api.github.com/users/sheeley/gists{/gist_id}","starred_url":"https://api.github.com/users/sheeley/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/sheeley/subscriptions","organizations_url":"https://api.github.com/users/sheeley/orgs","repos_url":"https://api.github.com/users/sheeley/repos","events_url":"https://api.github.com/users/sheeley/events{/privacy}","received_events_url":"https://api.github.com/users/sheeley/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":1,"created_at":"2015-09-17T19:12:23Z","updated_at":"2015-09-18T04:24:56Z","closed_at":null,"body":"I'm trying to set up an install using bower-art-resolver, and not having luck. Our repos appear to be set up correctly according to the instructions, but it is still trying to hit github.com rather than our internal virtual repo (`bower-dev-repo`).\r\n\r\nHere's my setup:\r\n\r\n`✗ cat .bowerrc`\r\n```\r\n{\r\n  \"registry\": \"http://internalrepo.corp/artifactory/api/bower/bower-dev-repo\",\r\n  \"resolvers\": [\r\n      \"bower-art-resolver\"\r\n  ]\r\n}\r\n```\r\n\r\n`✗ cat bower.json`\r\n```\r\n{\r\n  ...\r\n  \"dependencies\": {\r\n    \"jquery-legacy\": \"jquery#1.10\",\r\n    \"jquery\": \"jquery#2\",\r\n    \"jquery-migrate\": \"~1.2.1\",\r\n    \"jquery-validation\": \"~1.14.0\",\r\n    \"jquery-cookie\": \"~1.4.1\"\r\n  }\r\n}\r\n```\r\n\r\n`✗ node_modules/bower/bin/bower -v`\r\n```\r\n1.5.2\r\n```\r\n\r\n`✗ cat node_modules/bower-art-resolver/package.json`\r\n```\r\n{\r\n  \"name\": \"bower-art-resolver\",\r\n  \"version\": \"2.0.1\",\r\n  \"description\": \"The Artifactory Bower Resolver\",\r\n  \"main\": \"./lib/index.js\",\r\n  \"keywords\": [\r\n    \"bower-resolver\"\r\n  ],\r\n  \"dependencies\": {\r\n    \"decompress-zip\": \"^0.2.0\",\r\n    \"graceful-fs\": \"^4.1.2\",\r\n    \"junk\": \"^1.0.2\",\r\n    \"mout\": \"~0.9.0\",\r\n    \"path\": \"*\",\r\n    \"q\": \"~1.0.1\",\r\n    \"request\": \"~2.42.0\",\r\n    \"request-progress\": \"^0.3.1\",\r\n    \"retry\": \"^0.6.1\",\r\n    \"semver\": \"^4.3.6\",\r\n    \"tar-fs\": \"^1.7.0\",\r\n    \"tmp\": \"0.0.26\",\r\n    \"url\": \"*\"\r\n  },\r\n  \"gitHead\": \"92a60352b6ea34d522ac2e2189023b4102daf171\",\r\n  \"_id\": \"bower-art-resolver@2.0.1\",\r\n  \"scripts\": {},\r\n  \"_shasum\": \"9a7ab9fb1073b0bd17dcdb6f6711ae1a356cb7ef\",\r\n  \"_from\": \"bower-art-resolver@*\",\r\n  \"_npmVersion\": \"2.12.1\",\r\n  \"_nodeVersion\": \"0.12.6\",\r\n  \"_npmUser\": {\r\n    \"name\": \"jfrog\",\r\n    \"email\": \"npm@jfrog.com\"\r\n  },\r\n  \"dist\": {\r\n    \"shasum\": \"9a7ab9fb1073b0bd17dcdb6f6711ae1a356cb7ef\",\r\n    \"tarball\": \"http://registry.npmjs.org/bower-art-resolver/-/bower-art-resolver-2.0.1.tgz\"\r\n  },\r\n  \"maintainers\": [\r\n    {\r\n      \"name\": \"jfrog\",\r\n      \"email\": \"npm@jfrog.com\"\r\n    }\r\n  ],\r\n  \"directories\": {},\r\n  \"_resolved\": \"https://registry.npmjs.org/bower-art-resolver/-/bower-art-resolver-2.0.1.tgz\",\r\n  \"readme\": \"ERROR: No README data found!\"\r\n}\r\n```\r\n\r\n`✗ node_modules/bower/bin/bower -V install`\r\n```\r\nbower jquery-legacy#1.10        cached git://github.com/jquery/jquery.git#1.10.2\r\nbower jquery-legacy#1.10      validate 1.10.2 against git://github.com/jquery/jquery.git#1.10\r\nbower jquery#2                  cached git://github.com/jquery/jquery.git#2.1.4\r\nbower jquery#2                validate 2.1.4 against git://github.com/jquery/jquery.git#2\r\nbower jquery-migrate#~1.2.1     cached git://github.com/appleboy/jquery-migrate.git#1.2.1\r\nbower jquery-migrate#~1.2.1   validate 1.2.1 against git://github.com/appleboy/jquery-migrate.git#~1.2.1\r\nbower jquery-validation#~1.14.0 cached git://github.com/jzaefferer/jquery-validation.git#1.14.0\r\nbower jquery-validation#~1.14.0         validate 1.14.0 against git://github.com/jzaefferer/jquery-validation.git#~1.14.0\r\nbower jquery-cookie#~1.4.1                cached git://github.com/carhartl/jquery-cookie.git#1.4.1\r\nbower jquery-cookie#~1.4.1              validate 1.4.1 against git://github.com/carhartl/jquery-cookie.git#~1.4.1\r\nbower jquery-cookie#~1.4.1               ECMDERR Failed to execute \"git ls-remote --tags --heads git://github.com/carhartl/jquery-cookie.git\", exit code of #128 fatal: unable to connect to github.com: github.com[0: 127.0.0.1]: errno=Connection refused\r\n\r\nAdditional error details:\r\nfatal: unable to connect to github.com:\r\ngithub.com[0: 127.0.0.1]: errno=Connection refused\r\n\r\nStack trace:\r\nError: Failed to execute \"git ls-remote --tags --heads git://github.com/carhartl/jquery-cookie.git\", exit code of #128\r\nfatal: unable to connect to github.com:\r\ngithub.com[0: 127.0.0.1]: errno=Connection refused\r\n    at createError (~/bowertest/node_modules/bower/lib/util/createError.js:4:15)\r\n    at ChildProcess.<anonymous> (~/bowertest/node_modules/bower/lib/util/cmd.js:102:21)\r\n    at ChildProcess.emit (events.js:110:17)\r\n    at maybeClose (child_process.js:1015:16)\r\n    at Socket.<anonymous> (child_process.js:1183:11)\r\n    at Socket.emit (events.js:107:17)\r\n    at Pipe.close (net.js:485:12)\r\nFrom previous event:\r\n    at executeCmd (~/bowertest/node_modules/bower/lib/util/cmd.js:61:22)\r\n    at PThrottler._processEntry (~/bowertest/node_modules/bower/node_modules/p-throttler/index.js:89:25)\r\n    at Promise.apply (~/bowertest/node_modules/bower/node_modules/p-throttler/node_modules/q/q.js:1122:26)\r\n    at Promise.promise.promiseDispatch (~/bowertest/node_modules/bower/node_modules/p-throttler/node_modules/q/q.js:752:41)\r\n    at ~/bowertest/node_modules/bower/node_modules/p-throttler/node_modules/q/q.js:1337:14\r\n    at flush (~/bowertest/node_modules/bower/node_modules/p-throttler/node_modules/q/q.js:108:17)\r\n\r\nConsole trace:\r\nError\r\n    at StandardRenderer.error (~/bowertest/node_modules/bower/lib/renderers/StandardRenderer.js:82:37)\r\n    at Logger.<anonymous> (~/bowertest/node_modules/bower/bin/bower:110:22)\r\n    at Logger.emit (events.js:107:17)\r\n    at Logger.emit (~/bowertest/node_modules/bower/node_modules/bower-logger/lib/Logger.js:29:39)\r\n    at ~/bowertest/node_modules/bower/lib/commands/index.js:45:20\r\n    at _rejected (~/bowertest/node_modules/bower/node_modules/q/q.js:844:24)\r\n    at ~/bowertest/node_modules/bower/node_modules/q/q.js:870:30\r\n    at Promise.when (~/bowertest/node_modules/bower/node_modules/q/q.js:1122:31)\r\n    at Promise.promise.promiseDispatch (~/bowertest/node_modules/bower/node_modules/q/q.js:788:41)\r\n    at ~/bowertest/node_modules/bower/node_modules/q/q.js:604:44\r\nSystem info:\r\nBower version: 1.5.2\r\nNode version: 0.12.7\r\nOS: Darwin 14.5.0 x64\r\n```\r\n\r\nAny suggestions?"},"comment":{"url":"https://api.github.com/repos/JFrogDev/bower-art-resolver/issues/comments/141340067","html_url":"https://github.com/JFrogDev/bower-art-resolver/issues/7#issuecomment-141340067","issue_url":"https://api.github.com/repos/JFrogDev/bower-art-resolver/issues/7","id":141340067,"user":{"login":"shikloshi","id":10233712,"avatar_url":"https://avatars.githubusercontent.com/u/10233712?v=3","gravatar_id":"","url":"https://api.github.com/users/shikloshi","html_url":"https://github.com/shikloshi","followers_url":"https://api.github.com/users/shikloshi/followers","following_url":"https://api.github.com/users/shikloshi/following{/other_user}","gists_url":"https://api.github.com/users/shikloshi/gists{/gist_id}","starred_url":"https://api.github.com/users/shikloshi/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/shikloshi/subscriptions","organizations_url":"https://api.github.com/users/shikloshi/orgs","repos_url":"https://api.github.com/users/shikloshi/repos","events_url":"https://api.github.com/users/shikloshi/events{/privacy}","received_events_url":"https://api.github.com/users/shikloshi/received_events","type":"User","site_admin":false},"created_at":"2015-09-18T04:24:56Z","updated_at":"2015-09-18T04:24:56Z","body":"Hi,\r\nI can't seem to see anything wrong with the configurations but I would try with installing both bower and bower-art-resolver globally (e.g. `npm i -g bower-art-resolver`) and check again.\r\n"}}