question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Error: The partial docs could not be found

See original GitHub issue

hi there, in my package.json I have

... 
"build:utils": "jsdoc2md --files ./resources/assets/jsx/app/utils/*.ts* --configure ./jsdoc2md.json > ./resources/assets/jsx/docs/utils.md",

if I run by shell (MacOS, jsdoc2md v5.0.0)

$ jsdoc2md --files ./resources/assets/jsx/app/utils/*.ts* --configure ./jsdoc2md.json > ./resources/assets/jsx/docs/utils.md

all works fine, but if I run

$ yarn build:utils

I got

yarn run v1.17.0
$ jsdoc2md --files ./resources/assets/jsx/app/utils/*.ts* --configure ./jsdoc2md.json > ./resources/assets/jsx/docs/utils.md
Error: The partial docs could not be found
error Command failed with exit code 1.
info Visit https://yarnpkg.com/en/docs/cli/run for documentation about this command.

any clue?

Issue Analytics

  • State:closed
  • Created 4 years ago
  • Comments:6 (3 by maintainers)

github_iconTop GitHub Comments

1reaction
75lbcommented, Mar 25, 2021

thanks for the workaround @linorabolini

closing as this is not an issue with jsdoc2md itself.

0reactions
linorabolinicommented, Mar 4, 2020

I got this error, jsdoc works for me. I checked all the source code and arrived to the DmD node package.

I checked the partials folder and I compared the one I have with the one in the repo.

The one in the repo HAS a docs folder. my node_modules doesn’t have it. I think it might be related to yarn or some dependency lock. Will keep investigating.

Update: it seems that the .yarnclean file has listed docs as a folder to cleanup. So it doesn’t get installed in node_modules.

https://jmp.sh/c9Gt8IM

FIX: just remove docs folder from the list in .yarnclean Or we can just change the name of the partials folder.

@75lb @gfazioli ^ 😃

Read more comments on GitHub >

github_iconTop Results From Across the Web

How to Solve The partial head could not be found Handlebars
I run ExpressJS and installed Handlebars as a template engine. I'm using AdminLTE and split it up to 6 hbs files in /views/layouts...
Read more >
Partials not found · Issue #151 · pillarjs/hbs - GitHub
Hi. Im trying to include hbs partials on my main.hbs but im getting an error that partials could not be found.
Read more >
How to fix Hugo's 'partial not found' error message? - Kodify.net
The 'partial not found' error message happens when Hugo cannot find a partial that we reference in a theme template file (GitHub, 2017)....
Read more >
New partials not working in handlebars example - Glitch Support
Hi, I am trying to use a remix of the handlebars template example which works fine until I create new partials and include...
Read more >
Working with JavaScript in Visual Studio Code
In these cases, VS Code's IntelliSense will operate in partial mode. Partial mode tries its best to provide IntelliSense for any JavaScript or...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found