Skip to content

Instantly share code, notes, and snippets.

@codehero
Created May 19, 2014 12:43
Show Gist options
  • Save codehero/3c10745f86c7b3905276 to your computer and use it in GitHub Desktop.
Save codehero/3c10745f86c7b3905276 to your computer and use it in GitHub Desktop.
0 info it worked if it ends with ok
1 verbose cli [ 'c:\\Program Files\\nodejs\\node.exe',
1 verbose cli 'c:\\Program Files\\nodejs\\node_modules\\npm\\bin\\npm-cli.js',
1 verbose cli 'install',
1 verbose cli './node-libcurl/' ]
2 info using npm@1.4.3
3 info using node@v0.10.26
4 verbose cache add [ './node-libcurl/', null ]
5 verbose cache add name=undefined spec="./node-libcurl/" args=["./node-libcurl/",null]
6 verbose parsed url { protocol: null,
6 verbose parsed url slashes: null,
6 verbose parsed url auth: null,
6 verbose parsed url host: null,
6 verbose parsed url port: null,
6 verbose parsed url hostname: null,
6 verbose parsed url hash: null,
6 verbose parsed url search: null,
6 verbose parsed url query: null,
6 verbose parsed url pathname: './node-libcurl/',
6 verbose parsed url path: './node-libcurl/',
6 verbose parsed url href: './node-libcurl/' }
7 silly lockFile dbd40939-node-libcurl ./node-libcurl/
8 verbose lock ./node-libcurl/ C:\Users\dbender\AppData\Roaming\npm-cache\dbd40939-node-libcurl.lock
9 verbose tar pack [ 'C:\\Users\\dbender\\AppData\\Local\\Temp\\npm-4972-O5WAxR4u\\1400502950613-0.6342029061634094\\tmp.tgz',
9 verbose tar pack './node-libcurl/' ]
10 verbose tarball C:\Users\dbender\AppData\Local\Temp\npm-4972-O5WAxR4u\1400502950613-0.6342029061634094\tmp.tgz
11 verbose folder ./node-libcurl/
12 info prepublish node-libcurl@0.0.13
13 silly lockFile 692a27a1-tar-node-libcurl tar://./node-libcurl/
14 verbose lock tar://./node-libcurl/ C:\Users\dbender\AppData\Roaming\npm-cache\692a27a1-tar-node-libcurl.lock
15 silly lockFile a5f2c9f4-50613-0-6342029061634094-tmp-tgz tar://C:\Users\dbender\AppData\Local\Temp\npm-4972-O5WAxR4u\1400502950613-0.6342029061634094\tmp.tgz
16 verbose lock tar://C:\Users\dbender\AppData\Local\Temp\npm-4972-O5WAxR4u\1400502950613-0.6342029061634094\tmp.tgz C:\Users\dbender\AppData\Roaming\npm-cache\a5f2c9f4-50613-0-6342029061634094-tmp-tgz.lock
17 silly lockFile 692a27a1-tar-node-libcurl tar://./node-libcurl/
18 silly lockFile 692a27a1-tar-node-libcurl tar://./node-libcurl/
19 silly lockFile a5f2c9f4-50613-0-6342029061634094-tmp-tgz tar://C:\Users\dbender\AppData\Local\Temp\npm-4972-O5WAxR4u\1400502950613-0.6342029061634094\tmp.tgz
20 silly lockFile a5f2c9f4-50613-0-6342029061634094-tmp-tgz tar://C:\Users\dbender\AppData\Local\Temp\npm-4972-O5WAxR4u\1400502950613-0.6342029061634094\tmp.tgz
21 verbose tar unpack C:\Users\dbender\AppData\Local\Temp\npm-4972-O5WAxR4u\1400502950613-0.6342029061634094\tmp.tgz
22 silly lockFile 5a994125-50613-0-6342029061634094-package tar://C:\Users\dbender\AppData\Local\Temp\npm-4972-O5WAxR4u\1400502950613-0.6342029061634094\package
23 verbose lock tar://C:\Users\dbender\AppData\Local\Temp\npm-4972-O5WAxR4u\1400502950613-0.6342029061634094\package C:\Users\dbender\AppData\Roaming\npm-cache\5a994125-50613-0-6342029061634094-package.lock
24 silly lockFile a5f2c9f4-50613-0-6342029061634094-tmp-tgz tar://C:\Users\dbender\AppData\Local\Temp\npm-4972-O5WAxR4u\1400502950613-0.6342029061634094\tmp.tgz
25 verbose lock tar://C:\Users\dbender\AppData\Local\Temp\npm-4972-O5WAxR4u\1400502950613-0.6342029061634094\tmp.tgz C:\Users\dbender\AppData\Roaming\npm-cache\a5f2c9f4-50613-0-6342029061634094-tmp-tgz.lock
26 silly gunzTarPerm modes [ '755', '644' ]
27 silly gunzTarPerm extractEntry package.json
28 silly gunzTarPerm modified mode [ 'package.json', 438, 420 ]
29 silly gunzTarPerm extractEntry .npmignore
30 silly gunzTarPerm modified mode [ '.npmignore', 438, 420 ]
31 silly gunzTarPerm extractEntry README.md
32 silly gunzTarPerm modified mode [ 'README.md', 438, 420 ]
33 silly gunzTarPerm extractEntry index.js
34 silly gunzTarPerm modified mode [ 'index.js', 438, 420 ]
35 silly gunzTarPerm extractEntry examples/.npmignore
36 silly gunzTarPerm modified mode [ 'examples/.npmignore', 438, 420 ]
37 silly gunzTarPerm extractEntry examples/cookies.js
38 silly gunzTarPerm modified mode [ 'examples/cookies.js', 438, 420 ]
39 silly gunzTarPerm extractEntry examples/file-upload.js
40 silly gunzTarPerm modified mode [ 'examples/file-upload.js', 438, 420 ]
41 silly gunzTarPerm extractEntry examples/get-info.js
42 silly gunzTarPerm modified mode [ 'examples/get-info.js', 438, 420 ]
43 silly gunzTarPerm extractEntry examples/post-data.js
44 silly gunzTarPerm modified mode [ 'examples/post-data.js', 438, 420 ]
45 silly gunzTarPerm extractEntry examples/simple-request.js
46 silly gunzTarPerm modified mode [ 'examples/simple-request.js', 438, 420 ]
47 silly gunzTarPerm extractEntry examples/ssl.js
48 silly gunzTarPerm modified mode [ 'examples/ssl.js', 438, 420 ]
49 silly gunzTarPerm extractEntry examples/stress-test.js
50 silly gunzTarPerm modified mode [ 'examples/stress-test.js', 438, 420 ]
51 silly gunzTarPerm extractEntry examples/test-top-500.js
52 silly gunzTarPerm modified mode [ 'examples/test-top-500.js', 438, 420 ]
53 silly gunzTarPerm extractEntry examples/top-sites.js
54 silly gunzTarPerm modified mode [ 'examples/top-sites.js', 438, 420 ]
55 silly gunzTarPerm extractEntry binding.gyp
56 silly gunzTarPerm modified mode [ 'binding.gyp', 438, 420 ]
57 silly gunzTarPerm extractEntry .travis.yml
58 silly gunzTarPerm modified mode [ '.travis.yml', 438, 420 ]
59 silly gunzTarPerm extractEntry LICENSE-MIT
60 silly gunzTarPerm modified mode [ 'LICENSE-MIT', 438, 420 ]
61 silly gunzTarPerm extractEntry lib/Curl.js
62 silly gunzTarPerm modified mode [ 'lib/Curl.js', 438, 420 ]
63 silly gunzTarPerm extractEntry lib/generated-stubs/.npmignore
64 silly gunzTarPerm modified mode [ 'lib/generated-stubs/.npmignore', 438, 420 ]
65 silly gunzTarPerm extractEntry .gitmodules
66 silly gunzTarPerm modified mode [ '.gitmodules', 438, 420 ]
67 silly gunzTarPerm extractEntry src/Curl.cc
68 silly gunzTarPerm modified mode [ 'src/Curl.cc', 438, 420 ]
69 silly gunzTarPerm extractEntry src/Curl.h
70 silly gunzTarPerm modified mode [ 'src/Curl.h', 438, 420 ]
71 silly gunzTarPerm extractEntry src/CurlHttpPost.cc
72 silly gunzTarPerm modified mode [ 'src/CurlHttpPost.cc', 438, 420 ]
73 silly gunzTarPerm extractEntry src/CurlHttpPost.h
74 silly gunzTarPerm modified mode [ 'src/CurlHttpPost.h', 438, 420 ]
75 silly gunzTarPerm extractEntry src/generated-stubs/.npmignore
76 silly gunzTarPerm modified mode [ 'src/generated-stubs/.npmignore', 438, 420 ]
77 silly gunzTarPerm extractEntry src/node-libcurl.cc
78 silly gunzTarPerm modified mode [ 'src/node-libcurl.cc', 438, 420 ]
79 silly gunzTarPerm extractEntry src/string_format.cc
80 silly gunzTarPerm modified mode [ 'src/string_format.cc', 438, 420 ]
81 silly gunzTarPerm extractEntry src/string_format.h
82 silly gunzTarPerm modified mode [ 'src/string_format.h', 438, 420 ]
83 silly gunzTarPerm extractEntry src/strndup.cc
84 silly gunzTarPerm modified mode [ 'src/strndup.cc', 438, 420 ]
85 silly gunzTarPerm extractEntry src/strndup.h
86 silly gunzTarPerm modified mode [ 'src/strndup.h', 438, 420 ]
87 silly gunzTarPerm extractEntry tests/httpost-fileupload.js
88 silly gunzTarPerm modified mode [ 'tests/httpost-fileupload.js', 438, 420 ]
89 silly gunzTarPerm extractEntry tests/server.js
90 silly gunzTarPerm modified mode [ 'tests/server.js', 438, 420 ]
91 silly gunzTarPerm extractEntry tools/generate-stubs.js
92 silly gunzTarPerm modified mode [ 'tools/generate-stubs.js', 438, 420 ]
93 silly gunzTarPerm extractEntry tools/retrieve-win-deps.js
94 silly gunzTarPerm modified mode [ 'tools/retrieve-win-deps.js', 438, 420 ]
95 silly gunzTarPerm extractEntry tools/update-deps.js
96 silly gunzTarPerm modified mode [ 'tools/update-deps.js', 438, 420 ]
97 silly lockFile 5a994125-50613-0-6342029061634094-package tar://C:\Users\dbender\AppData\Local\Temp\npm-4972-O5WAxR4u\1400502950613-0.6342029061634094\package
98 silly lockFile 5a994125-50613-0-6342029061634094-package tar://C:\Users\dbender\AppData\Local\Temp\npm-4972-O5WAxR4u\1400502950613-0.6342029061634094\package
99 silly lockFile a5f2c9f4-50613-0-6342029061634094-tmp-tgz tar://C:\Users\dbender\AppData\Local\Temp\npm-4972-O5WAxR4u\1400502950613-0.6342029061634094\tmp.tgz
100 silly lockFile a5f2c9f4-50613-0-6342029061634094-tmp-tgz tar://C:\Users\dbender\AppData\Local\Temp\npm-4972-O5WAxR4u\1400502950613-0.6342029061634094\tmp.tgz
101 verbose tar pack [ 'C:\\Users\\dbender\\AppData\\Roaming\\npm-cache\\node-libcurl\\0.0.13\\package.tgz',
101 verbose tar pack 'C:\\Users\\dbender\\AppData\\Local\\Temp\\npm-4972-O5WAxR4u\\1400502950613-0.6342029061634094\\package' ]
102 verbose tarball C:\Users\dbender\AppData\Roaming\npm-cache\node-libcurl\0.0.13\package.tgz
103 verbose folder C:\Users\dbender\AppData\Local\Temp\npm-4972-O5WAxR4u\1400502950613-0.6342029061634094\package
104 silly lockFile 5a994125-50613-0-6342029061634094-package tar://C:\Users\dbender\AppData\Local\Temp\npm-4972-O5WAxR4u\1400502950613-0.6342029061634094\package
105 verbose lock tar://C:\Users\dbender\AppData\Local\Temp\npm-4972-O5WAxR4u\1400502950613-0.6342029061634094\package C:\Users\dbender\AppData\Roaming\npm-cache\5a994125-50613-0-6342029061634094-package.lock
106 silly lockFile 96783762--node-libcurl-0-0-13-package-tgz tar://C:\Users\dbender\AppData\Roaming\npm-cache\node-libcurl\0.0.13\package.tgz
107 verbose lock tar://C:\Users\dbender\AppData\Roaming\npm-cache\node-libcurl\0.0.13\package.tgz C:\Users\dbender\AppData\Roaming\npm-cache\96783762--node-libcurl-0-0-13-package-tgz.lock
108 silly lockFile 5a994125-50613-0-6342029061634094-package tar://C:\Users\dbender\AppData\Local\Temp\npm-4972-O5WAxR4u\1400502950613-0.6342029061634094\package
109 silly lockFile 5a994125-50613-0-6342029061634094-package tar://C:\Users\dbender\AppData\Local\Temp\npm-4972-O5WAxR4u\1400502950613-0.6342029061634094\package
110 silly lockFile 96783762--node-libcurl-0-0-13-package-tgz tar://C:\Users\dbender\AppData\Roaming\npm-cache\node-libcurl\0.0.13\package.tgz
111 silly lockFile 96783762--node-libcurl-0-0-13-package-tgz tar://C:\Users\dbender\AppData\Roaming\npm-cache\node-libcurl\0.0.13\package.tgz
112 silly lockFile fa4b463d-ache-node-libcurl-0-0-13-package C:\Users\dbender\AppData\Roaming\npm-cache\node-libcurl\0.0.13\package
113 verbose lock C:\Users\dbender\AppData\Roaming\npm-cache\node-libcurl\0.0.13\package C:\Users\dbender\AppData\Roaming\npm-cache\fa4b463d-ache-node-libcurl-0-0-13-package.lock
114 silly lockFile fa4b463d-ache-node-libcurl-0-0-13-package C:\Users\dbender\AppData\Roaming\npm-cache\node-libcurl\0.0.13\package
115 silly lockFile fa4b463d-ache-node-libcurl-0-0-13-package C:\Users\dbender\AppData\Roaming\npm-cache\node-libcurl\0.0.13\package
116 verbose tar unpack C:\Users\dbender\AppData\Roaming\npm-cache\node-libcurl\0.0.13\package.tgz
117 silly lockFile f04f7d79-ache-node-libcurl-0-0-13-package tar://C:\Users\dbender\AppData\Roaming\npm-cache\node-libcurl\0.0.13\package
118 verbose lock tar://C:\Users\dbender\AppData\Roaming\npm-cache\node-libcurl\0.0.13\package C:\Users\dbender\AppData\Roaming\npm-cache\f04f7d79-ache-node-libcurl-0-0-13-package.lock
119 silly lockFile 96783762--node-libcurl-0-0-13-package-tgz tar://C:\Users\dbender\AppData\Roaming\npm-cache\node-libcurl\0.0.13\package.tgz
120 verbose lock tar://C:\Users\dbender\AppData\Roaming\npm-cache\node-libcurl\0.0.13\package.tgz C:\Users\dbender\AppData\Roaming\npm-cache\96783762--node-libcurl-0-0-13-package-tgz.lock
121 silly gunzTarPerm modes [ '755', '644' ]
122 silly gunzTarPerm extractEntry package.json
123 silly gunzTarPerm modified mode [ 'package.json', 438, 420 ]
124 silly gunzTarPerm extractEntry .npmignore
125 silly gunzTarPerm modified mode [ '.npmignore', 438, 420 ]
126 silly gunzTarPerm extractEntry README.md
127 silly gunzTarPerm modified mode [ 'README.md', 438, 420 ]
128 silly gunzTarPerm extractEntry index.js
129 silly gunzTarPerm modified mode [ 'index.js', 438, 420 ]
130 silly gunzTarPerm extractEntry examples/.npmignore
131 silly gunzTarPerm modified mode [ 'examples/.npmignore', 438, 420 ]
132 silly gunzTarPerm extractEntry examples/cookies.js
133 silly gunzTarPerm modified mode [ 'examples/cookies.js', 438, 420 ]
134 silly gunzTarPerm extractEntry examples/file-upload.js
135 silly gunzTarPerm modified mode [ 'examples/file-upload.js', 438, 420 ]
136 silly gunzTarPerm extractEntry examples/get-info.js
137 silly gunzTarPerm modified mode [ 'examples/get-info.js', 438, 420 ]
138 silly gunzTarPerm extractEntry examples/post-data.js
139 silly gunzTarPerm modified mode [ 'examples/post-data.js', 438, 420 ]
140 silly gunzTarPerm extractEntry examples/simple-request.js
141 silly gunzTarPerm modified mode [ 'examples/simple-request.js', 438, 420 ]
142 silly gunzTarPerm extractEntry examples/ssl.js
143 silly gunzTarPerm modified mode [ 'examples/ssl.js', 438, 420 ]
144 silly gunzTarPerm extractEntry examples/stress-test.js
145 silly gunzTarPerm modified mode [ 'examples/stress-test.js', 438, 420 ]
146 silly gunzTarPerm extractEntry examples/test-top-500.js
147 silly gunzTarPerm modified mode [ 'examples/test-top-500.js', 438, 420 ]
148 silly gunzTarPerm extractEntry examples/top-sites.js
149 silly gunzTarPerm modified mode [ 'examples/top-sites.js', 438, 420 ]
150 silly gunzTarPerm extractEntry binding.gyp
151 silly gunzTarPerm modified mode [ 'binding.gyp', 438, 420 ]
152 silly gunzTarPerm extractEntry .travis.yml
153 silly gunzTarPerm modified mode [ '.travis.yml', 438, 420 ]
154 silly gunzTarPerm extractEntry LICENSE-MIT
155 silly gunzTarPerm modified mode [ 'LICENSE-MIT', 438, 420 ]
156 silly gunzTarPerm extractEntry lib/Curl.js
157 silly gunzTarPerm modified mode [ 'lib/Curl.js', 438, 420 ]
158 silly gunzTarPerm extractEntry lib/generated-stubs/.npmignore
159 silly gunzTarPerm modified mode [ 'lib/generated-stubs/.npmignore', 438, 420 ]
160 silly gunzTarPerm extractEntry .gitmodules
161 silly gunzTarPerm modified mode [ '.gitmodules', 438, 420 ]
162 silly gunzTarPerm extractEntry src/Curl.cc
163 silly gunzTarPerm modified mode [ 'src/Curl.cc', 438, 420 ]
164 silly gunzTarPerm extractEntry src/Curl.h
165 silly gunzTarPerm modified mode [ 'src/Curl.h', 438, 420 ]
166 silly gunzTarPerm extractEntry src/CurlHttpPost.cc
167 silly gunzTarPerm modified mode [ 'src/CurlHttpPost.cc', 438, 420 ]
168 silly gunzTarPerm extractEntry src/CurlHttpPost.h
169 silly gunzTarPerm modified mode [ 'src/CurlHttpPost.h', 438, 420 ]
170 silly gunzTarPerm extractEntry src/generated-stubs/.npmignore
171 silly gunzTarPerm modified mode [ 'src/generated-stubs/.npmignore', 438, 420 ]
172 silly gunzTarPerm extractEntry src/node-libcurl.cc
173 silly gunzTarPerm modified mode [ 'src/node-libcurl.cc', 438, 420 ]
174 silly gunzTarPerm extractEntry src/string_format.cc
175 silly gunzTarPerm modified mode [ 'src/string_format.cc', 438, 420 ]
176 silly gunzTarPerm extractEntry src/string_format.h
177 silly gunzTarPerm modified mode [ 'src/string_format.h', 438, 420 ]
178 silly gunzTarPerm extractEntry src/strndup.cc
179 silly gunzTarPerm modified mode [ 'src/strndup.cc', 438, 420 ]
180 silly gunzTarPerm extractEntry src/strndup.h
181 silly gunzTarPerm modified mode [ 'src/strndup.h', 438, 420 ]
182 silly gunzTarPerm extractEntry tests/httpost-fileupload.js
183 silly gunzTarPerm modified mode [ 'tests/httpost-fileupload.js', 438, 420 ]
184 silly gunzTarPerm extractEntry tests/server.js
185 silly gunzTarPerm modified mode [ 'tests/server.js', 438, 420 ]
186 silly gunzTarPerm extractEntry tools/generate-stubs.js
187 silly gunzTarPerm modified mode [ 'tools/generate-stubs.js', 438, 420 ]
188 silly gunzTarPerm extractEntry tools/retrieve-win-deps.js
189 silly gunzTarPerm modified mode [ 'tools/retrieve-win-deps.js', 438, 420 ]
190 silly gunzTarPerm extractEntry tools/update-deps.js
191 silly gunzTarPerm modified mode [ 'tools/update-deps.js', 438, 420 ]
192 silly lockFile f04f7d79-ache-node-libcurl-0-0-13-package tar://C:\Users\dbender\AppData\Roaming\npm-cache\node-libcurl\0.0.13\package
193 silly lockFile f04f7d79-ache-node-libcurl-0-0-13-package tar://C:\Users\dbender\AppData\Roaming\npm-cache\node-libcurl\0.0.13\package
194 silly lockFile 96783762--node-libcurl-0-0-13-package-tgz tar://C:\Users\dbender\AppData\Roaming\npm-cache\node-libcurl\0.0.13\package.tgz
195 silly lockFile 96783762--node-libcurl-0-0-13-package-tgz tar://C:\Users\dbender\AppData\Roaming\npm-cache\node-libcurl\0.0.13\package.tgz
196 verbose chmod C:\Users\dbender\AppData\Roaming\npm-cache\node-libcurl\0.0.13\package.tgz 644
197 silly chown skipping for windows C:\Users\dbender\AppData\Roaming\npm-cache\node-libcurl\0.0.13\package.tgz
198 silly lockFile dbd40939-node-libcurl ./node-libcurl/
199 silly lockFile dbd40939-node-libcurl ./node-libcurl/
200 silly resolved [ { name: 'node-libcurl',
200 silly resolved version: '0.0.13',
200 silly resolved author: { name: 'Jonathan Cardoso', email: 'me@jonathancardoso.com' },
200 silly resolved description: 'Node bindings for libcurl. Based on the work from node-curl.',
200 silly resolved keywords: [ 'node-curl', 'curl', 'libcurl', 'node-libcurl' ],
200 silly resolved homepage: 'https://github.com/JCMais/node-libcurl',
200 silly resolved repository: { type: 'git', url: 'git://github.com/JCMais/node-libcurl.git' },
200 silly resolved main: './index.js',
200 silly resolved scripts: { install: 'node tools/retrieve-win-deps && node tools/generate-stubs && node-gyp rebuild' },
200 silly resolved dependencies: { bindings: '~1.2.0' },
200 silly resolved devDependencies: { mocha: '~1.18.2', should: '~3.3.1', express: '~4.0.0' },
200 silly resolved engines: { node: '>= 0.8.0 && < 0.11.0' },
200 silly resolved readme: '# node-libcurl\n\n[![NPM version](https://badge.fury.io/js/node-libcurl.svg)](http://badge.fury.io/js/node-libcurl)\n[![Dependencies](https://gemnasium.com/JCMais/node-libcurl.png)](https://gemnasium.com/JCMais/node-libcurl)\n\nLibcurl bindings for Node.js.\n_Based on the work from [jiangmiao/node-curl](https://github.com/jiangmiao/node-curl)._\n\nNot recommended for production use yet!\nWork in progress.\n\n## Quick Start\n\n### Install\n```npm install node-libcurl```\n\n### Simple Request\n```javascript\nvar Curl = require( \'node-libcurl\' ).Curl;\n\nvar curl = new Curl();\n\ncurl.setOpt( \'URL\', \'www.google.com\' );\ncurl.setOpt( \'FOLLOWLOCATION\', true );\n\ncurl.on( \'end\', function( statusCode, body, headers ) {\n\n console.info( statusCode );\n console.info( \'---\' );\n console.info( body.length );\n console.info( \'---\' );\n console.info( this.getInfo( \'TOTAL_TIME\' ) );\n\n this.close();\n});\n\ncurl.on( \'error\', curl.close.bind( curl ) );\ncurl.perform();\n```\n\n### MultiPart Upload / HttpPost libcurl Option\n\n```javascript\nvar Curl = require( \'node-libcurl\' ).Curl;\n\nvar curl = new Curl(),\n close = curl.close.bind( curl );\n\ncurl.setOpt( curl.option.URL, \'127.0.0.1/upload.php\' );\ncurl.setOpt( curl.option.HTTPPOST, [\n { name: \'input-name\', file: \'/file/path\', type: \'text/html\' },\n { name: \'input-name2\', contents: \'field-contents\' }\n]);\n\ncurl.on( \'end\', close );\ncurl.on( \'error\', close );\n```\n\nFor more examples check the [examples folder](examples).\n\n## API\n\n### Curl\n\n* events:\n * end - Called when the request is finished without errors\n * int statusCode HTTP status code.\n * string|Buffer body If raw is set to true, a Buffer is passed instead of a string.\n * Array\\<Object>|Buffer headers Buffer if raw is true.\n * data - Called when a chunk of data was received.\n * Buffer chunk\n * header - Called when a chunk of headers was received.\n * Buffer header\n * error - Called when there was an error with the handler.\n * Error err\n * int errorCode libcurl error code.\n\n* methods:\n * getInfo - Get information from the handler\n * String|Int infoId Info id or the info name as string, you can use the constants from Curl.info\n * returns Array|String|Number Return value is based on the requested info.\n * setOpt - Set an option to the handler\n * String|Int optionId Option id or the option name as string, constants on Curl.option\n * Mixed optionValue Value is based on the given option, check libcurl documentation for more info.\n * perform - Process this handler.\n * reset - Reset the current curl handler.\n * close - Close the current curl instance, after calling this method, this handler is not usable anymore. You **MUST** call this on `error` and `end` events if you are not planning to use this handler anymore, it\'s **NOT** called by default.\n\n* members:\n * raw - bool - Get raw data on `data` and `header` events.\n * debug - bool - Enable debug messages, currently there are none.\n\n* static methods:\n * getCount - Get amount of Curl instances active\n * returns int\n * getVersion - Get libcurl version as string\n * returns string\n\n* static members:\n * option - Object with all options available.\n * info - Object with all infos available.\n * protocol - Object with the protocols supported by libcurl as bitmasks, should be used when setting PROTOCOLS and REDIR_PROTOCOLS options.\n\n\n## Installing on Windows\n\n#### What you need to have installed:\n\n* [Python 2.7](https://www.python.org/download/releases/2.7)\n* [Visual Studio 2010/2012](http://www.visualstudio.com/downloads/download-visual-studio-vs) (Express version works!)\n* Just that, really.\n',
200 silly resolved readmeFilename: 'README.md',
200 silly resolved bugs: { url: 'https://github.com/JCMais/node-libcurl/issues' },
200 silly resolved _id: 'node-libcurl@0.0.13',
200 silly resolved dist: { shasum: '185e1059aac1acbae7e2c2be86ef373db613bac4' },
200 silly resolved _from: './node-libcurl/' } ]
201 info install node-libcurl@0.0.13 into e:\CURL
202 info installOne node-libcurl@0.0.13
203 warn engine node-libcurl@0.0.13: wanted: {"node":">= 0.8.0 && < 0.11.0"} (current: {"node":"v0.10.26","npm":"1.4.3"})
204 info e:\CURL\node_modules\node-libcurl unbuild
205 verbose tar unpack C:\Users\dbender\AppData\Roaming\npm-cache\node-libcurl\0.0.13\package.tgz
206 silly lockFile 592f5329-e-CURL-node-modules-node-libcurl tar://e:\CURL\node_modules\node-libcurl
207 verbose lock tar://e:\CURL\node_modules\node-libcurl C:\Users\dbender\AppData\Roaming\npm-cache\592f5329-e-CURL-node-modules-node-libcurl.lock
208 silly lockFile 96783762--node-libcurl-0-0-13-package-tgz tar://C:\Users\dbender\AppData\Roaming\npm-cache\node-libcurl\0.0.13\package.tgz
209 verbose lock tar://C:\Users\dbender\AppData\Roaming\npm-cache\node-libcurl\0.0.13\package.tgz C:\Users\dbender\AppData\Roaming\npm-cache\96783762--node-libcurl-0-0-13-package-tgz.lock
210 silly gunzTarPerm modes [ '755', '644' ]
211 silly gunzTarPerm extractEntry package.json
212 silly gunzTarPerm modified mode [ 'package.json', 438, 420 ]
213 silly gunzTarPerm extractEntry .npmignore
214 silly gunzTarPerm modified mode [ '.npmignore', 438, 420 ]
215 silly gunzTarPerm extractEntry README.md
216 silly gunzTarPerm modified mode [ 'README.md', 438, 420 ]
217 silly gunzTarPerm extractEntry index.js
218 silly gunzTarPerm modified mode [ 'index.js', 438, 420 ]
219 silly gunzTarPerm extractEntry examples/.npmignore
220 silly gunzTarPerm modified mode [ 'examples/.npmignore', 438, 420 ]
221 silly gunzTarPerm extractEntry examples/cookies.js
222 silly gunzTarPerm modified mode [ 'examples/cookies.js', 438, 420 ]
223 silly gunzTarPerm extractEntry examples/file-upload.js
224 silly gunzTarPerm modified mode [ 'examples/file-upload.js', 438, 420 ]
225 silly gunzTarPerm extractEntry examples/get-info.js
226 silly gunzTarPerm modified mode [ 'examples/get-info.js', 438, 420 ]
227 silly gunzTarPerm extractEntry examples/post-data.js
228 silly gunzTarPerm modified mode [ 'examples/post-data.js', 438, 420 ]
229 silly gunzTarPerm extractEntry examples/simple-request.js
230 silly gunzTarPerm modified mode [ 'examples/simple-request.js', 438, 420 ]
231 silly gunzTarPerm extractEntry examples/ssl.js
232 silly gunzTarPerm modified mode [ 'examples/ssl.js', 438, 420 ]
233 silly gunzTarPerm extractEntry examples/stress-test.js
234 silly gunzTarPerm modified mode [ 'examples/stress-test.js', 438, 420 ]
235 silly gunzTarPerm extractEntry examples/test-top-500.js
236 silly gunzTarPerm modified mode [ 'examples/test-top-500.js', 438, 420 ]
237 silly gunzTarPerm extractEntry examples/top-sites.js
238 silly gunzTarPerm modified mode [ 'examples/top-sites.js', 438, 420 ]
239 silly gunzTarPerm extractEntry binding.gyp
240 silly gunzTarPerm modified mode [ 'binding.gyp', 438, 420 ]
241 silly gunzTarPerm extractEntry .travis.yml
242 silly gunzTarPerm modified mode [ '.travis.yml', 438, 420 ]
243 silly gunzTarPerm extractEntry LICENSE-MIT
244 silly gunzTarPerm modified mode [ 'LICENSE-MIT', 438, 420 ]
245 silly gunzTarPerm extractEntry lib/Curl.js
246 silly gunzTarPerm modified mode [ 'lib/Curl.js', 438, 420 ]
247 silly gunzTarPerm extractEntry lib/generated-stubs/.npmignore
248 silly gunzTarPerm modified mode [ 'lib/generated-stubs/.npmignore', 438, 420 ]
249 silly gunzTarPerm extractEntry .gitmodules
250 silly gunzTarPerm modified mode [ '.gitmodules', 438, 420 ]
251 silly gunzTarPerm extractEntry src/Curl.cc
252 silly gunzTarPerm modified mode [ 'src/Curl.cc', 438, 420 ]
253 silly gunzTarPerm extractEntry src/Curl.h
254 silly gunzTarPerm modified mode [ 'src/Curl.h', 438, 420 ]
255 silly gunzTarPerm extractEntry src/CurlHttpPost.cc
256 silly gunzTarPerm modified mode [ 'src/CurlHttpPost.cc', 438, 420 ]
257 silly gunzTarPerm extractEntry src/CurlHttpPost.h
258 silly gunzTarPerm modified mode [ 'src/CurlHttpPost.h', 438, 420 ]
259 silly gunzTarPerm extractEntry src/generated-stubs/.npmignore
260 silly gunzTarPerm modified mode [ 'src/generated-stubs/.npmignore', 438, 420 ]
261 silly gunzTarPerm extractEntry src/node-libcurl.cc
262 silly gunzTarPerm modified mode [ 'src/node-libcurl.cc', 438, 420 ]
263 silly gunzTarPerm extractEntry src/string_format.cc
264 silly gunzTarPerm modified mode [ 'src/string_format.cc', 438, 420 ]
265 silly gunzTarPerm extractEntry src/string_format.h
266 silly gunzTarPerm modified mode [ 'src/string_format.h', 438, 420 ]
267 silly gunzTarPerm extractEntry src/strndup.cc
268 silly gunzTarPerm modified mode [ 'src/strndup.cc', 438, 420 ]
269 silly gunzTarPerm extractEntry src/strndup.h
270 silly gunzTarPerm modified mode [ 'src/strndup.h', 438, 420 ]
271 silly gunzTarPerm extractEntry tests/httpost-fileupload.js
272 silly gunzTarPerm modified mode [ 'tests/httpost-fileupload.js', 438, 420 ]
273 silly gunzTarPerm extractEntry tests/server.js
274 silly gunzTarPerm modified mode [ 'tests/server.js', 438, 420 ]
275 silly gunzTarPerm extractEntry tools/generate-stubs.js
276 silly gunzTarPerm modified mode [ 'tools/generate-stubs.js', 438, 420 ]
277 silly gunzTarPerm extractEntry tools/retrieve-win-deps.js
278 silly gunzTarPerm modified mode [ 'tools/retrieve-win-deps.js', 438, 420 ]
279 silly gunzTarPerm extractEntry tools/update-deps.js
280 silly gunzTarPerm modified mode [ 'tools/update-deps.js', 438, 420 ]
281 silly lockFile 592f5329-e-CURL-node-modules-node-libcurl tar://e:\CURL\node_modules\node-libcurl
282 silly lockFile 592f5329-e-CURL-node-modules-node-libcurl tar://e:\CURL\node_modules\node-libcurl
283 silly lockFile 96783762--node-libcurl-0-0-13-package-tgz tar://C:\Users\dbender\AppData\Roaming\npm-cache\node-libcurl\0.0.13\package.tgz
284 silly lockFile 96783762--node-libcurl-0-0-13-package-tgz tar://C:\Users\dbender\AppData\Roaming\npm-cache\node-libcurl\0.0.13\package.tgz
285 info preinstall node-libcurl@0.0.13
286 verbose readDependencies using package.json deps
287 verbose readDependencies using package.json deps
288 verbose cache add [ 'bindings@~1.2.0', null ]
289 verbose cache add name=undefined spec="bindings@~1.2.0" args=["bindings@~1.2.0",null]
290 verbose parsed url { protocol: null,
290 verbose parsed url slashes: null,
290 verbose parsed url auth: null,
290 verbose parsed url host: null,
290 verbose parsed url port: null,
290 verbose parsed url hostname: null,
290 verbose parsed url hash: null,
290 verbose parsed url search: null,
290 verbose parsed url query: null,
290 verbose parsed url pathname: 'bindings@~1.2.0',
290 verbose parsed url path: 'bindings@~1.2.0',
290 verbose parsed url href: 'bindings@~1.2.0' }
291 verbose cache add name="bindings" spec="~1.2.0" args=["bindings","~1.2.0"]
292 verbose parsed url { protocol: null,
292 verbose parsed url slashes: null,
292 verbose parsed url auth: null,
292 verbose parsed url host: null,
292 verbose parsed url port: null,
292 verbose parsed url hostname: null,
292 verbose parsed url hash: null,
292 verbose parsed url search: null,
292 verbose parsed url query: null,
292 verbose parsed url pathname: '~1.2.0',
292 verbose parsed url path: '~1.2.0',
292 verbose parsed url href: '~1.2.0' }
293 verbose addNamed [ 'bindings', '~1.2.0' ]
294 verbose addNamed [ null, '>=1.2.0-0 <1.3.0-0' ]
295 silly lockFile b6dd1de3-bindings-1-2-0 bindings@~1.2.0
296 verbose lock bindings@~1.2.0 C:\Users\dbender\AppData\Roaming\npm-cache\b6dd1de3-bindings-1-2-0.lock
297 silly addNameRange { name: 'bindings', range: '>=1.2.0-0 <1.3.0-0', hasData: false }
298 verbose url raw bindings
299 verbose url resolving [ 'https://registry.npmjs.org/', './bindings' ]
300 verbose url resolved https://registry.npmjs.org/bindings
301 info trying registry request attempt 1 at 08:35:51
302 verbose etag "EF0U3ERBDZ107WR2K8OB2X3WQ"
303 http GET https://registry.npmjs.org/bindings
304 http 304 https://registry.npmjs.org/bindings
305 silly registry.get cb [ 304,
305 silly registry.get { date: 'Mon, 19 May 2014 12:35:51 GMT',
305 silly registry.get server: 'Apache',
305 silly registry.get via: '1.1 varnish',
305 silly registry.get 'last-modified': 'Mon, 19 May 2014 12:35:51 GMT',
305 silly registry.get 'cache-control': 'max-age=1',
305 silly registry.get etag: '"EF0U3ERBDZ107WR2K8OB2X3WQ"',
305 silly registry.get 'x-served-by': 'cache-iad2125-IAD',
305 silly registry.get 'x-cache': 'HIT',
305 silly registry.get 'x-cache-hits': '1',
305 silly registry.get 'x-timer': 'S1400502951.178483725,VS0,VE3',
305 silly registry.get vary: 'Accept',
305 silly registry.get 'content-length': '0',
305 silly registry.get 'keep-alive': 'timeout=10, max=50',
305 silly registry.get connection: 'Keep-Alive' } ]
306 verbose etag bindings from cache
307 silly addNameRange number 2 { name: 'bindings', range: '>=1.2.0-0 <1.3.0-0', hasData: true }
308 silly addNameRange versions [ 'bindings',
308 silly addNameRange [ '0.0.1',
308 silly addNameRange '0.1.0',
308 silly addNameRange '0.1.1',
308 silly addNameRange '0.2.0',
308 silly addNameRange '0.2.1',
308 silly addNameRange '0.2.2',
308 silly addNameRange '0.2.3',
308 silly addNameRange '0.2.4',
308 silly addNameRange '0.3.0',
308 silly addNameRange '0.4.0',
308 silly addNameRange '1.0.0',
308 silly addNameRange '1.1.0',
308 silly addNameRange '1.1.1',
308 silly addNameRange '1.2.0' ] ]
309 verbose addNamed [ 'bindings', '1.2.0' ]
310 verbose addNamed [ '1.2.0', '1.2.0' ]
311 silly lockFile edb95d60-bindings-1-2-0 bindings@1.2.0
312 verbose lock bindings@1.2.0 C:\Users\dbender\AppData\Roaming\npm-cache\edb95d60-bindings-1-2-0.lock
313 silly lockFile edb95d60-bindings-1-2-0 bindings@1.2.0
314 silly lockFile edb95d60-bindings-1-2-0 bindings@1.2.0
315 silly lockFile b6dd1de3-bindings-1-2-0 bindings@~1.2.0
316 silly lockFile b6dd1de3-bindings-1-2-0 bindings@~1.2.0
317 silly resolved [ { name: 'bindings',
317 silly resolved description: 'Helper module for loading your native module\'s .node file',
317 silly resolved keywords: [ 'native', 'addon', 'bindings', 'gyp', 'waf', 'c', 'c++' ],
317 silly resolved version: '1.2.0',
317 silly resolved author:
317 silly resolved { name: 'Nathan Rajlich',
317 silly resolved email: 'nathan@tootallnate.net',
317 silly resolved url: 'http://tootallnate.net' },
317 silly resolved repository:
317 silly resolved { type: 'git',
317 silly resolved url: 'git://github.com/TooTallNate/node-bindings.git' },
317 silly resolved main: './bindings.js',
317 silly resolved readme: 'node-bindings\n=============\n### Helper module for loading your native module\'s .node file\n\nThis is a helper module for authors of Node.js native addon modules.\nIt is basically the "swiss army knife" of `require()`ing your native module\'s\n`.node` file.\n\nThroughout the course of Node\'s native addon history, addons have ended up being\ncompiled in a variety of different places, depending on which build tool and which\nversion of node was used. To make matters worse, now the _gyp_ build tool can\nproduce either a _Release_ or _Debug_ build, each being built into different\nlocations.\n\nThis module checks _all_ the possible locations that a native addon would be built\nat, and returns the first one that loads successfully.\n\n\nInstallation\n------------\n\nInstall with `npm`:\n\n``` bash\n$ npm install bindings\n```\n\nOr add it to the `"dependencies"` section of your _package.json_ file.\n\n\nExample\n-------\n\n`require()`ing the proper bindings file for the current node version, platform\nand architecture is as simple as:\n\n``` js\nvar bindings = require(\'bindings\')(\'binding.node\')\n\n// Use your bindings defined in your C files\nbindings.your_c_function()\n```\n\n\nNice Error Output\n-----------------\n\nWhen the `.node` file could not be loaded, `node-bindings` throws an Error with\na nice error message telling you exactly what was tried. You can also check the\n`err.tries` Array property.\n\n```\nError: Could not load the bindings file. Tried:\n → /Users/nrajlich/ref/build/binding.node\n → /Users/nrajlich/ref/build/Debug/binding.node\n → /Users/nrajlich/ref/build/Release/binding.node\n → /Users/nrajlich/ref/out/Debug/binding.node\n → /Users/nrajlich/ref/Debug/binding.node\n → /Users/nrajlich/ref/out/Release/binding.node\n → /Users/nrajlich/ref/Release/binding.node\n → /Users/nrajlich/ref/build/default/binding.node\n → /Users/nrajlich/ref/compiled/0.8.2/darwin/x64/binding.node\n at bindings (/Users/nrajlich/ref/node_modules/bindings/bindings.js:84:13)\n at Object.<anonymous> (/Users/nrajlich/ref/lib/ref.js:5:47)\n at Module._compile (module.js:449:26)\n at Object.Module._extensions..js (module.js:467:10)\n at Module.load (module.js:356:32)\n at Function.Module._load (module.js:312:12)\n ...\n```\n\n\nLicense\n-------\n\n(The MIT License)\n\nCopyright (c) 2012 Nathan Rajlich &lt;nathan@tootallnate.net&gt;\n\nPermission is hereby granted, free of charge, to any person obtaining\na copy of this software and associated documentation files (the\n\'Software\'), to deal in the Software without restriction, including\nwithout limitation the rights to use, copy, modify, merge, publish,\ndistribute, sublicense, and/or sell copies of the Software, and to\npermit persons to whom the Software is furnished to do so, subject to\nthe following conditions:\n\nThe above copyright notice and this permission notice shall be\nincluded in all copies or substantial portions of the Software.\n\nTHE SOFTWARE IS PROVIDED \'AS IS\', WITHOUT WARRANTY OF ANY KIND,\nEXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF\nMERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT.\nIN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY\nCLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT,\nTORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE\nSOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.\n',
317 silly resolved readmeFilename: 'README.md',
317 silly resolved bugs: { url: 'https://github.com/TooTallNate/node-bindings/issues' },
317 silly resolved homepage: 'https://github.com/TooTallNate/node-bindings',
317 silly resolved _id: 'bindings@1.2.0',
317 silly resolved _from: 'bindings@~1.2.0' } ]
318 info install bindings@1.2.0 into e:\CURL\node_modules\node-libcurl
319 info installOne bindings@1.2.0
320 info e:\CURL\node_modules\node-libcurl\node_modules\bindings unbuild
321 verbose tar unpack C:\Users\dbender\AppData\Roaming\npm-cache\bindings\1.2.0\package.tgz
322 silly lockFile 0964e72d-de-libcurl-node-modules-bindings tar://e:\CURL\node_modules\node-libcurl\node_modules\bindings
323 verbose lock tar://e:\CURL\node_modules\node-libcurl\node_modules\bindings C:\Users\dbender\AppData\Roaming\npm-cache\0964e72d-de-libcurl-node-modules-bindings.lock
324 silly lockFile 7923674f-cache-bindings-1-2-0-package-tgz tar://C:\Users\dbender\AppData\Roaming\npm-cache\bindings\1.2.0\package.tgz
325 verbose lock tar://C:\Users\dbender\AppData\Roaming\npm-cache\bindings\1.2.0\package.tgz C:\Users\dbender\AppData\Roaming\npm-cache\7923674f-cache-bindings-1-2-0-package-tgz.lock
326 silly gunzTarPerm modes [ '755', '644' ]
327 silly gunzTarPerm extractEntry package.json
328 silly gunzTarPerm modified mode [ 'package.json', 438, 420 ]
329 silly gunzTarPerm extractEntry README.md
330 silly gunzTarPerm modified mode [ 'README.md', 438, 420 ]
331 silly gunzTarPerm extractEntry bindings.js
332 silly gunzTarPerm modified mode [ 'bindings.js', 438, 420 ]
333 silly lockFile 0964e72d-de-libcurl-node-modules-bindings tar://e:\CURL\node_modules\node-libcurl\node_modules\bindings
334 silly lockFile 0964e72d-de-libcurl-node-modules-bindings tar://e:\CURL\node_modules\node-libcurl\node_modules\bindings
335 silly lockFile 7923674f-cache-bindings-1-2-0-package-tgz tar://C:\Users\dbender\AppData\Roaming\npm-cache\bindings\1.2.0\package.tgz
336 silly lockFile 7923674f-cache-bindings-1-2-0-package-tgz tar://C:\Users\dbender\AppData\Roaming\npm-cache\bindings\1.2.0\package.tgz
337 info preinstall bindings@1.2.0
338 verbose readDependencies using package.json deps
339 verbose readDependencies using package.json deps
340 silly resolved []
341 verbose about to build e:\CURL\node_modules\node-libcurl\node_modules\bindings
342 info build e:\CURL\node_modules\node-libcurl\node_modules\bindings
343 verbose linkStuff [ false,
343 verbose linkStuff false,
343 verbose linkStuff false,
343 verbose linkStuff 'e:\\CURL\\node_modules\\node-libcurl\\node_modules' ]
344 info linkStuff bindings@1.2.0
345 verbose linkBins bindings@1.2.0
346 verbose linkMans bindings@1.2.0
347 verbose rebuildBundles bindings@1.2.0
348 info install bindings@1.2.0
349 info postinstall bindings@1.2.0
350 verbose about to build e:\CURL\node_modules\node-libcurl
351 info build e:\CURL\node_modules\node-libcurl
352 verbose linkStuff [ false, false, false, 'e:\\CURL\\node_modules' ]
353 info linkStuff node-libcurl@0.0.13
354 verbose linkBins node-libcurl@0.0.13
355 verbose linkMans node-libcurl@0.0.13
356 verbose rebuildBundles node-libcurl@0.0.13
357 verbose rebuildBundles [ 'bindings' ]
358 info install node-libcurl@0.0.13
359 verbose unsafe-perm in lifecycle true
360 info node-libcurl@0.0.13 Failed to exec install script
361 info e:\CURL\node_modules\node-libcurl unbuild
362 info preuninstall node-libcurl@0.0.13
363 info uninstall node-libcurl@0.0.13
364 verbose true,e:\CURL\node_modules,e:\CURL\node_modules unbuild node-libcurl@0.0.13
365 info postuninstall node-libcurl@0.0.13
366 error node-libcurl@0.0.13 install: `node tools/retrieve-win-deps && node tools/generate-stubs && node-gyp rebuild`
366 error Exit status 1
367 error Failed at the node-libcurl@0.0.13 install script.
367 error This is most likely a problem with the node-libcurl package,
367 error not with npm itself.
367 error Tell the author that this fails on your system:
367 error node tools/retrieve-win-deps && node tools/generate-stubs && node-gyp rebuild
367 error You can get their info via:
367 error npm owner ls node-libcurl
367 error There is likely additional logging output above.
368 error System Windows_NT 6.1.7601
369 error command "c:\\Program Files\\nodejs\\node.exe" "c:\\Program Files\\nodejs\\node_modules\\npm\\bin\\npm-cli.js" "install" "./node-libcurl/"
370 error cwd e:\CURL\JCMais
371 error node -v v0.10.26
372 error npm -v 1.4.3
373 error code ELIFECYCLE
374 verbose exit [ 1, true ]
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment