Skip to content
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

Error when doing npm install #25

Closed
allenz0810 opened this issue Oct 20, 2016 · 8 comments
Closed

Error when doing npm install #25

allenz0810 opened this issue Oct 20, 2016 · 8 comments

Comments

@allenz0810
Copy link

allenz0810 commented Oct 20, 2016

I have issue with proxy when it comes to typings install, can you walk me through?

I have solve npm and vs code proxy issue.

For npm proxy issue -
npm config set proxy http://proxy.yourcompanyname.com:5050
npm config set https-proxy http://proxy.yourcompanyname.com:5050

for vs code proxy issue -
Go to File -> Preferences -> User Settings
On the right side folder (setting.json) you add
// Place your settings in this file to overwrite the default settings

"http.proxy": "http://proxy.yourcompanyname.com:5050/",
"https.proxy": "http://proxy.yourcompanyname.com:5050/",
"http.proxyStrictSSL": false

@DeborahK
Copy link
Owner

So your issues are resolved at this point then? I'll add your fix to my blog post. I'd be happy to give you credit for the fix if you'd like to give me your name.
Thanks!

@DeborahK
Copy link
Owner

And can you tell me the error you saw before you made this fix so I can include it in the post? Thanks!

@allenz0810
Copy link
Author

at this point my issue is not solve yet. the install stop at typings install.

image

@allenz0810
Copy link
Author

For VS Code if you not config the proxy, you will not able to see any extensions.

image

@allenz0810
Copy link
Author

By the way what is credit mean and you mention my name like github user name or real name?

@DeborahK
Copy link
Owner

I just added some detail to my blog here: http://blogs.msmvps.com/deborahk/angular-2-getting-started-problem-solver Let me know if anything there helps you out. (I don't have a corporate proxy so I can't try these out myself.)

@DeborahK
Copy link
Owner

I could use either name you'd like to provide ...

@allenz0810
Copy link
Author

allenz0810 commented Oct 21, 2016

you can just use my github name allenz0810. thank you

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

2 participants