Skip to content
This repository has been archived by the owner on Jan 5, 2024. It is now read-only.

Example .typingsrc file #120

Closed
stevewirts opened this issue Jan 25, 2016 · 7 comments
Closed

Example .typingsrc file #120

stevewirts opened this issue Jan 25, 2016 · 7 comments

Comments

@stevewirts
Copy link

Hi
Could you please provide an example .typingsrc file, I'm having a difficult time understanding what it should look like, where it should go(users home directory?)
thanks...

@stevewirts
Copy link
Author

My issue is specifically corporate firewall,
thanks again!

@blakeembrey
Copy link
Member

Someone from #106 will have to answer because I don't have an environment to actually replicate the functionality - I implemented it based on feedback. However, it shouldn't be difficult unless the implementation is wrong. Take a look at https://github.com/typings/typings#configuration and the linked module https://github.com/dominictarr/rc#configuration-file-formats for information on where/how/etc.

@remojansen
Copy link
Contributor

I found my self trying the following with no luck:

{
    "proxy" : "http://XX.XX.XX.XX:8080",
    "rejectUnauthorized" : false
}

However, the following worked like a charm!

proxy="http://XX.XX.XX.XX:8080
rejectUnauthorized=false

@blakeembrey
Copy link
Member

@remojansen If the first option did not work, is it possible you had a UTF-8 BOM character?

@dsebastien
Copy link

Hey there,

Here's the .typingsrc file I've used to test this and some doc I've written for our project (very high level): dsebastien/angularjs-webpack-starter@1316036

@blakeembrey
Copy link
Member

Closing as resolved. Let me know if there's still issues.

@noomidian
Copy link

Thank you for the tip, you save me time, i put the file in the Windows user home C:\Users and it solves my problem :

{
"proxy" : "http://127.0.0.1:8888/",
"rejectUnauthorized" : false
}

i use fiddler (that's why i have loopback address)

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

No branches or pull requests

5 participants