5t3ph / smol-11ty-starter

Extremely minimal Eleventy starter to kickstart a simple multi-page site / a nearly opinionless foundation to continue building on.
https://smol-11ty-starter.netlify.app/
82 stars 13 forks source link

ETIMEDOUT errors #1

Open SummittDweller opened 1 year ago

SummittDweller commented 1 year ago

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

> smol-11ty-starter@1.0.0 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)
edm00se commented 8 months ago

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.