Alright so after some investigation here are more ...
# questions
h
Alright so after some investigation here are more details: - I have
"@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 😅
k
> Trying to run dendron via npx returns command dendron not found can you make sure that
@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?
> Unfortunately i'm experiencing the same issue.. when running dendron publish dev i'm seeing my notes from last month (last updated before today) with the updated timestamp of today, but the date string showing 1 month ago can you confirm that you are running latest dendron version in vscode (0.89)?
h
It's a lerna monorepo, so the
docs
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 level
When running
yarn dendron publish init
in the level of the
docs
folder it works fine
confirmed
k
can you try running with the full path passed to
wsRoot
instead of just the relative path?
h
Sure, will get to it later on today or on Sunday I'll msg once done
Working fine with absolute path
k
is this a workable solution for you?
h
I can work with that for now, Thanks a lot!
4 Views