btford / grunt-google-cdn

58 stars 50 forks source link

cdnify doesn't seem to respect my proxy configuration #58

Closed brandon-arnold closed 9 years ago

brandon-arnold commented 9 years ago

Hi all,

My package has grunt-google-cdn 0.4.3. I think the cdnify task isn't using the proxy everything else is. I'm behind a corporate firewall and have gotten git and npm to work by setting our trusted proxy in ~/.npmrc, ~/.gitconfig, and the environment variables HTTP_PROXY/HTTPS_PROXY. Can anyone tell me where I may not be setting the proxy up?

C:\Projects\myapp>grunt cdnify:dist
Running "cdnify:dist" (cdnify) task
Going through dist/public/index.html to update script refs
Warning: Request to https://bower.herokuapp.com/packages/jquery failed: tunnelin
g socket could not be established, cause=socket hang up Use --force to continue.

Aborted due to warnings.

~\.npmrc

strict-ssl=false
registry=http://registry.npmjs.org/
proxy=http://myproxy
https-proxy=https://myproxy
brandon-arnold commented 9 years ago

I figured it out. The project .bowerrc also needs the proxy references. Duh~