hulke
04/06/2022, 8:28 AM"@dendronhq/dendron-cli": "^0.89.0"
in my devDeps
- My dendron workspace (where the dendron.yml
and vault
is found at <root>/docs
- I'm running yarn dendron publish init --wsRoot docs/
, Then it runs the install process of .next
which results in a weird structure of .next/docs/.next
(nested inside my <root>/docs
dir.
- Running yarn dendron publish init --wsRoot docs/
returns the long error starting with Error: Cannot find module 'ajv/dist/compile/codegen'
.
** Trying to run dendron
via npx
returns command dendron not found
(could be since i'm on a private registry but not sure that this is the case since it used to work until today).
I'm losing it 😅kevins8
04/06/2022, 3:27 PM@dendronhq/dendron-cli
is either installed globally or int he npm package when you run npx dendron
?
> I'm running yarn dendron publish init --wsRoot docs/, Then it runs the install process of .next which results in a weird structure of .next/docs/.next (nested inside my /docs dir
can you run yarn dendron publish init
when inside of docs
without a --wsRoot
flag?kevins8
04/06/2022, 3:28 PMhulke
04/07/2022, 7:58 AMdocs
1 level deep from the root. My first thought was running yarn dendron publish dev
(or init
) from the root folder.
but then it creates this weird structure inside the docs
(<root>/docs/.next/docs/.next
).
So for your question, yes it is installed at the root levelhulke
04/07/2022, 7:58 AMyarn dendron publish init
in the level of the docs
folder it works finehulke
04/07/2022, 7:58 AMkevins8
04/08/2022, 1:53 AMwsRoot
instead of just the relative path?hulke
04/08/2022, 4:52 AMhulke
04/10/2022, 10:01 AMkevins8
04/10/2022, 3:14 PMhulke
04/10/2022, 3:18 PM