Skip to content

Instantly share code, notes, and snippets.

@egberts
Created July 7, 2016 15:14
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save egberts/b4a4b501d3ca78e30fc9bc6f68a4dac4 to your computer and use it in GitHub Desktop.
Save egberts/b4a4b501d3ca78e30fc9bc6f68a4dac4 to your computer and use it in GitHub Desktop.
js-beautify NPM error
[root js-beautify-master]# ./build
Building python module...
Obtaining file:///tmp/js-beautify-master/python
Requirement already satisfied (use --upgrade to upgrade): six>=1.6.1 in /usr/lib/python2.7/site-packages (from jsbeautifier==1.6.3)
Installing collected packages: jsbeautifier
Running setup.py develop for jsbeautifier
Successfully installed jsbeautifier-1.6.3
Building javascript...
npm http GET https://registry.npmjs.org/mkdirp
npm http GET https://registry.npmjs.org/nopt
npm http GET https://registry.npmjs.org/jshint
npm http GET https://registry.npmjs.org/node-static
npm http GET https://registry.npmjs.org/mustache
npm http GET https://registry.npmjs.org/requirejs
npm http GET https://registry.npmjs.org/benchmark/2.1.0
npm http GET https://registry.npmjs.org/config-chain
npm http GET https://registry.npmjs.org/mkdirp
npm http GET https://registry.npmjs.org/nopt
npm http GET https://registry.npmjs.org/jshint
npm http GET https://registry.npmjs.org/node-static
npm http GET https://registry.npmjs.org/requirejs
npm http GET https://registry.npmjs.org/benchmark/2.1.0
npm http GET https://registry.npmjs.org/config-chain
npm http GET https://registry.npmjs.org/mustache
npm http GET https://registry.npmjs.org/mkdirp
npm http GET https://registry.npmjs.org/nopt
npm http GET https://registry.npmjs.org/jshint
npm http GET https://registry.npmjs.org/node-static
npm http GET https://registry.npmjs.org/requirejs
npm http GET https://registry.npmjs.org/benchmark/2.1.0
npm http GET https://registry.npmjs.org/config-chain
npm http GET https://registry.npmjs.org/mustache
npm ERR! Error: getaddrinfo ESRCH
npm ERR! at errnoException (dns.js:37:11)
npm ERR! at Object.onanswer [as oncomplete] (dns.js:126:16)
npm ERR! If you need help, you may report this log at:
npm ERR! <http://github.com/isaacs/npm/issues>
npm ERR! or email it to:
npm ERR! <npm-@googlegroups.com>
npm ERR! System Linux 3.10.0-327.18.2.el7.x86_64
npm ERR! command "node" "/bin/npm" "install"
npm ERR! cwd /tmp/js-beautify-master
npm ERR! node -v v0.10.42
npm ERR! npm -v 1.3.6
npm ERR! syscall getaddrinfo
npm ERR! code ESRCH
npm ERR! errno ESRCH
npm ERR!
npm ERR! Additional logging details can be found in:
npm ERR! /tmp/js-beautify-master/npm-debug.log
npm ERR! not ok code 0
0 info it worked if it ends with ok
1 verbose cli [ 'node', '/bin/npm', 'install' ]
2 info using npm@1.3.6
3 info using node@v0.10.42
4 verbose node symlink /bin/node
5 verbose readDependencies using package.json deps
6 verbose install where, deps [ '/tmp/js-beautify-master',
6 verbose install [ 'config-chain',
6 verbose install 'mkdirp',
6 verbose install 'nopt',
6 verbose install 'jshint',
6 verbose install 'node-static',
6 verbose install 'mustache',
6 verbose install 'requirejs',
6 verbose install 'benchmark' ] ]
7 info preinstall js-beautify@1.6.3
8 verbose readDependencies using package.json deps
9 verbose cache add [ 'mkdirp@~0.5.0', null ]
10 verbose cache add name=undefined spec="mkdirp@~0.5.0" args=["mkdirp@~0.5.0",null]
11 verbose parsed url { protocol: null,
11 verbose parsed url slashes: null,
11 verbose parsed url auth: null,
11 verbose parsed url host: null,
11 verbose parsed url port: null,
11 verbose parsed url hostname: null,
11 verbose parsed url hash: null,
11 verbose parsed url search: null,
11 verbose parsed url query: null,
11 verbose parsed url pathname: 'mkdirp@~0.5.0',
11 verbose parsed url path: 'mkdirp@~0.5.0',
11 verbose parsed url href: 'mkdirp@~0.5.0' }
12 verbose cache add name="mkdirp" spec="~0.5.0" args=["mkdirp","~0.5.0"]
13 verbose parsed url { protocol: null,
13 verbose parsed url slashes: null,
13 verbose parsed url auth: null,
13 verbose parsed url host: null,
13 verbose parsed url port: null,
13 verbose parsed url hostname: null,
13 verbose parsed url hash: null,
13 verbose parsed url search: null,
13 verbose parsed url query: null,
13 verbose parsed url pathname: '~0.5.0',
13 verbose parsed url path: '~0.5.0',
13 verbose parsed url href: '~0.5.0' }
14 verbose addNamed [ 'mkdirp', '~0.5.0' ]
15 verbose addNamed [ null, '>=0.5.0-0 <0.6.0-0' ]
16 verbose cache add [ 'nopt@~3.0.1', null ]
17 verbose cache add name=undefined spec="nopt@~3.0.1" args=["nopt@~3.0.1",null]
18 verbose parsed url { protocol: null,
18 verbose parsed url slashes: null,
18 verbose parsed url auth: null,
18 verbose parsed url host: null,
18 verbose parsed url port: null,
18 verbose parsed url hostname: null,
18 verbose parsed url hash: null,
18 verbose parsed url search: null,
18 verbose parsed url query: null,
18 verbose parsed url pathname: 'nopt@~3.0.1',
18 verbose parsed url path: 'nopt@~3.0.1',
18 verbose parsed url href: 'nopt@~3.0.1' }
19 verbose cache add name="nopt" spec="~3.0.1" args=["nopt","~3.0.1"]
20 verbose parsed url { protocol: null,
20 verbose parsed url slashes: null,
20 verbose parsed url auth: null,
20 verbose parsed url host: null,
20 verbose parsed url port: null,
20 verbose parsed url hostname: null,
20 verbose parsed url hash: null,
20 verbose parsed url search: null,
20 verbose parsed url query: null,
20 verbose parsed url pathname: '~3.0.1',
20 verbose parsed url path: '~3.0.1',
20 verbose parsed url href: '~3.0.1' }
21 verbose addNamed [ 'nopt', '~3.0.1' ]
22 verbose addNamed [ null, '>=3.0.1-0 <3.1.0-0' ]
23 verbose cache add [ 'jshint@~2.9.1', null ]
24 verbose cache add name=undefined spec="jshint@~2.9.1" args=["jshint@~2.9.1",null]
25 verbose parsed url { protocol: null,
25 verbose parsed url slashes: null,
25 verbose parsed url auth: null,
25 verbose parsed url host: null,
25 verbose parsed url port: null,
25 verbose parsed url hostname: null,
25 verbose parsed url hash: null,
25 verbose parsed url search: null,
25 verbose parsed url query: null,
25 verbose parsed url pathname: 'jshint@~2.9.1',
25 verbose parsed url path: 'jshint@~2.9.1',
25 verbose parsed url href: 'jshint@~2.9.1' }
26 verbose cache add name="jshint" spec="~2.9.1" args=["jshint","~2.9.1"]
27 verbose parsed url { protocol: null,
27 verbose parsed url slashes: null,
27 verbose parsed url auth: null,
27 verbose parsed url host: null,
27 verbose parsed url port: null,
27 verbose parsed url hostname: null,
27 verbose parsed url hash: null,
27 verbose parsed url search: null,
27 verbose parsed url query: null,
27 verbose parsed url pathname: '~2.9.1',
27 verbose parsed url path: '~2.9.1',
27 verbose parsed url href: '~2.9.1' }
28 verbose addNamed [ 'jshint', '~2.9.1' ]
29 verbose addNamed [ null, '>=2.9.1-0 <2.10.0-0' ]
30 verbose cache add [ 'node-static@~0.7.1', null ]
31 verbose cache add name=undefined spec="node-static@~0.7.1" args=["node-static@~0.7.1",null]
32 verbose parsed url { protocol: null,
32 verbose parsed url slashes: null,
32 verbose parsed url auth: null,
32 verbose parsed url host: null,
32 verbose parsed url port: null,
32 verbose parsed url hostname: null,
32 verbose parsed url hash: null,
32 verbose parsed url search: null,
32 verbose parsed url query: null,
32 verbose parsed url pathname: 'node-static@~0.7.1',
32 verbose parsed url path: 'node-static@~0.7.1',
32 verbose parsed url href: 'node-static@~0.7.1' }
33 verbose cache add name="node-static" spec="~0.7.1" args=["node-static","~0.7.1"]
34 verbose parsed url { protocol: null,
34 verbose parsed url slashes: null,
34 verbose parsed url auth: null,
34 verbose parsed url host: null,
34 verbose parsed url port: null,
34 verbose parsed url hostname: null,
34 verbose parsed url hash: null,
34 verbose parsed url search: null,
34 verbose parsed url query: null,
34 verbose parsed url pathname: '~0.7.1',
34 verbose parsed url path: '~0.7.1',
34 verbose parsed url href: '~0.7.1' }
35 verbose addNamed [ 'node-static', '~0.7.1' ]
36 verbose addNamed [ null, '>=0.7.1-0 <0.8.0-0' ]
37 verbose cache add [ 'mustache@~2.2.1', null ]
38 verbose cache add name=undefined spec="mustache@~2.2.1" args=["mustache@~2.2.1",null]
39 verbose parsed url { protocol: null,
39 verbose parsed url slashes: null,
39 verbose parsed url auth: null,
39 verbose parsed url host: null,
39 verbose parsed url port: null,
39 verbose parsed url hostname: null,
39 verbose parsed url hash: null,
39 verbose parsed url search: null,
39 verbose parsed url query: null,
39 verbose parsed url pathname: 'mustache@~2.2.1',
39 verbose parsed url path: 'mustache@~2.2.1',
39 verbose parsed url href: 'mustache@~2.2.1' }
40 verbose cache add name="mustache" spec="~2.2.1" args=["mustache","~2.2.1"]
41 verbose parsed url { protocol: null,
41 verbose parsed url slashes: null,
41 verbose parsed url auth: null,
41 verbose parsed url host: null,
41 verbose parsed url port: null,
41 verbose parsed url hostname: null,
41 verbose parsed url hash: null,
41 verbose parsed url search: null,
41 verbose parsed url query: null,
41 verbose parsed url pathname: '~2.2.1',
41 verbose parsed url path: '~2.2.1',
41 verbose parsed url href: '~2.2.1' }
42 verbose addNamed [ 'mustache', '~2.2.1' ]
43 verbose addNamed [ null, '>=2.2.1-0 <2.3.0-0' ]
44 verbose cache add [ 'requirejs@2.1.x', null ]
45 verbose cache add name=undefined spec="requirejs@2.1.x" args=["requirejs@2.1.x",null]
46 verbose parsed url { protocol: null,
46 verbose parsed url slashes: null,
46 verbose parsed url auth: null,
46 verbose parsed url host: null,
46 verbose parsed url port: null,
46 verbose parsed url hostname: null,
46 verbose parsed url hash: null,
46 verbose parsed url search: null,
46 verbose parsed url query: null,
46 verbose parsed url pathname: 'requirejs@2.1.x',
46 verbose parsed url path: 'requirejs@2.1.x',
46 verbose parsed url href: 'requirejs@2.1.x' }
47 verbose cache add name="requirejs" spec="2.1.x" args=["requirejs","2.1.x"]
48 verbose parsed url { protocol: null,
48 verbose parsed url slashes: null,
48 verbose parsed url auth: null,
48 verbose parsed url host: null,
48 verbose parsed url port: null,
48 verbose parsed url hostname: null,
48 verbose parsed url hash: null,
48 verbose parsed url search: null,
48 verbose parsed url query: null,
48 verbose parsed url pathname: '2.1.x',
48 verbose parsed url path: '2.1.x',
48 verbose parsed url href: '2.1.x' }
49 verbose addNamed [ 'requirejs', '2.1.x' ]
50 verbose addNamed [ null, '>=2.1.0-0 <2.2.0-0' ]
51 verbose cache add [ 'benchmark@2.1.0', null ]
52 verbose cache add name=undefined spec="benchmark@2.1.0" args=["benchmark@2.1.0",null]
53 verbose parsed url { protocol: null,
53 verbose parsed url slashes: null,
53 verbose parsed url auth: null,
53 verbose parsed url host: null,
53 verbose parsed url port: null,
53 verbose parsed url hostname: null,
53 verbose parsed url hash: null,
53 verbose parsed url search: null,
53 verbose parsed url query: null,
53 verbose parsed url pathname: 'benchmark@2.1.0',
53 verbose parsed url path: 'benchmark@2.1.0',
53 verbose parsed url href: 'benchmark@2.1.0' }
54 verbose cache add name="benchmark" spec="2.1.0" args=["benchmark","2.1.0"]
55 verbose parsed url { protocol: null,
55 verbose parsed url slashes: null,
55 verbose parsed url auth: null,
55 verbose parsed url host: null,
55 verbose parsed url port: null,
55 verbose parsed url hostname: null,
55 verbose parsed url hash: null,
55 verbose parsed url search: null,
55 verbose parsed url query: null,
55 verbose parsed url pathname: '2.1.0',
55 verbose parsed url path: '2.1.0',
55 verbose parsed url href: '2.1.0' }
56 verbose addNamed [ 'benchmark', '2.1.0' ]
57 verbose addNamed [ '2.1.0', '2.1.0' ]
58 verbose cache add [ 'config-chain@~1.1.5', null ]
59 verbose cache add name=undefined spec="config-chain@~1.1.5" args=["config-chain@~1.1.5",null]
60 verbose parsed url { protocol: null,
60 verbose parsed url slashes: null,
60 verbose parsed url auth: null,
60 verbose parsed url host: null,
60 verbose parsed url port: null,
60 verbose parsed url hostname: null,
60 verbose parsed url hash: null,
60 verbose parsed url search: null,
60 verbose parsed url query: null,
60 verbose parsed url pathname: 'config-chain@~1.1.5',
60 verbose parsed url path: 'config-chain@~1.1.5',
60 verbose parsed url href: 'config-chain@~1.1.5' }
61 verbose cache add name="config-chain" spec="~1.1.5" args=["config-chain","~1.1.5"]
62 verbose parsed url { protocol: null,
62 verbose parsed url slashes: null,
62 verbose parsed url auth: null,
62 verbose parsed url host: null,
62 verbose parsed url port: null,
62 verbose parsed url hostname: null,
62 verbose parsed url hash: null,
62 verbose parsed url search: null,
62 verbose parsed url query: null,
62 verbose parsed url pathname: '~1.1.5',
62 verbose parsed url path: '~1.1.5',
62 verbose parsed url href: '~1.1.5' }
63 verbose addNamed [ 'config-chain', '~1.1.5' ]
64 verbose addNamed [ null, '>=1.1.5-0 <1.2.0-0' ]
65 silly lockFile 3880d7a6-mkdirp-0-5-0 mkdirp@~0.5.0
66 verbose lock mkdirp@~0.5.0 /root/.npm/3880d7a6-mkdirp-0-5-0.lock
67 silly lockFile 9f9d1f6e-nopt-3-0-1 nopt@~3.0.1
68 verbose lock nopt@~3.0.1 /root/.npm/9f9d1f6e-nopt-3-0-1.lock
69 silly lockFile a9130c87-jshint-2-9-1 jshint@~2.9.1
70 verbose lock jshint@~2.9.1 /root/.npm/a9130c87-jshint-2-9-1.lock
71 silly lockFile 61bc1d5e-node-static-0-7-1 node-static@~0.7.1
72 verbose lock node-static@~0.7.1 /root/.npm/61bc1d5e-node-static-0-7-1.lock
73 silly lockFile cb68bc3f-mustache-2-2-1 mustache@~2.2.1
74 verbose lock mustache@~2.2.1 /root/.npm/cb68bc3f-mustache-2-2-1.lock
75 silly lockFile 2120676d-requirejs-2-1-x requirejs@2.1.x
76 verbose lock requirejs@2.1.x /root/.npm/2120676d-requirejs-2-1-x.lock
77 silly lockFile d5024396-benchmark-2-1-0 benchmark@2.1.0
78 verbose lock benchmark@2.1.0 /root/.npm/d5024396-benchmark-2-1-0.lock
79 silly lockFile fc9bad81-config-chain-1-1-5 config-chain@~1.1.5
80 verbose lock config-chain@~1.1.5 /root/.npm/fc9bad81-config-chain-1-1-5.lock
81 silly addNameRange { name: 'mkdirp', range: '>=0.5.0-0 <0.6.0-0', hasData: false }
82 silly addNameRange { name: 'nopt', range: '>=3.0.1-0 <3.1.0-0', hasData: false }
83 silly addNameRange { name: 'jshint', range: '>=2.9.1-0 <2.10.0-0', hasData: false }
84 silly addNameRange { name: 'node-static',
84 silly addNameRange range: '>=0.7.1-0 <0.8.0-0',
84 silly addNameRange hasData: false }
85 verbose url raw mkdirp
86 verbose url resolving [ 'https://registry.npmjs.org/', './mkdirp' ]
87 verbose url resolved https://registry.npmjs.org/mkdirp
88 info trying registry request attempt 1 at 10:51:53
89 http GET https://registry.npmjs.org/mkdirp
90 silly addNameRange { name: 'mustache', range: '>=2.2.1-0 <2.3.0-0', hasData: false }
91 silly addNameRange { name: 'requirejs',
91 silly addNameRange range: '>=2.1.0-0 <2.2.0-0',
91 silly addNameRange hasData: false }
92 verbose url raw nopt
93 verbose url resolving [ 'https://registry.npmjs.org/', './nopt' ]
94 verbose url resolved https://registry.npmjs.org/nopt
95 info trying registry request attempt 1 at 10:51:53
96 http GET https://registry.npmjs.org/nopt
97 silly addNameRange { name: 'config-chain',
97 silly addNameRange range: '>=1.1.5-0 <1.2.0-0',
97 silly addNameRange hasData: false }
98 verbose url raw jshint
99 verbose url resolving [ 'https://registry.npmjs.org/', './jshint' ]
100 verbose url resolved https://registry.npmjs.org/jshint
101 info trying registry request attempt 1 at 10:51:53
102 http GET https://registry.npmjs.org/jshint
103 verbose url raw node-static
104 verbose url resolving [ 'https://registry.npmjs.org/', './node-static' ]
105 verbose url resolved https://registry.npmjs.org/node-static
106 info trying registry request attempt 1 at 10:51:53
107 http GET https://registry.npmjs.org/node-static
108 verbose url raw mustache
109 verbose url resolving [ 'https://registry.npmjs.org/', './mustache' ]
110 verbose url resolved https://registry.npmjs.org/mustache
111 info trying registry request attempt 1 at 10:51:53
112 http GET https://registry.npmjs.org/mustache
113 verbose url raw requirejs
114 verbose url resolving [ 'https://registry.npmjs.org/', './requirejs' ]
115 verbose url resolved https://registry.npmjs.org/requirejs
116 info trying registry request attempt 1 at 10:51:53
117 http GET https://registry.npmjs.org/requirejs
118 verbose url raw benchmark/2.1.0
119 verbose url resolving [ 'https://registry.npmjs.org/', './benchmark/2.1.0' ]
120 verbose url resolved https://registry.npmjs.org/benchmark/2.1.0
121 info trying registry request attempt 1 at 10:51:53
122 http GET https://registry.npmjs.org/benchmark/2.1.0
123 verbose url raw config-chain
124 verbose url resolving [ 'https://registry.npmjs.org/', './config-chain' ]
125 verbose url resolved https://registry.npmjs.org/config-chain
126 info trying registry request attempt 1 at 10:51:53
127 http GET https://registry.npmjs.org/config-chain
128 info retry will retry, error on last attempt: Error: getaddrinfo ESRCH
129 info retry will retry, error on last attempt: Error: getaddrinfo ESRCH
130 info retry will retry, error on last attempt: Error: getaddrinfo ESRCH
131 info retry will retry, error on last attempt: Error: getaddrinfo ESRCH
132 info trying registry request attempt 2 at 10:52:23
133 http GET https://registry.npmjs.org/mkdirp
134 info trying registry request attempt 2 at 10:52:23
135 http GET https://registry.npmjs.org/nopt
136 info trying registry request attempt 2 at 10:52:23
137 http GET https://registry.npmjs.org/jshint
138 info trying registry request attempt 2 at 10:52:23
139 http GET https://registry.npmjs.org/node-static
140 info retry will retry, error on last attempt: Error: getaddrinfo ESRCH
141 info retry will retry, error on last attempt: Error: getaddrinfo ESRCH
142 info retry will retry, error on last attempt: Error: getaddrinfo ESRCH
143 info retry will retry, error on last attempt: Error: getaddrinfo ESRCH
144 info trying registry request attempt 2 at 10:52:38
145 http GET https://registry.npmjs.org/requirejs
146 info trying registry request attempt 2 at 10:52:38
147 http GET https://registry.npmjs.org/benchmark/2.1.0
148 info trying registry request attempt 2 at 10:52:38
149 http GET https://registry.npmjs.org/config-chain
150 info trying registry request attempt 2 at 10:52:38
151 http GET https://registry.npmjs.org/mustache
152 info retry will retry, error on last attempt: Error: getaddrinfo ESRCH
153 info retry will retry, error on last attempt: Error: getaddrinfo ESRCH
154 info retry will retry, error on last attempt: Error: getaddrinfo ESRCH
155 info retry will retry, error on last attempt: Error: getaddrinfo ESRCH
156 info retry will retry, error on last attempt: Error: getaddrinfo ESRCH
157 info retry will retry, error on last attempt: Error: getaddrinfo ESRCH
158 info retry will retry, error on last attempt: Error: getaddrinfo ESRCH
159 info retry will retry, error on last attempt: Error: getaddrinfo ESRCH
160 info trying registry request attempt 3 at 10:53:48
161 http GET https://registry.npmjs.org/mkdirp
162 info trying registry request attempt 3 at 10:53:48
163 http GET https://registry.npmjs.org/nopt
164 info trying registry request attempt 3 at 10:53:48
165 http GET https://registry.npmjs.org/jshint
166 info trying registry request attempt 3 at 10:53:48
167 http GET https://registry.npmjs.org/node-static
168 info trying registry request attempt 3 at 10:54:03
169 http GET https://registry.npmjs.org/requirejs
170 info trying registry request attempt 3 at 10:54:03
171 http GET https://registry.npmjs.org/benchmark/2.1.0
172 info trying registry request attempt 3 at 10:54:03
173 http GET https://registry.npmjs.org/config-chain
174 info trying registry request attempt 3 at 10:54:03
175 http GET https://registry.npmjs.org/mustache
176 silly lockFile 9f9d1f6e-nopt-3-0-1 nopt@~3.0.1
177 silly lockFile 9f9d1f6e-nopt-3-0-1 nopt@~3.0.1
178 silly lockFile a9130c87-jshint-2-9-1 jshint@~2.9.1
179 silly lockFile a9130c87-jshint-2-9-1 jshint@~2.9.1
180 error Error: getaddrinfo ESRCH
180 error at errnoException (dns.js:37:11)
180 error at Object.onanswer [as oncomplete] (dns.js:126:16)
181 error If you need help, you may report this log at:
181 error <http://github.com/isaacs/npm/issues>
181 error or email it to:
181 error <npm-@googlegroups.com>
182 error System Linux 3.10.0-327.18.2.el7.x86_64
183 error command "node" "/bin/npm" "install"
184 error cwd /tmp/js-beautify-master
185 error node -v v0.10.42
186 error npm -v 1.3.6
187 error syscall getaddrinfo
188 error code ESRCH
189 error errno ESRCH
190 verbose exit [ 1, true ]
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment