node-build-script icon indicating copy to clipboard operation
node-build-script copied to clipboard

Error: connect ETIMEDOUT

Open small-carbon opened this issue 12 years ago • 3 comments

$ 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.

<WARN> Existing files may be overwritten! Used --force, continuing. </WARN>

"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:

  • project: Basic project configuration (name, description, version, ...)
  • layout: [D]efault, [C]ustom, [S]illy
  • files: Depends on layout value, series of prompts for specific file / directory renames
  • gruntfile: Gruntfile creation

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 ([email protected]) [?] 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 <WARN> Task "init:h5bp" failed. Used --force, continuing. </WARN>

Done, but with warnings.

small-carbon avatar Apr 17 '13 03:04 small-carbon

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 avatar Apr 17 '13 03:04 small-carbon

$ 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:

  • project: Basic project configuration (name, description, version, ...)
  • layout: [D]efault, [C]ustom, [S]illy
  • files: Depends on layout value, series of prompts for specific file / directory renames
  • gruntfile: Gruntfile creation

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 ([email protected]) [?] 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 <WARN> Task "init:h5bp" failed. Used --force, continuing. </WARN>

Done, but with warnings.

small-carbon avatar Apr 17 '13 08:04 small-carbon

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

small-carbon avatar Apr 17 '13 08:04 small-carbon