While trying to install the package on Ubuntu 18.04 LTS I get this error message:
npm WARN deprecated request@2.88.2: request has been deprecated, see https://github.com/request/request/issues/3142
npm ERR! Unexpected token
in JSON at position 18225 while parsing near '...n":"0�eS�qs�W��&����
ies":{"dot":"^1.0.3...
and that's the log
0 info it worked if it ends with ok
1 verbose cli [
1 verbose cli '/home/ubuntu/.nvm/versions/node/v14.3.0/bin/node',
1 verbose cli '/home/ubuntu/.nvm/versions/node/v14.3.0/bin/npm',
1 verbose cli 'i',
1 verbose cli '-g',
1 verbose cli 'protonvpn-acc-gen'
1 verbose cli ]
2 info using npm@6.14.5
3 info using node@v14.3.0
4 verbose npm-session 3f52ca2d2035d6ba
5 silly install loadCurrentTree
6 silly install readGlobalPackageData
7 http fetch GET 304 https://registry.npmjs.org/protonvpn-acc-gen 440ms (from cache)
8 silly pacote tag manifest for protonvpn-acc-gen@latest fetched in 453ms
9 timing stage:loadCurrentTree Completed in 495ms
10 silly install loadIdealTree
11 silly install cloneCurrentTreeToIdealTree
12 timing stage:loadIdealTree:cloneCurrentTree Completed in 1ms
13 silly install loadShrinkwrap
14 timing stage:loadIdealTree:loadShrinkwrap Completed in 1ms
15 silly install loadAllDepsIntoIdealTree
16 silly resolveWithNewModule protonvpn-acc-gen@1.0.4 checking installable status
17 http fetch GET 304 https://registry.npmjs.org/boxen 150ms (from cache)
18 silly pacote range manifest for boxen@^4.2.0 fetched in 155ms
19 silly resolveWithNewModule boxen@4.2.0 checking installable status
20 http fetch GET 304 https://registry.npmjs.org/chalk 300ms (from cache)
21 silly pacote range manifest for chalk@^4.0.0 fetched in 309ms
22 silly resolveWithNewModule chalk@4.1.0 checking installable status
23 http fetch GET 304 https://registry.npmjs.org/cli-table 313ms (from cache)
24 silly pacote range manifest for cli-table@^0.3.1 fetched in 319ms
25 silly resolveWithNewModule cli-table@0.3.1 checking installable status
26 http fetch GET 304 https://registry.npmjs.org/inquirer 347ms (from cache)
27 http fetch GET 304 https://registry.npmjs.org/request 343ms (from cache)
28 silly pacote range manifest for inquirer@^7.1.0 fetched in 354ms
29 silly resolveWithNewModule inquirer@7.3.0 checking installable status
30 silly pacote range manifest for request@^2.88.2 fetched in 350ms
31 warn deprecated request@2.88.2: request has been deprecated, see https://github.com/request/request/issues/3142
32 silly resolveWithNewModule request@2.88.2 checking installable status
33 http fetch GET 304 https://registry.npmjs.org/puppeteer 364ms (from cache)
34 silly pacote range manifest for puppeteer@^2.1.1 fetched in 385ms
35 silly resolveWithNewModule puppeteer@2.1.1 checking installable status
36 silly pacote range manifest for chalk@^3.0.0 fetched in 21ms
37 silly resolveWithNewModule chalk@3.0.0 checking installable status
38 http fetch GET 304 https://registry.npmjs.org/ansi-align 156ms (from cache)
39 http fetch GET 304 https://registry.npmjs.org/cli-boxes 158ms (from cache)
40 http fetch GET 304 https://registry.npmjs.org/string-width 158ms (from cache)
41 silly pacote range manifest for ansi-align@^3.0.0 fetched in 163ms
42 silly resolveWithNewModule ansi-align@3.0.0 checking installable status
43 silly pacote range manifest for cli-boxes@^2.2.0 fetched in 165ms
44 silly resolveWithNewModule cli-boxes@2.2.0 checking installable status
45 silly pacote range manifest for string-width@^4.1.0 fetched in 169ms
46 silly resolveWithNewModule string-width@4.2.0 checking installable status
47 http fetch GET 304 https://registry.npmjs.org/term-size 170ms (from cache)
48 http fetch GET 304 https://registry.npmjs.org/type-fest 171ms (from cache)
49 silly pacote range manifest for term-size@^2.1.0 fetched in 173ms
50 silly resolveWithNewModule term-size@2.2.0 checking installable status
51 http fetch GET 304 https://registry.npmjs.org/camelcase 177ms (from cache)
52 silly pacote range manifest for type-fest@^0.8.1 fetched in 175ms
53 silly resolveWithNewModule type-fest@0.8.1 checking installable status
54 silly pacote range manifest for camelcase@^5.3.1 fetched in 180ms
55 silly resolveWithNewModule camelcase@5.3.1 checking installable status
56 http fetch GET 304 https://registry.npmjs.org/widest-line 285ms (from cache)
57 silly pacote range manifest for widest-line@^3.1.0 fetched in 286ms
58 silly resolveWithNewModule widest-line@3.1.0 checking installable status
59 silly pacote range manifest for string-width@^3.0.0 fetched in 2ms
60 silly resolveWithNewModule string-width@3.1.0 checking installable status
61 http fetch GET 304 https://registry.npmjs.org/emoji-regex 120ms (from cache)
62 http fetch GET 304 https://registry.npmjs.org/strip-ansi 121ms (from cache)
63 http fetch GET 304 https://registry.npmjs.org/is-fullwidth-code-point 124ms (from cache)
64 silly pacote range manifest for emoji-regex@^7.0.1 fetched in 125ms
65 silly resolveWithNewModule emoji-regex@7.0.3 checking installable status
66 silly pacote range manifest for strip-ansi@^5.1.0 fetched in 125ms
67 silly resolveWithNewModule strip-ansi@5.2.0 checking installable status
68 silly pacote range manifest for is-fullwidth-code-point@^2.0.0 fetched in 126ms
69 silly resolveWithNewModule is-fullwidth-code-point@2.0.0 checking installable status
70 http fetch GET 304 https://registry.npmjs.org/ansi-regex 100ms (from cache)
71 silly pacote range manifest for ansi-regex@^4.1.0 fetched in 101ms
72 silly resolveWithNewModule ansi-regex@4.1.0 checking installable status
73 http fetch GET 304 https://registry.npmjs.org/ansi-styles 126ms (from cache)
74 silly pacote range manifest for ansi-styles@^4.1.0 fetched in 130ms
75 silly resolveWithNewModule ansi-styles@4.2.1 checking installable status
76 http fetch GET 304 https://registry.npmjs.org/supports-color 131ms (from cache)
77 silly pacote range manifest for supports-color@^7.1.0 fetched in 133ms
78 silly resolveWithNewModule supports-color@7.1.0 checking installable status
79 http fetch GET 304 https://registry.npmjs.org/color-convert 107ms (from cache)
80 http fetch GET 304 https://registry.npmjs.org/@types%2fcolor-name 110ms (from cache)
81 silly pacote range manifest for @types/color-name@^1.1.1 fetched in 112ms
82 silly resolveWithNewModule @types/color-name@1.1.1 checking installable status
83 silly pacote range manifest for color-convert@^2.0.1 fetched in 112ms
84 silly resolveWithNewModule color-convert@2.0.1 checking installable status
85 http fetch GET 304 https://registry.npmjs.org/color-name 102ms (from cache)
86 silly pacote range manifest for color-name@~1.1.4 fetched in 104ms
87 silly resolveWithNewModule color-name@1.1.4 checking installable status
88 http fetch GET 304 https://registry.npmjs.org/has-flag 106ms (from cache)
89 silly pacote range manifest for has-flag@^4.0.0 fetched in 108ms
90 silly resolveWithNewModule has-flag@4.0.0 checking installable status
91 silly pacote range manifest for emoji-regex@^8.0.0 fetched in 3ms
92 silly resolveWithNewModule emoji-regex@8.0.0 checking installable status
93 silly pacote range manifest for is-fullwidth-code-point@^3.0.0 fetched in 4ms
94 silly resolveWithNewModule is-fullwidth-code-point@3.0.0 checking installable status
95 silly pacote range manifest for strip-ansi@^6.0.0 fetched in 5ms
96 silly resolveWithNewModule strip-ansi@6.0.0 checking installable status
97 silly pacote range manifest for ansi-regex@^5.0.0 fetched in 1ms
98 silly resolveWithNewModule ansi-regex@5.0.0 checking installable status
99 http fetch GET 304 https://registry.npmjs.org/colors 122ms (from cache)
100 silly pacote version manifest for colors@1.0.3 fetched in 125ms
101 silly resolveWithNewModule colors@1.0.3 checking installable status
102 silly pacote range manifest for strip-ansi@^6.0.0 fetched in 12ms
103 silly resolveWithNewModule strip-ansi@6.0.0 checking installable status
104 http fetch GET 304 https://registry.npmjs.org/figures 162ms (from cache)
105 http fetch GET 304 https://registry.npmjs.org/cli-cursor 165ms (from cache)
106 silly pacote range manifest for figures@^3.0.0 fetched in 167ms
107 silly resolveWithNewModule figures@3.2.0 checking installable status
108 http fetch GET 304 https://registry.npmjs.org/lodash 169ms (from cache)
109 silly pacote range manifest for cli-cursor@^3.1.0 fetched in 172ms
110 silly resolveWithNewModule cli-cursor@3.1.0 checking installable status
111 http fetch GET 304 https://registry.npmjs.org/cli-width 180ms (from cache)
112 http fetch GET 304 https://registry.npmjs.org/external-editor 179ms (from cache)
113 http fetch GET 304 https://registry.npmjs.org/mute-stream 178ms (from cache)
114 silly pacote range manifest for lodash@^4.17.15 fetched in 181ms
115 silly resolveWithNewModule lodash@4.17.15 checking installable status
116 silly pacote range manifest for cli-width@^3.0.0 fetched in 183ms
117 silly resolveWithNewModule cli-width@3.0.0 checking installable status
118 silly pacote range manifest for external-editor@^3.0.3 fetched in 183ms
119 silly resolveWithNewModule external-editor@3.1.0 checking installable status
120 silly pacote version manifest for mute-stream@0.0.8 fetched in 183ms
121 silly resolveWithNewModule mute-stream@0.0.8 checking installable status
122 http fetch GET 304 https://registry.npmjs.org/ansi-escapes 187ms (from cache)
123 silly pacote range manifest for ansi-escapes@^4.2.1 fetched in 189ms
124 silly resolveWithNewModule ansi-escapes@4.3.1 checking installable status
125 http fetch GET 304 https://registry.npmjs.org/run-async 276ms (from cache)
126 silly pacote range manifest for run-async@^2.4.0 fetched in 279ms
127 silly resolveWithNewModule run-async@2.4.1 checking installable status
128 http fetch GET 304 https://registry.npmjs.org/through 263ms (from cache)
129 http fetch GET 304 https://registry.npmjs.org/rxjs 293ms (from cache)
130 silly pacote range manifest for through@^2.3.6 fetched in 269ms
131 silly resolveWithNewModule through@2.3.8 checking installable status
132 silly pacote range manifest for rxjs@^6.6.0 fetched in 299ms
133 silly resolveWithNewModule rxjs@6.6.0 checking installable status
134 silly pacote range manifest for type-fest@^0.11.0 fetched in 1ms
135 silly resolveWithNewModule type-fest@0.11.0 checking installable status
136 http fetch GET 304 https://registry.npmjs.org/restore-cursor 86ms (from cache)
137 silly pacote range manifest for restore-cursor@^3.1.0 fetched in 86ms
138 silly resolveWithNewModule restore-cursor@3.1.0 checking installable status
139 http fetch GET 304 https://registry.npmjs.org/signal-exit 103ms (from cache)
140 silly pacote range manifest for signal-exit@^3.0.2 fetched in 104ms
141 silly resolveWithNewModule signal-exit@3.0.3 checking installable status
142 http fetch GET 304 https://registry.npmjs.org/onetime 106ms (from cache)
143 silly pacote range manifest for onetime@^5.1.0 fetched in 107ms
144 silly resolveWithNewModule onetime@5.1.0 checking installable status
145 http fetch GET 304 https://registry.npmjs.org/mimic-fn 92ms (from cache)
146 silly pacote range manifest for mimic-fn@^2.1.0 fetched in 93ms
147 silly resolveWithNewModule mimic-fn@2.1.0 checking installable status
148 http fetch GET 304 https://registry.npmjs.org/tmp 110ms (from cache)
149 http fetch GET 304 https://registry.npmjs.org/chardet 111ms (from cache)
150 silly pacote range manifest for tmp@^0.0.33 fetched in 112ms
151 silly resolveWithNewModule tmp@0.0.33 checking installable status
152 silly pacote range manifest for chardet@^0.7.0 fetched in 114ms
153 silly resolveWithNewModule chardet@0.7.0 checking installable status
154 http fetch GET 304 https://registry.npmjs.org/iconv-lite 113ms (from cache)
155 silly pacote range manifest for iconv-lite@^0.4.24 fetched in 115ms
156 silly resolveWithNewModule iconv-lite@0.4.24 checking installable status
157 http fetch GET 304 https://registry.npmjs.org/safer-buffer 92ms (from cache)
158 silly pacote range manifest for safer-buffer@>= 2.1.2 < 3 fetched in 93ms
159 silly resolveWithNewModule safer-buffer@2.1.2 checking installable status
160 http fetch GET 304 https://registry.npmjs.org/os-tmpdir 87ms (from cache)
161 silly pacote range manifest for os-tmpdir@~1.0.2 fetched in 88ms
162 silly resolveWithNewModule os-tmpdir@1.0.2 checking installable status
163 http fetch GET 304 https://registry.npmjs.org/escape-string-regexp 103ms (from cache)
164 silly pacote range manifest for escape-string-regexp@^1.0.5 fetched in 105ms
165 silly resolveWithNewModule escape-string-regexp@1.0.5 checking installable status
166 http fetch GET 304 https://registry.npmjs.org/tslib 101ms (from cache)
167 silly pacote range manifest for tslib@^1.9.0 fetched in 105ms
168 silly resolveWithNewModule tslib@1.13.0 checking installable status
169 silly pacote range manifest for ansi-regex@^5.0.0 fetched in 5ms
170 silly resolveWithNewModule ansi-regex@5.0.0 checking installable status
171 http fetch GET 304 https://registry.npmjs.org/https-proxy-agent 155ms (from cache)
172 silly pacote range manifest for https-proxy-agent@^4.0.0 fetched in 163ms
173 silly resolveWithNewModule https-proxy-agent@4.0.0 checking installable status
174 http fetch GET 304 https://registry.npmjs.org/mime 168ms (from cache)
175 http fetch GET 304 https://registry.npmjs.org/extract-zip 172ms (from cache)
176 http fetch GET 304 https://registry.npmjs.org/debug 174ms (from cache)
177 http fetch GET 304 https://registry.npmjs.org/proxy-from-env 173ms (from cache)
178 silly pacote range manifest for mime@^2.0.3 fetched in 175ms
179 silly resolveWithNewModule mime@2.4.6 checking installable status
180 http fetch GET 304 https://registry.npmjs.org/progress 177ms (from cache)
181 silly pacote range manifest for extract-zip@^1.6.6 fetched in 179ms
182 silly resolveWithNewModule extract-zip@1.7.0 checking installable status
183 http fetch GET 304 https://registry.npmjs.org/mime-types 179ms (from cache)
184 silly pacote range manifest for debug@^4.1.0 fetched in 181ms
185 silly resolveWithNewModule debug@4.1.1 checking installable status
186 silly pacote range manifest for proxy-from-env@^1.0.0 fetched in 181ms
187 silly resolveWithNewModule proxy-from-env@1.1.0 checking installable status
188 silly pacote range manifest for progress@^2.0.1 fetched in 183ms
189 silly resolveWithNewModule progress@2.0.3 checking installable status
190 http fetch GET 304 https://registry.npmjs.org/rimraf 183ms (from cache)
191 silly pacote range manifest for mime-types@^2.1.25 fetched in 185ms
192 silly resolveWithNewModule mime-types@2.1.27 checking installable status
193 http fetch GET 304 https://registry.npmjs.org/@types%2fmime-types 189ms (from cache)
194 silly pacote range manifest for rimraf@^2.6.1 fetched in 192ms
195 silly resolveWithNewModule rimraf@2.7.1 checking installable status
196 http fetch GET 304 https://registry.npmjs.org/ws 193ms (from cache)
197 silly pacote range manifest for @types/mime-types@^2.1.0 fetched in 198ms
198 silly resolveWithNewModule @types/mime-types@2.1.0 checking installable status
199 silly pacote range manifest for ws@^6.1.0 fetched in 196ms
200 silly resolveWithNewModule ws@6.2.1 checking installable status
201 http fetch GET 304 https://registry.npmjs.org/ms 102ms (from cache)
202 silly pacote range manifest for ms@^2.1.1 fetched in 105ms
203 silly resolveWithNewModule ms@2.1.2 checking installable status
204 silly pacote range manifest for debug@^2.6.9 fetched in 13ms
205 silly resolveWithNewModule debug@2.6.9 checking installable status
206 http fetch GET 304 https://registry.npmjs.org/yauzl 130ms (from cache)
207 http fetch GET 304 https://registry.npmjs.org/concat-stream 133ms (from cache)
208 http fetch GET 304 https://registry.npmjs.org/mkdirp 133ms (from cache)
209 silly pacote range manifest for yauzl@^2.10.0 fetched in 135ms
210 silly resolveWithNewModule yauzl@2.10.0 checking installable status
211 silly pacote range manifest for concat-stream@^1.6.2 fetched in 136ms
212 silly resolveWithNewModule concat-stream@1.6.2 checking installable status
213 silly pacote range manifest for mkdirp@^0.5.4 fetched in 137ms
214 silly resolveWithNewModule mkdirp@0.5.5 checking installable status
215 http fetch GET 304 https://registry.npmjs.org/buffer-from 96ms (from cache)
216 silly pacote range manifest for buffer-from@^1.0.0 fetched in 98ms
217 silly resolveWithNewModule buffer-from@1.1.1 checking installable status
218 http fetch GET 304 https://registry.npmjs.org/typedarray 138ms (from cache)
219 http fetch GET 304 https://registry.npmjs.org/inherits 139ms (from cache)
220 silly pacote range manifest for typedarray@^0.0.6 fetched in 141ms
221 silly resolveWithNewModule typedarray@0.0.6 checking installable status
222 silly pacote range manifest for inherits@^2.0.3 fetched in 142ms
223 silly resolveWithNewModule inherits@2.0.4 checking installable status
224 http fetch GET 304 https://registry.npmjs.org/readable-stream 143ms (from cache)
225 silly pacote range manifest for readable-stream@^2.2.2 fetched in 151ms
226 silly resolveWithNewModule readable-stream@2.3.7 checking installable status
227 http fetch GET 304 https://registry.npmjs.org/core-util-is 109ms (from cache)
228 silly pacote range manifest for core-util-is@~1.0.0 fetched in 116ms
229 silly resolveWithNewModule core-util-is@1.0.2 checking installable status
230 http fetch GET 304 https://registry.npmjs.org/isarray 131ms (from cache)
231 http fetch GET 304 https://registry.npmjs.org/process-nextick-args 133ms (from cache)
232 http fetch GET 304 https://registry.npmjs.org/safe-buffer 134ms (from cache)
233 http fetch GET 304 https://registry.npmjs.org/string_decoder 143ms (from cache)
234 silly pacote range manifest for isarray@~1.0.0 fetched in 145ms
235 silly resolveWithNewModule isarray@1.0.0 checking installable status
236 silly pacote range manifest for process-nextick-args@~2.0.0 fetched in 146ms
237 silly resolveWithNewModule process-nextick-args@2.0.1 checking installable status
238 silly pacote range manifest for safe-buffer@~5.1.1 fetched in 146ms
239 silly resolveWithNewModule safe-buffer@5.1.2 checking installable status
240 silly pacote range manifest for string_decoder@~1.1.1 fetched in 147ms
241 silly resolveWithNewModule string_decoder@1.1.1 checking installable status
242 http fetch GET 304 https://registry.npmjs.org/util-deprecate 148ms (from cache)
243 silly pacote range manifest for util-deprecate@~1.0.1 fetched in 150ms
244 silly resolveWithNewModule util-deprecate@1.0.2 checking installable status
245 silly pacote version manifest for ms@2.0.0 fetched in 2ms
246 silly resolveWithNewModule ms@2.0.0 checking installable status
247 http fetch GET 304 https://registry.npmjs.org/minimist 92ms (from cache)
248 silly pacote range manifest for minimist@^1.2.5 fetched in 95ms
249 silly resolveWithNewModule minimist@1.2.5 checking installable status
250 http fetch GET 304 https://registry.npmjs.org/buffer-crc32 109ms (from cache)
251 http fetch GET 304 https://registry.npmjs.org/fd-slicer 111ms (from cache)
252 silly pacote range manifest for buffer-crc32@~0.2.3 fetched in 112ms
253 silly resolveWithNewModule buffer-crc32@0.2.13 checking installable status
254 silly pacote range manifest for fd-slicer@~1.1.0 fetched in 113ms
255 silly resolveWithNewModule fd-slicer@1.1.0 checking installable status
256 http fetch GET 304 https://registry.npmjs.org/pend 103ms (from cache)
257 silly pacote range manifest for pend@~1.2.0 fetched in 104ms
258 silly resolveWithNewModule pend@1.2.0 checking installable status
259 http fetch GET 304 https://registry.npmjs.org/agent-base 113ms (from cache)
260 silly pacote range manifest for agent-base@5 fetched in 116ms
261 silly resolveWithNewModule agent-base@5.1.1 checking installable status
262 http fetch GET 304 https://registry.npmjs.org/mime-db 99ms (from cache)
263 silly pacote version manifest for mime-db@1.44.0 fetched in 106ms
264 silly resolveWithNewModule mime-db@1.44.0 checking installable status
265 http fetch GET 304 https://registry.npmjs.org/glob 120ms (from cache)
266 silly pacote range manifest for glob@^7.1.3 fetched in 122ms
267 silly resolveWithNewModule glob@7.1.6 checking installable status
268 http fetch GET 304 https://registry.npmjs.org/fs.realpath 139ms (from cache)
269 http fetch GET 304 https://registry.npmjs.org/inflight 139ms (from cache)
270 silly pacote range manifest for fs.realpath@^1.0.0 fetched in 142ms
271 silly resolveWithNewModule fs.realpath@1.0.0 checking installable status
272 silly pacote range manifest for inflight@^1.0.4 fetched in 144ms
273 silly resolveWithNewModule inflight@1.0.6 checking installable status
274 http fetch GET 304 https://registry.npmjs.org/path-is-absolute 145ms (from cache)
275 http fetch GET 304 https://registry.npmjs.org/minimatch 151ms (from cache)
276 silly pacote range manifest for path-is-absolute@^1.0.0 fetched in 153ms
277 silly resolveWithNewModule path-is-absolute@1.0.1 checking installable status
278 silly pacote range manifest for minimatch@^3.0.4 fetched in 154ms
279 silly resolveWithNewModule minimatch@3.0.4 checking installable status
280 http fetch GET 304 https://registry.npmjs.org/once 156ms (from cache)
281 silly pacote range manifest for once@^1.3.0 fetched in 158ms
282 silly resolveWithNewModule once@1.4.0 checking installable status
283 http fetch GET 304 https://registry.npmjs.org/wrappy 104ms (from cache)
284 silly pacote range manifest for wrappy@1 fetched in 106ms
285 silly resolveWithNewModule wrappy@1.0.2 checking installable status
286 http fetch GET 304 https://registry.npmjs.org/brace-expansion 105ms (from cache)
287 silly pacote range manifest for brace-expansion@^1.1.7 fetched in 107ms
288 silly resolveWithNewModule brace-expansion@1.1.11 checking installable status
289 http fetch GET 304 https://registry.npmjs.org/concat-map 103ms (from cache)
290 silly pacote version manifest for concat-map@0.0.1 fetched in 106ms
291 silly resolveWithNewModule concat-map@0.0.1 checking installable status
292 http fetch GET 304 https://registry.npmjs.org/balanced-match 116ms (from cache)
293 silly pacote range manifest for balanced-match@^1.0.0 fetched in 118ms
294 silly resolveWithNewModule balanced-match@1.0.0 checking installable status
295 http fetch GET 304 https://registry.npmjs.org/async-limiter 109ms (from cache)
296 silly pacote range manifest for async-limiter@~1.0.0 fetched in 111ms
297 silly resolveWithNewModule async-limiter@1.0.1 checking installable status
298 http fetch GET 304 https://registry.npmjs.org/aws-sign2 234ms (from cache)
299 silly pacote range manifest for aws-sign2@~0.7.0 fetched in 242ms
300 silly resolveWithNewModule aws-sign2@0.7.0 checking installable status
301 http fetch GET 304 https://registry.npmjs.org/is-typedarray 251ms (from cache)
302 http fetch GET 304 https://registry.npmjs.org/caseless 256ms (from cache)
303 http fetch GET 304 https://registry.npmjs.org/form-data 257ms (from cache)
304 http fetch GET 304 https://registry.npmjs.org/http-signature 257ms (from cache)
305 http fetch GET 304 https://registry.npmjs.org/forever-agent 261ms (from cache)
306 silly pacote range manifest for is-typedarray@~1.0.0 fetched in 261ms
307 silly resolveWithNewModule is-typedarray@1.0.0 checking installable status
308 http fetch GET 304 https://registry.npmjs.org/aws4 264ms (from cache)
309 silly pacote range manifest for caseless@~0.12.0 fetched in 274ms
310 silly resolveWithNewModule caseless@0.12.0 checking installable status
311 http fetch GET 304 https://registry.npmjs.org/extend 273ms (from cache)
312 http fetch GET 304 https://registry.npmjs.org/har-validator 274ms (from cache)
313 http fetch GET 304 https://registry.npmjs.org/combined-stream 274ms (from cache)
314 silly pacote range manifest for form-data@~2.3.2 fetched in 275ms
315 silly resolveWithNewModule form-data@2.3.3 checking installable status
316 silly pacote range manifest for http-signature@~1.2.0 fetched in 275ms
317 silly resolveWithNewModule http-signature@1.2.0 checking installable status
318 silly pacote range manifest for forever-agent@~0.6.1 fetched in 280ms
319 silly resolveWithNewModule forever-agent@0.6.1 checking installable status
320 silly pacote range manifest for aws4@^1.8.0 fetched in 282ms
321 silly resolveWithNewModule aws4@1.10.0 checking installable status
322 silly pacote range manifest for extend@~3.0.2 fetched in 288ms
323 silly resolveWithNewModule extend@3.0.2 checking installable status
324 silly pacote range manifest for har-validator@~5.1.3 fetched in 289ms
325 silly resolveWithNewModule har-validator@5.1.3 checking installable status
326 silly pacote range manifest for combined-stream@~1.0.6 fetched in 291ms
327 silly resolveWithNewModule combined-stream@1.0.8 checking installable status
328 http fetch GET 304 https://registry.npmjs.org/isstream 125ms (from cache)
329 silly pacote range manifest for isstream@~0.1.2 fetched in 129ms
330 silly resolveWithNewModule isstream@0.1.2 checking installable status
331 http fetch GET 304 https://registry.npmjs.org/json-stringify-safe 117ms (from cache)
332 silly pacote range manifest for json-stringify-safe@~5.0.1 fetched in 120ms
333 silly resolveWithNewModule json-stringify-safe@5.0.1 checking installable status
334 http fetch GET 304 https://registry.npmjs.org/tough-cookie 144ms (from cache)
335 http fetch GET 304 https://registry.npmjs.org/tunnel-agent 147ms (from cache)
336 http fetch GET 304 https://registry.npmjs.org/performance-now 153ms (from cache)
337 http fetch GET 304 https://registry.npmjs.org/uuid 140ms (from cache)
338 http fetch GET 304 https://registry.npmjs.org/qs 156ms (from cache)
339 silly pacote range manifest for tough-cookie@~2.5.0 fetched in 151ms
340 silly resolveWithNewModule tough-cookie@2.5.0 checking installable status
341 http fetch GET 304 https://registry.npmjs.org/oauth-sign 162ms (from cache)
342 silly pacote range manifest for uuid@^3.3.2 fetched in 149ms
343 silly resolveWithNewModule uuid@3.4.0 checking installable status
344 silly pacote range manifest for performance-now@^2.1.0 fetched in 163ms
345 silly resolveWithNewModule performance-now@2.1.0 checking installable status
346 silly pacote range manifest for tunnel-agent@^0.6.0 fetched in 158ms
347 silly resolveWithNewModule tunnel-agent@0.6.0 checking installable status
348 silly pacote range manifest for qs@~6.5.2 fetched in 164ms
349 silly resolveWithNewModule qs@6.5.2 checking installable status
350 silly pacote range manifest for oauth-sign@~0.9.0 fetched in 167ms
351 silly resolveWithNewModule oauth-sign@0.9.0 checking installable status
352 http fetch GET 304 https://registry.npmjs.org/delayed-stream 113ms (from cache)
353 silly pacote range manifest for delayed-stream@~1.0.0 fetched in 115ms
354 silly resolveWithNewModule delayed-stream@1.0.0 checking installable status
355 http fetch GET 304 https://registry.npmjs.org/asynckit 96ms (from cache)
356 silly pacote range manifest for asynckit@^0.4.0 fetched in 97ms
357 silly resolveWithNewModule asynckit@0.4.0 checking installable status
358 http fetch GET 304 https://registry.npmjs.org/har-schema 104ms (from cache)
359 http fetch GET 304 https://registry.npmjs.org/ajv 107ms (from cache)
360 silly fetchPackageMetaData error for ajv@^6.5.5 Unexpected token in JSON at position 18225 while parsing near '...n":"0�eS�qs�W��&����ies":{"dot":"^1.0.3...'
361 silly pacote range manifest for har-schema@^2.0.0 fetched in 108ms
362 silly resolveWithNewModule har-schema@2.0.0 checking installable status
363 timing stage:rollbackFailedOptional Completed in 1ms
364 timing stage:runTopLevelLifecycles Completed in 5979ms
365 verbose stack SyntaxError: Unexpected token in JSON at position 18225 while parsing near '...n":"0�eS�qs�W��&����ies":{"dot":"^1.0.3...'
365 verbose stack at JSON.parse ()
365 verbose stack at parseJson (/home/ubuntu/.nvm/versions/node/v14.3.0/lib/node_modules/npm/node_modules/json-parse-better-errors/index.js:7:17)
365 verbose stack at /home/ubuntu/.nvm/versions/node/v14.3.0/lib/node_modules/npm/node_modules/node-fetch-npm/src/body.js:96:50
365 verbose stack at runMicrotasks ()
365 verbose stack at processTicksAndRejections (internal/process/task_queues.js:97:5)
366 verbose cwd /home/ubuntu
367 verbose Linux 5.3.0-62-generic
368 verbose argv "/home/ubuntu/.nvm/versions/node/v14.3.0/bin/node" "/home/ubuntu/.nvm/versions/node/v14.3.0/bin/npm" "i" "-g" "protonvpn-acc-gen"
369 verbose node v14.3.0
370 verbose npm v6.14.5
371 error Unexpected token in JSON at position 18225 while parsing near '...n":"0�eS�qs�W��&����ies":{"dot":"^1.0.3...'
372 verbose exit [ 1, true ]
While trying to install the package on Ubuntu 18.04 LTS I get this error message:
and that's the log