better-docs icon indicating copy to clipboard operation
better-docs copied to clipboard

I am getting Error in get started steps

Open Sky-bits opened this issue 2 years ago • 3 comments

-t ./node_modules/better-docs
FATAL: Unable to load template: Cannot find module 'taffydb'
Require stack:

Sky-bits avatar Mar 27 '23 07:03 Sky-bits

same here

raphzandrade avatar May 08 '23 20:05 raphzandrade

same here

sherifgaialens avatar May 18 '23 21:05 sherifgaialens

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 🥳

mamarmite avatar May 24 '23 18:05 mamarmite