Post #668166
2026-03-09 23:15 UTC
Hey @robb , I'm trying to follow your 11ty / PageFind tutorial and I'm running into some errors. Do you know what I might be doing wrong?
1. Error in your Eleventy config file 'eleventy.config.js'. (via EleventyConfigError)
2. There was a problem importing 'eleventy.config.js' via import(esm) (via EleventyImportError)
3. require is not defined in ES module scope, you can use import instead
Replies (1)
-
@theTangentSpace@mathstodon.xyz 2026-03-10 00:42
@nathanu @robb try changing the require() to an import statement and the module.exports to an export (maybe export default) statement