Skip to content

Instantly share code, notes, and snippets.

@vwasteels
Last active February 18, 2017 08:09
Show Gist options
  • Save vwasteels/df6477b0358ab9146d4abd47718e059f to your computer and use it in GitHub Desktop.
Save vwasteels/df6477b0358ab9146d4abd47718e059f to your computer and use it in GitHub Desktop.
npm install fail on raspberry
0 info it worked if it ends with ok
1 verbose cli [ '/home/pi/.nvm/versions/node/v6.9.5/bin/node',
1 verbose cli '/home/pi/.nvm/versions/node/v6.9.5/bin/npm',
1 verbose cli 'install' ]
2 info using [email protected]
3 info using [email protected]
4 silly loadCurrentTree Starting
5 silly install loadCurrentTree
6 silly install readLocalPackageData
7 silly install normalizeTree
8 silly loadCurrentTree Finishing
9 silly loadIdealTree Starting
10 silly install loadIdealTree
11 silly cloneCurrentTree Starting
12 silly install cloneCurrentTreeToIdealTree
13 silly cloneCurrentTree Finishing
14 silly loadShrinkwrap Starting
15 silly install loadShrinkwrap
16 silly loadShrinkwrap Finishing
17 silly loadAllDepsIntoIdealTree Starting
18 silly install loadAllDepsIntoIdealTree
19 silly fetchNamedPackageData python-shell
20 silly mapToRegistry name python-shell
21 silly mapToRegistry using default registry
22 silly mapToRegistry registry https://registry.npmjs.org/
23 silly mapToRegistry data Result {
23 silly mapToRegistry raw: 'python-shell',
23 silly mapToRegistry scope: null,
23 silly mapToRegistry escapedName: 'python-shell',
23 silly mapToRegistry name: 'python-shell',
23 silly mapToRegistry rawSpec: '',
23 silly mapToRegistry spec: 'latest',
23 silly mapToRegistry type: 'tag' }
24 silly mapToRegistry uri https://registry.npmjs.org/python-shell
25 silly fetchNamedPackageData qrcode
26 silly mapToRegistry name qrcode
27 silly mapToRegistry using default registry
28 silly mapToRegistry registry https://registry.npmjs.org/
29 silly mapToRegistry data Result {
29 silly mapToRegistry raw: 'qrcode',
29 silly mapToRegistry scope: null,
29 silly mapToRegistry escapedName: 'qrcode',
29 silly mapToRegistry name: 'qrcode',
29 silly mapToRegistry rawSpec: '',
29 silly mapToRegistry spec: 'latest',
29 silly mapToRegistry type: 'tag' }
30 silly mapToRegistry uri https://registry.npmjs.org/qrcode
31 silly fetchNamedPackageData request
32 silly mapToRegistry name request
33 silly mapToRegistry using default registry
34 silly mapToRegistry registry https://registry.npmjs.org/
35 silly mapToRegistry data Result {
35 silly mapToRegistry raw: 'request',
35 silly mapToRegistry scope: null,
35 silly mapToRegistry escapedName: 'request',
35 silly mapToRegistry name: 'request',
35 silly mapToRegistry rawSpec: '',
35 silly mapToRegistry spec: 'latest',
35 silly mapToRegistry type: 'tag' }
36 silly mapToRegistry uri https://registry.npmjs.org/request
37 silly fetchNamedPackageData unidecode
38 silly mapToRegistry name unidecode
39 silly mapToRegistry using default registry
40 silly mapToRegistry registry https://registry.npmjs.org/
41 silly mapToRegistry data Result {
41 silly mapToRegistry raw: 'unidecode',
41 silly mapToRegistry scope: null,
41 silly mapToRegistry escapedName: 'unidecode',
41 silly mapToRegistry name: 'unidecode',
41 silly mapToRegistry rawSpec: '',
41 silly mapToRegistry spec: 'latest',
41 silly mapToRegistry type: 'tag' }
42 silly mapToRegistry uri https://registry.npmjs.org/unidecode
43 silly fetchNamedPackageData yargs
44 silly mapToRegistry name yargs
45 silly mapToRegistry using default registry
46 silly mapToRegistry registry https://registry.npmjs.org/
47 silly mapToRegistry data Result {
47 silly mapToRegistry raw: 'yargs',
47 silly mapToRegistry scope: null,
47 silly mapToRegistry escapedName: 'yargs',
47 silly mapToRegistry name: 'yargs',
47 silly mapToRegistry rawSpec: '',
47 silly mapToRegistry spec: 'latest',
47 silly mapToRegistry type: 'tag' }
48 silly mapToRegistry uri https://registry.npmjs.org/yargs
49 verbose request uri https://registry.npmjs.org/python-shell
50 verbose request no auth needed
51 info attempt registry request try #1 at 07:59:56
52 verbose request id 1de1fbe613540e67
53 http request GET https://registry.npmjs.org/python-shell
54 verbose request uri https://registry.npmjs.org/qrcode
55 verbose request no auth needed
56 info attempt registry request try #1 at 07:59:56
57 http request GET https://registry.npmjs.org/qrcode
58 verbose request uri https://registry.npmjs.org/unidecode
59 verbose request no auth needed
60 info attempt registry request try #1 at 07:59:56
61 http request GET https://registry.npmjs.org/unidecode
62 verbose request uri https://registry.npmjs.org/yargs
63 verbose request no auth needed
64 info attempt registry request try #1 at 07:59:56
65 http request GET https://registry.npmjs.org/yargs
66 info retry will retry, error on last attempt: Error: getaddrinfo EAI_AGAIN registry.npmjs.org:443
67 info retry will retry, error on last attempt: Error: getaddrinfo EAI_AGAIN registry.npmjs.org:443
68 verbose request uri https://registry.npmjs.org/request
69 verbose request no auth needed
70 info attempt registry request try #1 at 08:00:37
71 verbose etag W/"58a0c824-352c9"
72 verbose lastModified Sun, 12 Feb 2017 20:40:04 GMT
73 http request GET https://registry.npmjs.org/request
74 info retry will retry, error on last attempt: Error: getaddrinfo EAI_AGAIN registry.npmjs.org:443
75 info retry will retry, error on last attempt: Error: getaddrinfo EAI_AGAIN registry.npmjs.org:443
76 info attempt registry request try #2 at 08:00:47
77 http request GET https://registry.npmjs.org/python-shell
78 info attempt registry request try #2 at 08:00:47
79 http request GET https://registry.npmjs.org/qrcode
80 info attempt registry request try #2 at 08:00:47
81 http request GET https://registry.npmjs.org/unidecode
82 info attempt registry request try #2 at 08:00:48
83 http request GET https://registry.npmjs.org/yargs
84 info retry will retry, error on last attempt: Error: getaddrinfo EAI_AGAIN registry.npmjs.org:443
85 info retry will retry, error on last attempt: Error: getaddrinfo EAI_AGAIN registry.npmjs.org:443
86 info retry will retry, error on last attempt: Error: getaddrinfo EAI_AGAIN registry.npmjs.org:443
87 info retry will retry, error on last attempt: Error: getaddrinfo EAI_AGAIN registry.npmjs.org:443
88 info attempt registry request try #2 at 08:01:28
89 verbose etag W/"58a0c824-352c9"
90 verbose lastModified Sun, 12 Feb 2017 20:40:04 GMT
91 http request GET https://registry.npmjs.org/request
92 info retry will retry, error on last attempt: Error: getaddrinfo EAI_AGAIN registry.npmjs.org:443
93 info retry will retry, error on last attempt: Error: getaddrinfo EAI_AGAIN registry.npmjs.org:443
94 info attempt registry request try #3 at 08:02:27
95 http request GET https://registry.npmjs.org/python-shell
96 info attempt registry request try #3 at 08:02:27
97 http request GET https://registry.npmjs.org/qrcode
98 info attempt registry request try #3 at 08:02:28
99 http request GET https://registry.npmjs.org/unidecode
100 info attempt registry request try #3 at 08:02:58
101 http request GET https://registry.npmjs.org/yargs
102 silly fetchPackageMetaData Error: getaddrinfo EAI_AGAIN registry.npmjs.org:443
102 silly fetchPackageMetaData at Object.exports._errnoException (util.js:1022:11)
102 silly fetchPackageMetaData at errnoException (dns.js:33:15)
102 silly fetchPackageMetaData at GetAddrInfoReqWrap.onlookup [as oncomplete] (dns.js:76:26)
102 silly fetchPackageMetaData error for python-shell@^0.4.0 { Error: getaddrinfo EAI_AGAIN registry.npmjs.org:443
102 silly fetchPackageMetaData at Object.exports._errnoException (util.js:1022:11)
102 silly fetchPackageMetaData at errnoException (dns.js:33:15)
102 silly fetchPackageMetaData at GetAddrInfoReqWrap.onlookup [as oncomplete] (dns.js:76:26)
102 silly fetchPackageMetaData code: 'EAI_AGAIN',
102 silly fetchPackageMetaData errno: 'EAI_AGAIN',
102 silly fetchPackageMetaData syscall: 'getaddrinfo',
102 silly fetchPackageMetaData hostname: 'registry.npmjs.org',
102 silly fetchPackageMetaData host: 'registry.npmjs.org',
102 silly fetchPackageMetaData port: 443 }
103 silly fetchPackageMetaData Error: getaddrinfo EAI_AGAIN registry.npmjs.org:443
103 silly fetchPackageMetaData at Object.exports._errnoException (util.js:1022:11)
103 silly fetchPackageMetaData at errnoException (dns.js:33:15)
103 silly fetchPackageMetaData at GetAddrInfoReqWrap.onlookup [as oncomplete] (dns.js:76:26)
103 silly fetchPackageMetaData error for qrcode@^0.5.0 { Error: getaddrinfo EAI_AGAIN registry.npmjs.org:443
103 silly fetchPackageMetaData at Object.exports._errnoException (util.js:1022:11)
103 silly fetchPackageMetaData at errnoException (dns.js:33:15)
103 silly fetchPackageMetaData at GetAddrInfoReqWrap.onlookup [as oncomplete] (dns.js:76:26)
103 silly fetchPackageMetaData code: 'EAI_AGAIN',
103 silly fetchPackageMetaData errno: 'EAI_AGAIN',
103 silly fetchPackageMetaData syscall: 'getaddrinfo',
103 silly fetchPackageMetaData hostname: 'registry.npmjs.org',
103 silly fetchPackageMetaData host: 'registry.npmjs.org',
103 silly fetchPackageMetaData port: 443 }
104 silly fetchPackageMetaData Error: getaddrinfo EAI_AGAIN registry.npmjs.org:443
104 silly fetchPackageMetaData at Object.exports._errnoException (util.js:1022:11)
104 silly fetchPackageMetaData at errnoException (dns.js:33:15)
104 silly fetchPackageMetaData at GetAddrInfoReqWrap.onlookup [as oncomplete] (dns.js:76:26)
104 silly fetchPackageMetaData error for unidecode@^0.1.8 { Error: getaddrinfo EAI_AGAIN registry.npmjs.org:443
104 silly fetchPackageMetaData at Object.exports._errnoException (util.js:1022:11)
104 silly fetchPackageMetaData at errnoException (dns.js:33:15)
104 silly fetchPackageMetaData at GetAddrInfoReqWrap.onlookup [as oncomplete] (dns.js:76:26)
104 silly fetchPackageMetaData code: 'EAI_AGAIN',
104 silly fetchPackageMetaData errno: 'EAI_AGAIN',
104 silly fetchPackageMetaData syscall: 'getaddrinfo',
104 silly fetchPackageMetaData hostname: 'registry.npmjs.org',
104 silly fetchPackageMetaData host: 'registry.npmjs.org',
104 silly fetchPackageMetaData port: 443 }
105 info attempt registry request try #3 at 08:03:08
106 verbose etag W/"58a0c824-352c9"
107 verbose lastModified Sun, 12 Feb 2017 20:40:04 GMT
108 http request GET https://registry.npmjs.org/request
109 silly fetchPackageMetaData Error: getaddrinfo EAI_AGAIN registry.npmjs.org:443
109 silly fetchPackageMetaData at Object.exports._errnoException (util.js:1022:11)
109 silly fetchPackageMetaData at errnoException (dns.js:33:15)
109 silly fetchPackageMetaData at GetAddrInfoReqWrap.onlookup [as oncomplete] (dns.js:76:26)
109 silly fetchPackageMetaData error for yargs@^6.6.0 { Error: getaddrinfo EAI_AGAIN registry.npmjs.org:443
109 silly fetchPackageMetaData at Object.exports._errnoException (util.js:1022:11)
109 silly fetchPackageMetaData at errnoException (dns.js:33:15)
109 silly fetchPackageMetaData at GetAddrInfoReqWrap.onlookup [as oncomplete] (dns.js:76:26)
109 silly fetchPackageMetaData code: 'EAI_AGAIN',
109 silly fetchPackageMetaData errno: 'EAI_AGAIN',
109 silly fetchPackageMetaData syscall: 'getaddrinfo',
109 silly fetchPackageMetaData hostname: 'registry.npmjs.org',
109 silly fetchPackageMetaData host: 'registry.npmjs.org',
109 silly fetchPackageMetaData port: 443 }
110 silly get cb [ 304, undefined ]
111 verbose etag https://registry.npmjs.org/request from cache
112 verbose get saving request to /home/pi/.npm/registry.npmjs.org/request/.cache.json
113 verbose correctMkdir /home/pi/.npm correctMkdir not in flight; initializing
114 silly resolveWithNewModule [email protected] checking installable status
115 silly cache add args [ 'request@^2.79.0', null ]
116 verbose cache add spec request@^2.79.0
117 silly cache add parsed spec Result {
117 silly cache add raw: 'request@^2.79.0',
117 silly cache add scope: null,
117 silly cache add escapedName: 'request',
117 silly cache add name: 'request',
117 silly cache add rawSpec: '^2.79.0',
117 silly cache add spec: '>=2.79.0 <3.0.0',
117 silly cache add type: 'range' }
118 silly addNamed request@>=2.79.0 <3.0.0
119 verbose addNamed ">=2.79.0 <3.0.0" is a valid semver range for request
120 silly addNameRange { name: 'request', range: '>=2.79.0 <3.0.0', hasData: false }
121 silly mapToRegistry name request
122 silly mapToRegistry using default registry
123 silly mapToRegistry registry https://registry.npmjs.org/
124 silly mapToRegistry data Result {
124 silly mapToRegistry raw: 'request',
124 silly mapToRegistry scope: null,
124 silly mapToRegistry escapedName: 'request',
124 silly mapToRegistry name: 'request',
124 silly mapToRegistry rawSpec: '',
124 silly mapToRegistry spec: 'latest',
124 silly mapToRegistry type: 'tag' }
125 silly mapToRegistry uri https://registry.npmjs.org/request
126 verbose addNameRange registry:https://registry.npmjs.org/request not in flight; fetching
127 verbose get https://registry.npmjs.org/request not expired, no request
128 silly addNameRange number 2 { name: 'request', range: '>=2.79.0 <3.0.0', hasData: true }
129 silly addNameRange versions [ 'request',
129 silly addNameRange [ '0.10.0',
129 silly addNameRange '0.8.3',
129 silly addNameRange '0.9.0',
129 silly addNameRange '0.9.1',
129 silly addNameRange '0.9.5',
129 silly addNameRange '1.0.0',
129 silly addNameRange '1.1.0',
129 silly addNameRange '1.1.1',
129 silly addNameRange '1.2.0',
129 silly addNameRange '1.9.0',
129 silly addNameRange '1.9.1',
129 silly addNameRange '1.9.2',
129 silly addNameRange '1.9.3',
129 silly addNameRange '1.9.5',
129 silly addNameRange '1.9.7',
129 silly addNameRange '1.9.8',
129 silly addNameRange '1.9.9',
129 silly addNameRange '2.0.0',
129 silly addNameRange '2.0.1',
129 silly addNameRange '2.0.2',
129 silly addNameRange '2.0.3',
129 silly addNameRange '2.0.4',
129 silly addNameRange '2.0.5',
129 silly addNameRange '2.1.0',
129 silly addNameRange '2.1.1',
129 silly addNameRange '2.2.0',
129 silly addNameRange '2.2.5',
129 silly addNameRange '2.2.6',
129 silly addNameRange '2.2.9',
129 silly addNameRange '2.9.0',
129 silly addNameRange '2.9.1',
129 silly addNameRange '2.9.2',
129 silly addNameRange '2.9.3',
129 silly addNameRange '2.9.100',
129 silly addNameRange '2.9.150',
129 silly addNameRange '2.9.151',
129 silly addNameRange '2.9.152',
129 silly addNameRange '2.9.153',
129 silly addNameRange '2.9.200',
129 silly addNameRange '2.9.201',
129 silly addNameRange '2.9.202',
129 silly addNameRange '2.9.203',
129 silly addNameRange '2.10.0',
129 silly addNameRange '2.11.0',
129 silly addNameRange '2.11.1',
129 silly addNameRange '2.11.2',
129 silly addNameRange '2.11.3',
129 silly addNameRange '2.11.4',
129 silly addNameRange '2.12.0',
129 silly addNameRange '2.14.0',
129 silly addNameRange '2.16.0',
129 silly addNameRange '2.16.2',
129 silly addNameRange '2.16.4',
129 silly addNameRange '2.16.6',
129 silly addNameRange '2.18.0',
129 silly addNameRange '2.19.0',
129 silly addNameRange '2.20.0',
129 silly addNameRange '2.21.0',
129 silly addNameRange '2.22.0',
129 silly addNameRange '2.23.0',
129 silly addNameRange '2.24.0',
129 silly addNameRange '2.25.0',
129 silly addNameRange '2.26.0',
129 silly addNameRange '2.27.0',
129 silly addNameRange '2.28.0',
129 silly addNameRange '2.29.0',
129 silly addNameRange '2.30.0',
129 silly addNameRange '2.31.0',
129 silly addNameRange '2.32.0',
129 silly addNameRange '2.33.0',
129 silly addNameRange '2.34.0',
129 silly addNameRange '2.35.0',
129 silly addNameRange '2.36.0',
129 silly addNameRange '2.37.0',
129 silly addNameRange '2.38.0',
129 silly addNameRange '2.39.0',
129 silly addNameRange '2.40.0',
129 silly addNameRange '2.41.0',
129 silly addNameRange '2.42.0',
129 silly addNameRange '2.43.0',
129 silly addNameRange '2.44.0',
129 silly addNameRange '2.45.0',
129 silly addNameRange '2.46.0',
129 silly addNameRange '2.47.0',
129 silly addNameRange '2.48.0',
129 silly addNameRange '2.49.0',
129 silly addNameRange '2.50.0',
129 silly addNameRange '2.51.0',
129 silly addNameRange '2.52.0',
129 silly addNameRange '2.53.0',
129 silly addNameRange '2.54.0',
129 silly addNameRange '2.55.0',
129 silly addNameRange '2.56.0',
129 silly addNameRange '2.57.0',
129 silly addNameRange '2.58.0',
129 silly addNameRange '2.59.0',
129 silly addNameRange '2.60.0',
129 silly addNameRange '2.61.0',
129 silly addNameRange '2.62.0',
129 silly addNameRange '2.63.0',
129 silly addNameRange ... 16 more items ] ]
130 silly addNamed [email protected]
131 verbose addNamed "2.79.0" is a plain semver version for request
132 silly cache afterAdd [email protected]
133 verbose afterAdd /home/pi/.npm/request/2.79.0/package/package.json not in flight; writing
134 verbose correctMkdir /home/pi/.npm correctMkdir not in flight; initializing
135 verbose afterAdd /home/pi/.npm/request/2.79.0/package/package.json written
136 silly rollbackFailedOptional Starting
137 silly rollbackFailedOptional Finishing
138 silly runTopLevelLifecycles Finishing
139 silly install printInstalled
140 verbose stack Error: getaddrinfo EAI_AGAIN registry.npmjs.org:443
140 verbose stack at Object.exports._errnoException (util.js:1022:11)
140 verbose stack at errnoException (dns.js:33:15)
140 verbose stack at GetAddrInfoReqWrap.onlookup [as oncomplete] (dns.js:76:26)
141 verbose cwd /home/pi/machine
142 error Linux 3.12.22+
143 error argv "/home/pi/.nvm/versions/node/v6.9.5/bin/node" "/home/pi/.nvm/versions/node/v6.9.5/bin/npm" "install"
144 error node v6.9.5
145 error npm v3.10.10
146 error code EAI_AGAIN
147 error errno EAI_AGAIN
148 error syscall getaddrinfo
149 error getaddrinfo EAI_AGAIN registry.npmjs.org:443
150 error If you need help, you may report this error at:
150 error <https://github.com/npm/npm/issues>
151 verbose exit [ 1, true ]
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment