SoftwareBrothers / better-docs

Beautiful toolbox for jsdoc generated documentation - with 'typescript', `category` and `component` plugins
MIT License
861 stars 127 forks source link

I am getting Error in get started steps #244

Open Sky-bits opened 1 year ago

Sky-bits commented 1 year ago
-t ./node_modules/better-docs
FATAL: Unable to load template: Cannot find module 'taffydb'
Require stack:
raphzandrade commented 1 year ago

same here

sherifgaialens commented 1 year ago

same here

mamarmite commented 1 year ago

I encounter this. Check issue #233 The problem is with better-doc that doesn't support taffiydb.

The solution

Change the version of jsdoc you used in the command line.

My case

  1. I installed jsdoc 4 globally and the last version (which is the latest).
  2. And better-doc need version 3.
  3. I uninstall my jsdoc globally and
  4. add the dev-dependencies for jsdoc locally with the target version ^3.6.7.
  5. It works for me 🥳