smol-11ty-starter icon indicating copy to clipboard operation
smol-11ty-starter copied to clipboard

ETIMEDOUT errors

Open SummittDweller opened this issue 1 year ago • 1 comments

I have a couple of 11ty sites derived from this project (THANK YOU!) and am recently unable to build any of them, locally or in production. They all return the ETIMEDOUT error noted below. So, this morning I made a raw/unmodified clone of this project and tried running it locally. The output is as you see below, same ETIMEDOUT error as my other instances.

I haven't a clue why this is or what to do about it. The 54.243.162.8 reference appears to be an Amazon component?

$ npm start

> [email protected] start
> eleventy --serve

(node:92199) [DEP0128] DeprecationWarning: Invalid 'main' field in '/Users/mark/GitHub/smol-11ty-starter/node_modules/emitter-mixin/package.json' of 'y'. Please either fix that or report it to the module author
(Use `node --trace-deprecation ...` to show where the warning was created)
> connect ETIMEDOUT 54.243.162.8:443

`Error` was thrown:
    Error: connect ETIMEDOUT 54.243.162.8:443
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1571:16)

SummittDweller avatar Jun 08 '23 13:06 SummittDweller

That appears due to the cat pic being loaded from aws.random.cat/meow, which appears to be failing for me.

https://github.com/5t3ph/smol-11ty-starter/blob/155a7bb5e74b1addfd0b5f2dabf5ee9c188c3149/src/_data/catpic.js#L7

The example link in the comment at the bottom of the src/_data/catpic.js file would be a good replacement, as would using placekitten. Viewing the demo on a desktop, my view of the image looks to be 1024px square, so a placekitten alternative would be https://placekitten.com/1024/1024.

edm00se avatar Feb 16 '24 14:02 edm00se