Info.protonet.imageresizer throws error


#1

While installing the image resize Plugin through

ionic cordova plugin add info.protonet.imageresizer

get error as

0 info it worked if it ends with ok
1 verbose cli [ ‘/usr/local/bin/node’,
1 verbose cli ‘/usr/local/bin/npm’,
1 verbose cli ‘view’,
1 verbose cli ‘info.protonet.imageresizer’,
1 verbose cli ‘–json’ ]
2 info using npm@5.8.0
3 info using node@v7.0.0
4 silly mapToRegistry name info.protonet.imageresizer
5 silly mapToRegistry using default registry
6 silly mapToRegistry registry https://registry.npmjs.org/
7 silly mapToRegistry data { type: ‘tag’,
7 silly mapToRegistry registry: true,
7 silly mapToRegistry where: undefined,
7 silly mapToRegistry raw: ‘info.protonet.imageresizer’,
7 silly mapToRegistry name: ‘info.protonet.imageresizer’,
7 silly mapToRegistry escapedName: ‘info.protonet.imageresizer’,
7 silly mapToRegistry scope: undefined,
7 silly mapToRegistry rawSpec: ‘’,
7 silly mapToRegistry saveSpec: null,
7 silly mapToRegistry fetchSpec: ‘latest’,
7 silly mapToRegistry gitRange: undefined,
7 silly mapToRegistry gitCommittish: undefined,
7 silly mapToRegistry hosted: undefined }
8 silly mapToRegistry uri https://registry.npmjs.org/info.protonet.imageresizer
9 verbose request uri https://registry.npmjs.org/info.protonet.imageresizer
10 verbose request no auth needed
11 info attempt registry request try #1 at 5:49:32 PM
12 verbose request id c50f7c853bacc35d
13 http request GET https://registry.npmjs.org/info.protonet.imageresizer
14 http 500 https://registry.npmjs.org/info.protonet.imageresizer
15 verbose bad json
15 verbose bad json
15 verbose bad json Fastly error: unknown domain
15 verbose bad json
15 verbose bad json
15 verbose bad json Fastly error: unknown domain. Please check that this domain has been added to a service.
15 verbose bad json
15 verbose bad json
16 error registry error parsing json
17 verbose headers { server: ‘Varnish’,
17 verbose headers ‘retry-after’: ‘0’,
17 verbose headers ‘content-type’: ‘text/html’,
17 verbose headers ‘content-length’: ‘177’,
17 verbose headers ‘accept-ranges’: ‘bytes’,
17 verbose headers date: ‘Wed, 30 May 2018 12:20:36 GMT’,
17 verbose headers via: ‘1.1 varnish’,
17 verbose headers connection: ‘close’,
17 verbose headers ‘x-served-by’: ‘cache-lcy19237-LCY’,
17 verbose headers ‘x-cache’: ‘MISS’,
17 verbose headers ‘x-cache-hits’: ‘0’,
17 verbose headers ‘x-timer’: ‘S1527682836.282642,VS0,VE0’ }
18 info retry will retry, error on last attempt: SyntaxError: Unexpected token < in JSON at position 0

Ionic version - 3.19.1

thanks