Ask coding questions
The picture shows what is happening. The code is taken directly from the lunr.js docs.
you forgot to import it sillythe docs give you code -- but not the setup!
add this to the top of the page:
const lunr = require("lunr");
according to the code replit shared with us, lunr.js is not installed.