Open rpo-fr opened 2 weeks ago
Got the same issue, i deleted the line 60 of glossary.js "module.exports = { glossary };" because glossary was already exported and this fixed my issue. Hope it will help you.
I mean, once it's installed, in "node-modules/@lunaticmuch/docusaurus-terminology/lib/commands/glossary.js".
When i run 'yarn docusaurus glossary --debug', i have an error ` Alphabetical list of terms ..\Documents\Workspaces\Documentations\user-documentation\node_modules\@lunaticmuch\docusaurus-terminology\lib\index.js:58 (0, _glossary.glossary)(options); ^
TypeError: (0 , _glossary.glossary) is not a function `
My docusaurus.config.js:
[ '@lunaticmuch/docusaurus-terminology', { termsDir: './docs/terms', docsDir: './docs/', glossaryFilepath: './docs/glossary.md' }, ],,
I use docusaurus 3.3.2