You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I wanted to try upgrading to 3.0.0 which required forcing the install of this plugin to see if it was possible. This plugin fails with the error following error
[11ty] Problem writing Eleventy templates:
[11ty] Unfortunately you’re using code that monkey patched some Eleventy internals and it isn’t async-friendly. Change your code to use the async `read()` method on the template instead!
[11ty]
[11ty] Original error stack trace: Error: Unfortunately you’re using code that monkey patched some Eleventy internals and it isn’t async-friendly. Change your code to use the async `read()` method on the template instead!
[11ty] at get frontMatter [as frontMatter] (file:///home/user/github/projects/site/node_modules/@11ty/eleventy/src/TemplateContent.js:154:10)
[11ty] at /home/user/github/projects/site/node_modules/eleventy-plugin-backlinks/lib/get-backlinks.js:18:52
[11ty] at Object.backlinks (/home/user/github/projects/site/node_modules/eleventy-plugin-backlinks/index.js:41:38)
...
I believe what needs to happen is that the link in get-backlinks.js needs to use (await otherNote.template.read()) instead of accessing the frontmatter directly.
The text was updated successfully, but these errors were encountered:
I wanted to try upgrading to 3.0.0 which required forcing the install of this plugin to see if it was possible. This plugin fails with the error following error
I believe what needs to happen is that the link in
get-backlinks.js
needs to use(await otherNote.template.read())
instead of accessing the frontmatter directly.The text was updated successfully, but these errors were encountered: