Skip to content

Behind the proxy #2

@cooligc

Description

@cooligc

Hi ,

How we can add proxy if we are working behind the corporate firewall ?

Tried :
I put the proxy in .npmrc file . Still, It is not getting resolve.

Trace :
Application created. Attempting to run scripts now.

> Google-Map@0.0.1 postinstall C:\MyMachine\WorkSpace\POC\Sample-Angular2
> typings install

typings ERR! message Unable to read typings for "jasmine". You should check the entry paths in "jasmine.d.ts" are up to date
typings ERR! caused by Unable to connect to "https://raw.githubusercontent.com/DefinitelyTyped/DefinitelyTyped/5c182b9af717f73146399c2485f70f1e2ac0ff2b/jasmine/jasmine.d.ts"
typings ERR! caused by connect ETIMEDOUT 151.101.48.133:443

typings ERR! cwd C:\MyMachine\WorkSpace\POC\Sample-Angular2
typings ERR! system Windows_NT 6.1.7601
typings ERR! command "C:\\Program Files\\nodejs\\node.exe" "C:\\MyMachine\\WorkSpace\\POC\\Sample-Angular2\\node_modules\\typings\\dist\\bin.js" "install"
typings ERR! node -v v6.9.1
typings ERR! typings -v 0.7.12

typings ERR! If you need help, you may report this error at:
typings ERR!   <https://github.com/typings/typings/issues>

npm WARN optional SKIPPING OPTIONAL DEPENDENCY: fsevents@^1.0.0 (node_modules\chokidar\node_modules\fsevents):
npm WARN notsup SKIPPING OPTIONAL DEPENDENCY: Unsupported platform for fsevents@1.1.1: wanted {"os":"darwin","arch":"any"} (current: {"os":"win32","arch":"x64"})
npm WARN Google-Map@0.0.1 No repository field.
npm ERR! Windows_NT 6.1.7601
npm ERR! argv "C:\\Program Files\\nodejs\\node.exe" "C:\\Program Files\\nodejs\\node_modules\\npm\\bin\\npm-cli.js" "install"
npm ERR! node v6.9.1
npm ERR! npm  v3.10.8
npm ERR! code ELIFECYCLE
npm ERR! Google-Map@0.0.1 postinstall: `typings install`
npm ERR! Exit status 1
npm ERR!
npm ERR! Failed at the Google-Map@0.0.1 postinstall script 'typings install'.
npm ERR! Make sure you have the latest version of node.js and npm installed.
npm ERR! If you do, this is most likely a problem with the Google-Map package,
npm ERR! not with npm itself.
npm ERR! Tell the author that this fails on your system:
npm ERR!     typings install
npm ERR! You can get information on how to open an issue for this project with:
npm ERR!     npm bugs Google-Map
npm ERR! Or if that isn't available, you can get their info via:
npm ERR!     npm owner ls Google-Map
npm ERR! There is likely additional logging output above.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions