I honestly don't know if you can help, but just in case the TLDR is that my website runs on Eleventy. It's all in GitHub. I've flattened my laptop since I last had Eleventy running, so now I'm trying to figure out how to get it all back up and running so I can update it. On Windows 11/Terminal.
If you know of a complete muppet's guide to this sort of thing, I'd be glad of it 😊
@eleventy Not yet. It seems I installed a version of Node that no longer supports `require`. Now trying to figure out if it's better to downgrade Node (using Terminal on Wn11) or update the JS.
There isn't a type module in package.jason. The more I've investigated, the more I realise that everything is so horribly out of date, that it's way beyond my fu to figure out, so I think I need to call in the professionals.
Do you know of any 11ty capable freelancers I could hire to help me unscramble it by any chance - or a good way to find someone reliable?
I have a serendipitous public holiday and so I volunteer to attempt to perform this upgrade in the form of a pull request to your GitHub repository (github.com/LJWatson/website-ti…). :)
Hello! 👋🏻
This pull request is an attempt to perform a full and working upgrade of your website from Eleventy version 0.12.1 to 3.0.0. I'll first summarize the changes briefly and will go into ...
@kleinfreund @eleventy This is extraordinarily generous of you - thank you so very much!
I'm reading your helpful commit messages now. I've cloned your fork, and have upgraded to Node 22, and `npm install` works - though `npm start` is still giving me errors, but I'm trying to figure them out.
Is there some way I can express my thanks? Perhaps a fee, or a donation to a charity of your choice, or a gift of some kind I can send?
@eleventy Thanks! Absolutely no material form of thanks is necessary, but I appreciate the offer. :)
One immediate thing that comes to mind to try after upgrading node is to throw out node_modules and then run `npm install` again. This should normally not be necessary, but I remain cautious.
Let me also try and run the package scripts in a Linux environment to see if I also run into issues.
After stable release, beta release here https://github.com/11ty/eleventy-fetch/releases/tag/v5.0.0-beta.2 cc @uncenter via 11ty/eleventy-fetch#42 (comment)
Eleventy 🎈 v3.0.0
in reply to Léonie Watson • • •Léonie Watson
in reply to Eleventy 🎈 v3.0.0 • • •@eleventy Thanks for asking 💜
I honestly don't know if you can help, but just in case the TLDR is that my website runs on Eleventy. It's all in GitHub. I've flattened my laptop since I last had Eleventy running, so now I'm trying to figure out how to get it all back up and running so I can update it. On Windows 11/Terminal.
If you know of a complete muppet's guide to this sort of thing, I'd be glad of it 😊
Eleventy 🎈 v3.0.0
in reply to Léonie Watson • • •Léonie Watson
in reply to Eleventy 🎈 v3.0.0 • • •Eleventy 🎈 v3.0.0
in reply to Léonie Watson • • •it sounds like somehow your project was swapped to prefer ESM—this is not necessary with Eleventy 3.0!
Is there a type: module in your package.json? If so, I’d remove that and try again!
11ty.dev/docs/cjs-esm/
CommonJS vs. ESM
EleventyLéonie Watson
in reply to Eleventy 🎈 v3.0.0 • • •@eleventy Thanks for more suggestions 😊
There isn't a type module in package.jason. The more I've investigated, the more I realise that everything is so horribly out of date, that it's way beyond my fu to figure out, so I think I need to call in the professionals.
Do you know of any 11ty capable freelancers I could hire to help me unscramble it by any chance - or a good way to find someone reliable?
Eleventy 🎈 v3.0.0 reshared this.
Eleventy 🎈 v3.0.0
in reply to Léonie Watson • • •100% we have a list of folks here: 11ty.dev/super-professional-bu…
And we’ll boost your post here.
A third option is the Eleventy Discord, which has a lovely bunch of helpful folks: 11ty.dev/blog/discord/
Join our Discord Server!
EleventyPhilipp Tootloff
in reply to Eleventy 🎈 v3.0.0 • • •Upgrade eleventy from 0.12.1 to 3.0.0 by kleinfreund · Pull Request #26 · LJWatson/website-tink-eleventy
GitHubLéonie Watson
in reply to Philipp Tootloff • • •@kleinfreund @eleventy This is extraordinarily generous of you - thank you so very much!
I'm reading your helpful commit messages now. I've cloned your fork, and have upgraded to Node 22, and `npm install` works - though `npm start` is still giving me errors, but I'm trying to figure them out.
Is there some way I can express my thanks? Perhaps a fee, or a donation to a charity of your choice, or a gift of some kind I can send?
Philipp Tootloff
in reply to Léonie Watson • • •@eleventy Thanks! Absolutely no material form of thanks is necessary, but I appreciate the offer. :)
One immediate thing that comes to mind to try after upgrading node is to throw out node_modules and then run `npm install` again. This should normally not be necessary, but I remain cautious.
Let me also try and run the package scripts in a Linux environment to see if I also run into issues.
Philipp Tootloff
in reply to Philipp Tootloff • • •@eleventy My running the production script in a Linux environment did reveal what I assume is also the error you're seeing:
Error: template not found: /home/phil/dev/website-tink-eleventy/dist/css/critical.css
I'll leave a comment on the pull request so its paper trail remains sensible.
Léonie Watson
in reply to Philipp Tootloff • • •@kleinfreund @eleventy Thanks. The error on `npm start` is:
> npx gulp && concurrently "npx gulp watch" "npx eleventy --serve"
(node:33604) [DEP0040] DeprecationWarning: The `punycode` module is deprecated. Please use a userland alternative instead. ...
Eleventy 🎈 v3.0.0
in reply to Léonie Watson • • •Update to use Eleventy Fetch v5.0.1 · Issue #252 · 11ty/eleventy-img
GitHubLéonie Watson
in reply to Eleventy 🎈 v3.0.0 • • •