https://www.dendron.so/ logo
Join Discord
Powered by
# questions
  • h

    hulke

    04/06/2022, 7:23 AM
    yes
  • s

    SeriousBug

    04/06/2022, 7:24 AM
    Could you delete the
    .next
    folder and then try again?
  • h

    hulke

    04/06/2022, 7:26 AM
    Tried that already as well as
    git clean -dfx
    another weird thing i'm experiencing now is after running
    dendron publish dev
    i'm getting
    Error: Cannot find module 'ajv/dist/compile/codegen'
    error when checking in
    node_modules
    i see that
    ajv
    has only
    ajv.min.js
    in the
    dist
    folder (no
    index.js
    ) ..
  • s

    SeriousBug

    04/06/2022, 7:27 AM
    Could you try deleting any
    .dendron.cache.json
    files inside your vault(s) and then try again then? Maybe the cache is not updating for some reason
  • h

    hulke

    04/06/2022, 7:28 AM
    sure, then run
    publish dev
    again? or run entire
    clean
    flow?
  • s

    SeriousBug

    04/06/2022, 7:29 AM
    just
    publish dev
    , although now that I think about it
    git clean -dfx
    would have deleted those already
  • h

    hulke

    04/06/2022, 7:30 AM
    yep
  • h

    hulke

    04/06/2022, 8:28 AM
    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
    • 2
    • 10
  • t

    Tika

    04/06/2022, 11:03 AM
    just to confirm that it still does not work in 89
  • t

    Tika

    04/06/2022, 11:09 AM
    https://github.com/dendronhq/dendron/issues/2702
  • a

    andrey-jef

    04/06/2022, 1:58 PM
    in
    siteHierarchies
    config, can I use indented list for nested hierarchy? example:
    Copy code
    yaml
    publishing:
        siteHierarchies:
          - dendron
              - community
          - topic
    https://wiki.dendron.so/notes/8Qpabm7YvMzxJ7Xs5uFU9/
  • a

    andrey-jef

    04/06/2022, 2:03 PM
    in per-hierarchy publishing configurations, does each hierarchy need to be previously defined in
    siteHierarchies
    config? example: with this yaml config below, will the
    anotherRandomHierarchyName
    hierarchy will be published or not?
    Copy code
    yaml
    publishing:
        siteHierarchies:
          - dendron
          - community
          - topic
        anotherRandomHierarchyName:
            publishByDefault: true
    https://wiki.dendron.so/notes/yAuiMNdBK0IDWBoSAAQ4D/
  • k

    kevins8

    04/06/2022, 3:23 PM
    no, just top level hierarchies atm
  • k

    kevins8

    04/06/2022, 3:24 PM
    it needs to be defined in
    siteHierarchies
  • k

    kevins8

    04/06/2022, 3:25 PM
    dendron publishing
  • f

    FiveFinger

    04/06/2022, 4:00 PM
    Hey, I had a similar request. It is basically a the preview link function for the backlinks. It is currently not possible, I have just created a ticket for it, https://github.com/dendronhq/dendron/issues/2707
  • a

    andrey-jef

    04/06/2022, 4:27 PM
    kk, I will make a PR for docs to reflect your clarifications
  • u

    user

    04/06/2022, 5:43 PM
    Currently using
    Import Markdown
    pod to move from Obsidian, how long should I reasonably wait for it to copy over about 2k notes?
  • k

    kevins8

    04/06/2022, 6:00 PM
    should be under a minute. sounds like a bug otherwise
  • u

    user

    04/06/2022, 6:05 PM
    Its been running for a half hour. I pulled my Obsidian vault out of it's parent directory, changed the config.yml, and now says
    error while running command: Maximum call stack size exceeded
    config.import.yaml
    Copy code
    yaml
    # description: Where to import from
    # type: string
    # required: true
    src: /Users/glitch/Documents/vault/
    
    # description: name of vault to import into
    # type: string
    # required: true
    vaultName: vault
    # description: whether to concatenate everything into one note
    # type: boolean
    # concatenate: TODO
    
    # description: frontmatter to add to each note
    # type: object
    # frontmatter: TODO
    
    # description: use the file name as the id
    # type: boolean
    # fnameAsId: TODO
    
    # description: If concatenate is set, name of destination path
    # type: string
    # destName: TODO
    
    # description: Don't add uuid to assets
    # type: boolean
    # noAddUUID: TODO
    
    # description: If you have an index file per directory, merge that file with the directory note
    # type: string
    # indexName: TODO
    
    # description: Import note metadata. In case of any conflicts, the conflicting fields are prefixed with _import
    # type: boolean
    # importFrontmatter: true
    
    # description: An optional set of variable mappings, with the key being the variable name in the import source and the value being the resulting variable name in Dendron. See https://wiki.dendron.so/notes/f23a6290-2dec-45dc-b616-c218ee53db6b.html for examples.
    # type: object
    # frontmatterMapping: TODO
  • u

    user

    04/06/2022, 6:05 PM
    It seems the pod either hangs or exceeds call stack size
  • s

    SeriousBug

    04/06/2022, 6:27 PM
    An error about the call stack size suggests a bug, could you please send a bug report? https://github.com/dendronhq/dendron/issues/new?assignees=&labels=&template=bug_report.md&title= If you have the time, it also would be useful if you tried importing only some of your notes to see if there are any specific notes that break the import.
  • d

    d1onys1us

    04/06/2022, 6:48 PM
    is there any concept of a dendron workspace which does not have a single vault? for example if it is a single vault repo / knowledge base, is it possible to not even have the notion of a vault and have the root dendron workspace be considered the entry point?
  • d

    d1onys1us

    04/06/2022, 6:48 PM
    or is this not how dendron was developed / not recommended?
  • s

    SeriousBug

    04/06/2022, 7:04 PM
    That's something we're doing with the self contained vaults actually. You just create a Dendron workspace, and that workspace just has your notes in it, and it's also a vault. If you'd like to test it out you could join the early preview: https://airtable.com/shr0cwk0a9tujeipZ
  • d

    d1onys1us

    04/06/2022, 7:08 PM
    oh yeah im gonna join that right now thanks
  • d

    d1onys1us

    04/06/2022, 7:09 PM
    when is wysiwyg editor slated on the timeline of things? just out of pure curiousity
  • d

    d1onys1us

    04/06/2022, 7:16 PM
    is dendron dark mode coming to the publish site 👀
  • f

    foureyedsoul

    04/06/2022, 7:25 PM
    @User I don't know the answer to either of these. But if I were going to try to make a dark mode myself right now, I'd probably try Aral Balkan's code as a starting point: https://ar.al/2021/08/24/implementing-dark-mode-in-a-handful-of-lines-of-css-with-css-filters/
  • d

    d1onys1us

    04/06/2022, 7:26 PM
    haha yeah i can def do it with css. honestly not a high priority for me tho was just curious 🙂
1...600601602...757Latest