Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Not able to start this anymore. Perhaps an update is needed. #70

Closed
DavidWaumsley opened this issue Jan 9, 2025 · 3 comments
Closed

Comments

@DavidWaumsley
Copy link

DavidWaumsley commented Jan 9, 2025

Please forgive me in advance as I am new to anything that does not have a WordPress UI!

A few weeks back (on another computer) I installed and ran your starter site with no issues. It is brilliant. I love it and can't thank you enough for your work.

I have just tried a fresh install and get deprecation warnings:

npm warn deprecated [email protected]: This module is not supported, and leaks memory. Do not use it. Check out lru-cache if you want a good and tested way to coalesce async requests by a key value, which is much more comprehensive and powerful.
npm warn deprecated [email protected]: Rimraf versions prior to v4 are no longer supported
npm warn deprecated [email protected]: Rimraf versions prior to v4 are no longer supported
npm warn deprecated [email protected]: Glob versions prior to v9 are no longer supported
npm warn deprecated [email protected]: Glob versions prior to v9 are no longer supported

If I force fix these. I get this:

(Perhaps this is the significant one: npm warn audit Updating @11ty/eleventy-plugin-webc to 0.4.0, which is a SemVer major change.)

(node:11104) [DEP0040] DeprecationWarning: The punycode module is deprecated. Please use a userland alternative instead.
(Use node --trace-deprecation ... to show where the warning was created)
[11ty] Problem writing Eleventy templates:
[11ty] Bad response for https://api.github.com/users/madrilene/repos (403): rate limit exceeded
[11ty]
[11ty] Original error stack trace: Error: Bad response for https://api.github.com/users/madrilene/repos (403): rate limit exceeded
[11ty] at RemoteAssetCache.fetch (C:\Users\LENOVO\Desktop\Temp\lene\eleventy-excellent-main\node_modules@11ty\eleventy-fetch\src\RemoteAssetCache.js:130:12)
[11ty] at process.processTicksAndRejections (node:internal/process/task_queues:105:5)
[11ty] at async run (C:\Users\LENOVO\Desktop\Temp\lene\eleventy-excellent-main\node_modules\p-queue\dist\index.js:163:29)
[11ty] Copied 13 Wrote 0 files in 2.09 seconds (v3.0.0)
PS C:\Users\LENOVO\Desktop\Temp\lene\eleventy-excellent-main> npm audit fix --force

npm warn using --force Recommended protections disabled.

npm warn deprecated [email protected]: Rimraf versions prior to v4 are no longer supported
npm warn deprecated [email protected]: Glob versions prior to v9 are no longer supported

I want to show the installing of your starter site on my YouTube channels if that is OK?
https://www.youtube.com/@NoScriptShow

PS. it is fine if I ignore the warnings!

@madrilene
Copy link
Owner

madrilene commented Jan 9, 2025

The first block of warnings should be fixed with this round of updates: e05caf3 (Saw that Eleventy Image 6.0 was ready and included that too) Let me know if it does still error on your side!

As for the punycode error, I have been ignoring that one for too long now! I traced it back to markdown-it-eleventy-img and its dependency tree.

└─┬ [email protected]
  └─┬ @11ty/[email protected]
    └─┬ @11ty/[email protected]
      └─┬ [email protected]
        └── [email protected]

I am now working on a solution that uses HTML Transform instead, wanted to that anyway.
I'll let you know when I got that working as I imagine.

@DavidWaumsley
Copy link
Author

Wow so quick. You are a star. I'm sure I am going to use this for at least one of my sites so will let you know how I get on. Thank you.

@madrilene
Copy link
Owner

I removed markdown-it-eleventy-img and introduced a bunch of other changes.
Of course you are welcome to make a video about installing the starter, let me know if you find any more issues!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants