-
-
Notifications
You must be signed in to change notification settings - Fork 0
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
update to canary v3 #8
Conversation
✅ Deploy Preview for eleventeen ready!
To edit notification comments on pull requests, go to your Netlify site configuration. |
New and removed dependencies detected. Learn more about Socket for GitHub ↗︎
🚮 Removed packages: npm/@11ty/eleventy@2.0.1 |
Problems stem from new Building with canary doesn't help. Investigating UPDATE: The line numbers below correspond to Will try to add a new comment below with current line numbers that match
throw new EleventyConfigError( https://github.com/11ty/eleventy/blob/v2.x/src/TemplateConfig.js#L312
let localConfig = this.requireLocalConfigFile(); https://github.com/11ty/eleventy/blob/v2.x/src/TemplateConfig.js#L334
this.config = this.mergeConfig(); https://github.com/11ty/eleventy/blob/v2.x/src/TemplateConfig.js#L159
getLocalProjectConfigFiles() {
if (this.projectConfigPaths && this.projectConfigPaths.length > 0) {
return TemplatePath.addLeadingDotSlashArray(this.projectConfigPaths.filter((path) => path));
}
return [];
} https://github.com/11ty/eleventy/blob/v2.x/src/TemplateConfig.js#L105-L110
DEBUG=Eleventy* npx @11ty/eleventy
|
OK so I got it building on
I think the source of the confusion was this part of the “short upgrade guide.”
Very easy to glaze over and breeze past “only necessary,” and “If you’re continuing,” as I did, and think the: const { I18nPlugin, RenderPlugin, HtmlBasePlugin } = await import("@11ty/eleventy"); …part belongs in your updated: export default async function(eleventyConfig) { Once I moved that to a typical import syntax up top: import { HtmlBasePlugin } from "@11ty/eleventy"; I finally got a more helpful error:
Changing import { EleventyHtmlBasePlugin } from "@11ty/eleventy"; eleventyConfig.addPlugin(EleventyHtmlBasePlugin); In the course of debugging I renamed |
Can you double check your canary version? |
Everything is building now? I just need to convert the 11tydata files to modules and then I'm going to merge this! This PR should be useful for base-blog when it comes time to convert it. UPDATE: converted |
|
UPDATE: MERGED 🌈📓➕🎨💥
build error attempting to follow https://www.11ty.dev/blog/canary-eleventy-v3/