github-wiki-sidebar
github-wiki-sidebar copied to clipboard
Error generating _Sidebar.md:
Command fails. No debug output.
options file:
{
"menu": {
"item": "{{#levelRepeat}} {{/levelRepeat}}* [{{{title}}}]({{{link}}})\n",
"category": "{{#levelRepeat}} {{/levelRepeat}}* {{#link}}[{{{title}}}]({{{link}}}){{/link}}{{^link}}{{{title}}}{{/link}}\n{{{subitems}}}",
"category-1": "{{{subitems}}}\n"
},
"rules": {
"exclude": [],
"order": [
"Home.md"
]
},
"separator": "#",
"linkTemplate": "./%s",
"menuFile": "_Sidebar.md",
"multilang": false,
"menuOnly": true
}
job output:
export DEBUG=github-wiki-sidebar; npx github-wiki-sidebar --silent
github-wiki-sidebar Executing job silent +0ms
//-- github-wiki-sidebar: enquire mode
github-wiki-sidebar Generating the custom options.json file ... +2ms
github-wiki-sidebar Build the _Sidebar.md file ... +0ms
Error generating _Sidebar.md:
//-- Job completed.
Got the same problem. Installed and run it with yarn
:
yarn exec github-wiki-sidebar
UPD: installing it globally with npm install -g github-wiki-sidebar
helped. I still would be glad to use it with yarn
and local install.
I see the same error when using npx
, but it works when installed globally.