alfa icon indicating copy to clipboard operation
alfa copied to clipboard

Getting invalid JSON error when installing

Open jrpool opened this issue 2 years ago • 2 comments

In about 1 out of 2 attempts to install alfa, I get this error:

invalid json response body at https://npm.pkg.github.com/@siteimprove%2falfa-result reason: Invalid response body while trying to fetch https://npm.pkg.github.com/@siteimprove%2falfa-result: Socket timeout

jrpool avatar May 22 '23 16:05 jrpool

🤔 That sounds like a Github registry issue (especially if it works sometimes, and especially with a network error ("Socket timeout") rather than a validation error). Is that a recent problem or has it been here for a long time (i.e. could it be a temporary Github problem)? And is it only alfa-result that is troublesome, or sometimes other packages too?

I'm not seeing any problem like that in the several projects I have that depend on Alfa.

Let me know if the problem persists or disappear. I'm not really sure whether I can do something on my end, though.

Jym77 avatar May 23 '23 06:05 Jym77

@jrpool Are you still seeing this problem?

Jym77 avatar Jun 16 '23 11:06 Jym77