Skip to content

Installing behind a proxy #62

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
jakub-astrahit opened this issue Jan 26, 2018 · 4 comments
Open

Installing behind a proxy #62

jakub-astrahit opened this issue Jan 26, 2018 · 4 comments

Comments

@jakub-astrahit
Copy link

jakub-astrahit commented Jan 26, 2018

Hi, here's an issue I'm having when I try to install this repo behind a proxy. When I run this script: npm run init, I get these errors:

> [email protected] init 
> jspm install && npm run dev:bundle

     Creating registry cache...

warn Error on locate for github:systemjs/plugin-css, retrying (1).
     Error: connect ECONNREFUSED 192.30.253.113:443
         at Object._errnoException (util.js:1022:11)
         at _exceptionWithHostPort (util.js:1044:20)
         at TCPConnectWrap.afterConnect [as oncomplete] (net.js:1182:14)

warn Error on locate for github:frankwallis/plugin-typescript, retrying (1).
     Error: connect ECONNREFUSED 192.30.253.113:443
         at Object._errnoException (util.js:1022:11)
         at _exceptionWithHostPort (util.js:1044:20)
         at TCPConnectWrap.afterConnect [as oncomplete] (net.js:1182:14)

warn Error on locate for github:alexisvincent/systemjs-hot-reloader, retrying (1).
     Error: connect ECONNREFUSED 192.30.253.112:443
         at Object._errnoException (util.js:1022:11)
         at _exceptionWithHostPort (util.js:1044:20)
         at TCPConnectWrap.afterConnect [as oncomplete] (net.js:1182:14)

err  Error on lookup for npm:tslib
Error: connect ECONNREFUSED 151.101.112.162:443
    at Object._errnoException (util.js:1022:11)
    at _exceptionWithHostPort (util.js:1044:20)
    at TCPConnectWrap.afterConnect [as oncomplete] (net.js:1182:14)

err  Error looking up npm:tslib.

warn Installation changes not saved.

How can I set up a proxy for installing this please? Is it even possible?

I tried running this but it didn't help: setx HTTPS_PROXY <proxy>

@piotrwitek
Copy link
Owner

No idea, I would suggest to look through issues in the jspm repo or StackOverflow

@jakub-astrahit
Copy link
Author

jakub-astrahit commented Jan 26, 2018

@piotrwitek Still no luck even after setting my environment variables, git proxy etc. Is there a way I can skip this step (npm run init) and avoid jspm with this repo?

For now, I ended up copying the jspm_packages folder manually from outside proxy (different computer), and then instead of running npm run init, I just ran this: npm run dev:bundle

@js2me
Copy link

js2me commented Feb 1, 2018

Hello, try :

npm config set HTTP_PROXY <proxy>
npm config set HTTPS_PROXY <proxy>

@jakub-astrahit
Copy link
Author

@js2me Didn't work.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants