mklabs / node-build-script

MIT License
322 stars 55 forks source link

Error: connect ETIMEDOUT #81

Open small-carbon opened 11 years ago

small-carbon commented 11 years ago

$ h5bp -f init Running "init:h5bp" (init) task This task will create one or more files in the current directory, based on the environment and the answers to a few questions. Note that answering "?" to any question will show question-specific help and answering "none" to most questions will leave its value blank.

Existing files may be overwritten! Used --force, continuing.

"h5bp" template notes: First time the init task is run with h5bp template, the latest version of html5-boilerplate is downloaded locally.

The resulting output depends on the few question grunt asks during the process. This includes some path rewrites (like renaming the css/style.css file to something else).

Simply keep pressing enter for the default h5bp layout.

There's four "step" of prompts:

This template tries to guess file and directory paths, but you will most likely need to edit the generated grunt.js file before running grunt. If you run grunt after generating grunt.js, and grunt exits with errors, edit the grunt.js file!

path.existsSync is now called fs.existsSync.

Please answer the following: [?] Project name (zjutsw) HTML5Demo [?] Description (The best project ever.) [?] Version (0.1.0) [?] Project git repository (git://github.com/zjutsw/HTML5Demo.git) [?] Project homepage (https://github.com/zjutsw/HTML5Demo) [?] Licenses (MIT) [?] Author name (majianxiong) [?] Author email (jianxiong0322@gmail.com) [?] Author url (none) [?] Do you need to make any changes to the above before continuing? (y/N)

Fetching http://github.com/h5bp/html5-boilerplate/tarball/master This might take a few moment

Error: connect ETIMEDOUT

Task "init:h5bp" failed. Used --force, continuing.

Done, but with warnings.

small-carbon commented 11 years ago

npm proxy set : $ npm config set proxy=http://172.19.18.22:8080

Git/etc/gitconfig modify [http] sslCAinfo = /bin/curl-ca-bundle.crt proxy = http://172.19.18.22:8080

Proxy are set up, how can timeout errror ?

small-carbon commented 11 years ago

$ h5bp init -f

This task will create one or more files in the current directory, based on the environment and the answers to a few questions. Note that answering "?" to any question will show question-specific help and answering "none" to most questions will leave its value blank.

"h5bp" template notes: First time the init task is run with h5bp template, the latest version of html5-boilerplate is downloaded locally.

The resulting output depends on the few question grunt asks during the process. This includes some path rewrites (like renaming the css/style.css file to something else).

Simply keep pressing enter for the default h5bp layout.

There's four "step" of prompts:

This template tries to guess file and directory paths, but you will most likely need to edit the generated grunt.js file before running grunt. If you run grunt after generating grunt.js, and grunt exits with errors, edit the grunt.js file!

path.existsSync is now called fs.existsSync.

Please answer the following: [?] Project name (HTML5) html5demo [?] Description (The best project ever.) [?] Version (0.1.0) [?] Project git repository (git://github.com/zjutsw/html5demo.git) [?] Project homepage (https://github.com/zjutsw/html5demo) [?] Licenses (MIT) [?] Author name (majianxiong) [?] Author email (jianxiong0322@gmail.com) [?] Author url (none) [?] Do you need to make any changes to the above before continuing? (y/N)

Fetching http://github.com/h5bp/html5-boilerplate/tarball/master This might take a few moment

Error: Hostname/IP doesn't match certificate's altnames

Task "init:h5bp" failed. Used --force, continuing.

Done, but with warnings.

small-carbon commented 11 years ago

Hostname/IP doesn't match certificate's altnames What is wrong?