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
// source.config.tsimport{defineDocs,defineConfig,frontmatterSchema}from"fumadocs-mdx/config";import{z}from"zod";var{ docs, meta }=defineDocs({docs: {schema: frontmatterSchema.extend({keywords: z.array(z.string()).default([]),wikiURL: z.string().default("")})}});varsource_config_default=defineConfig({generateManifest: true});export{source_config_defaultasdefault,docs,meta};
error for one mdx:
[MDX] writing manifest
cannot find the search index of D:/Projects/NodeJS/dark-gbf/content/docs/celeste/changelog.mdx Error: ENOENT: no such file or directory, open 'D:\Projects\NodeJS\dark-gbf\.next\cache\fumadocs\f8aa6ffdd452107adddfdbb6d532bd68d3a4c96e367a79005bedf60448cbc3c7.json'
at Object.openSync (node:fs:573:18)
at Object.readFileSync (node:fs:452:35)
at writeManifest (file:///D:/Projects/NodeJS/dark-gbf/node_modules/fumadocs-mdx/dist/chunk-P6WKCOD5.mjs:116:27)
at process.<anonymous> (file:///D:/Projects/NodeJS/dark-gbf/node_modules/fumadocs-mdx/dist/next/index.mjs:161:7)
at process.emit (node:events:519:28)
at process.processEmit [as emit] (D:\Projects\NodeJS\dark-gbf\node_modules\next\dist\compiled\ora\index.js:1:59071)
at process.exit (node:internal/process/per_thread:185:15)
at D:\Projects\NodeJS\dark-gbf\node_modules\next\dist\bin\next:80:99
at process.processTicksAndRejections (node:internal/process/task_queues:95:5) {
errno: -4058,
code: 'ENOENT',
syscall: 'open',
path: 'D:\\Projects\\NodeJS\\dark-gbf\\.next\\cache\\fumadocs\\f8aa6ffdd452107adddfdbb6d532bd68d3a4c96e367a79005bedf60448cbc3c7.json'
}
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
-
My manifest.json is an empty array at build so I can't update search index and I'm not sure why. The out folder is perfectly fine.
"next": "^14.2.8",
"fumadocs-core": "^13.4.7",
"fumadocs-mdx": "^10.0.1",
"fumadocs-ui": "^13.4.7",
node - 20.17.0
npm - 10.8.2
source.config.ts
source.js
generated source.config.mjs in .source
error for one mdx:
Beta Was this translation helpful? Give feedback.
All reactions