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

Upgrade to [email protected] #75

Closed
1 task
alienlebarge opened this issue Jan 12, 2022 · 2 comments · Fixed by #76
Closed
1 task

Upgrade to [email protected] #75

alienlebarge opened this issue Jan 12, 2022 · 2 comments · Fixed by #76
Labels
enhancement New feature or request

Comments

@alienlebarge
Copy link
Owner

alienlebarge commented Jan 12, 2022

Description

Upgrade website to eleventy 1.0.0

Ask

Make the site work with version 1.0.0

To Do

  • Upgrade npm package from version 0.12.0 to 1.0.

Additional Info

...

@alienlebarge
Copy link
Owner Author

alienlebarge commented Jan 12, 2022

Got a bug when upgrading.

It appears between v1.0.0-canary.38 and 1.0.0-canary.39 (diff).
It loks like it has something to do with Deduplicate tags 11ty/eleventy@d5d110c#diff-ac754599fcdf5d21057abad8cd6b4f87042811ff9cf98aff931754d10970dce5R591

log

WARN: Eleventy Plugin (@11ty/eleventy-plugin-syntaxhighlight) Compatibility: This project requires the Eleventy version to match '>=0.5.4' but found 1.0.0-canary.39. Use `npm update @11ty/eleventy -g` to upgrade the eleventy global or `npm update @11ty/eleventy --save` to upgrade your local project version.
Problem writing Eleventy templates: (more in DEBUG output)
> boolean false is not iterable (cannot read property Symbol(Symbol.iterator))

`TypeError` was thrown:
    TypeError: boolean false is not iterable (cannot read property Symbol(Symbol.iterator))
        at new Set (<anonymous>)
        at Function.cleanupData (/Users/cedricaellen/Projects/alienlebargech-v3/node_modules/@11ty/eleventy/src/TemplateData.js:591:23)
        at Template.getFrontMatterData (/Users/cedricaellen/Projects/alienlebargech-v3/node_modules/@11ty/eleventy/src/TemplateContent.js:198:25)
        at async Template.getData (/Users/cedricaellen/Projects/alienlebargech-v3/node_modules/@11ty/eleventy/src/Template.js:360:29)
        at async Template.getTemplateMapEntries (/Users/cedricaellen/Projects/alienlebargech-v3/node_modules/@11ty/eleventy/src/Template.js:963:33)
        at async TemplateMap.add (/Users/cedricaellen/Projects/alienlebargech-v3/node_modules/@11ty/eleventy/src/TemplateMap.js:59:21)
        at async Promise.all (index 294)
        at async TemplateWriter._createTemplateMap (/Users/cedricaellen/Projects/alienlebargech-v3/node_modules/@11ty/eleventy/src/TemplateWriter.js:240:5)
        at async TemplateWriter.generateTemplates (/Users/cedricaellen/Projects/alienlebargech-v3/node_modules/@11ty/eleventy/src/TemplateWriter.js:274:5)
        at async TemplateWriter.write (/Users/cedricaellen/Projects/alienlebargech-v3/node_modules/@11ty/eleventy/src/TemplateWriter.js:320:23)
Wrote 0 files in 0.45 seconds (v1.0.0-canary.39)
ERROR: "build:files" exited with 1.

@alienlebarge
Copy link
Owner Author

alienlebarge commented Jan 12, 2022

Problem above seems to come from tags: false(11ty/eleventy#1876 (comment))

fix in ba43e09

@alienlebarge alienlebarge added the enhancement New feature or request label Jan 12, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant