https://www.dendron.so/ logo
Join Discord
Powered by
# dev
  • k

    kevins8

    06/13/2021, 2:50 PM
    🏖️ sounds nice 🙂
  • s

    SeriousBug

    06/14/2021, 8:01 PM
    Is anyone else having this error with the latest dendron CLI version?
    Copy code
    node:internal/modules/cjs/loader:944
      throw err;
      ^
    
    Error: Cannot find module '../src/commands/seedCLICommand'
    Require stack:
    - /home/kaan/.local/share/nvm/v16.3.0/lib/node_modules/@dendronhq/dendron-cli/lib/bin/dendron-cli.js
        at Function.Module._resolveFilename (node:internal/modules/cjs/loader:941:15)
        at Function.Module._load (node:internal/modules/cjs/loader:774:27)
        at Module.require (node:internal/modules/cjs/loader:1013:19)
        at require (node:internal/modules/cjs/helpers:93:18)
        at Object.<anonymous> (/home/kaan/.local/share/nvm/v16.3.0/lib/node_modules/@dendronhq/dendron-cli/lib/bin/dendron-cli.js:17:26)
        at Module._compile (node:internal/modules/cjs/loader:1109:14)
        at Object.Module._extensions..js (node:internal/modules/cjs/loader:1138:10)
        at Module.load (node:internal/modules/cjs/loader:989:32)
        at Function.Module._load (node:internal/modules/cjs/loader:829:14)
        at Function.executeUserEntryPoint [as runMain] (node:internal/modules/run_main:76:12) {
      code: 'MODULE_NOT_FOUND',
      requireStack: [
        '/home/kaan/.local/share/nvm/v16.3.0/lib/node_modules/@dendronhq/dendron-cli/lib/bin/dendron-cli.js'
      ]
    }
  • k

    kevins8

    06/14/2021, 8:04 PM
    yes, this should be fixed in 0.46
  • k

    kevins8

    06/14/2021, 8:04 PM
    this was caused by mac file name being case preserving 😓
  • s

    SeriousBug

    06/14/2021, 8:12 PM
    I do have 0.46 installed though
  • k

    kevins8

    06/14/2021, 8:15 PM
    taking a look
  • k

    kevins8

    06/14/2021, 8:18 PM
    hmm, not able to reproduce. can you try installing in a clean folder (
    mkdir /tmp/test && yarn init -y && yarn add @dendronhq/dendron-cli
    and using
    npx dendron
    )?
  • k

    kevins8

    06/14/2021, 8:20 PM
    nvm, reproduced
  • k

    kevins8

    06/14/2021, 8:21 PM
    looks like the build was still using the old version of cli. will republish
  • k

    kevins8

    06/14/2021, 8:21 PM
    is this also affecting the plugin or just the cli?
  • s

    SeriousBug

    06/14/2021, 8:23 PM
    Thanks. The plugin seems to be working fine.
  • k

    kevins8

    06/14/2021, 8:27 PM
    just pushed 0.46.1. can you check if that works for you?
  • k

    kevins8

    06/14/2021, 8:27 PM
    also, good catch!
  • k

    kevins8

    06/14/2021, 8:27 PM
    this is why we can't have a mac monoculture on the team 😅
  • s

    SeriousBug

    06/14/2021, 8:28 PM
    No problem 😄 It works now, thanks!
  • k

    kevins8

    06/15/2021, 4:20 PM
    @User @User did a pairing session with @User about how we parse markdown with dendron. this powers features like wikilinks and block references. video below for curious parties:

    https://www.youtube.com/watch?v=uEOnZiZaiCc▾

    documentation here: https://wiki.dendron.so/notes/69746008-2fa0-4036-b443-b15076a3d6bf.html
  • l

    lukecarrier

    06/16/2021, 8:51 PM
    This was a super helpful explanation, thanks! I somehow had ended up with dendron-11ty@latest in either my
    package.json
    or
    package-lock.json
    every time I invoked npm. I guess this dates back to publishing v2 days before it was a dependency of the CLI. A gotcha to be aware of now latest resolves to the 1.x series 📦
  • s

    SeriousBug

    06/16/2021, 8:55 PM
    Is this a new VSCode feature, or some extension I installed?
  • s

    SeriousBug

    06/16/2021, 9:01 PM
    Ah, looks like someone accidentally changed
    editor.lineNumbers
    to
    relative
    in
    dendron-main.code-workspace
    which is overriding my user preferences.
  • k

    kevins8

    06/16/2021, 9:06 PM
    yeah, its an ugly wart that i'm aiming to remove in july when we switched to nextjs based publishing
  • k

    kevins8

    06/16/2021, 9:06 PM
    that was me 😅 feel free to remove and i can have it on my global settings instead
  • s

    SeriousBug

    06/16/2021, 9:07 PM
    Sure! It's just a minor inconvenience, I don't use vim style navigation so they are just not that useful for me 🙂
  • k

    kevins8

    06/16/2021, 9:07 PM
    got it. emacs then?
  • s

    SeriousBug

    06/16/2021, 9:08 PM
    Yup! I'm especially a fan of Ace Jump though, which someone implemented in VSCode as MetaGo. You hit some keybinding, then type the first letter of the word you want to jump to.
  • k

    kevins8

    06/16/2021, 9:11 PM
    nice, will check that out
  • k

    kevins8

    06/16/2021, 9:11 PM
    i find that two letter jumps are good enough for most text navigation purposes
  • t

    Tika

    06/17/2021, 12:39 PM
    Is this a typo? https://wiki.dendron.so/notes/683740e3-70ce-4a47-a1f4-1f140e80b558.html
  • k

    Kiran

    06/17/2021, 1:10 PM
    Good catch, fixed it.
  • t

    Tika

    06/17/2021, 1:11 PM
    If that is useful, here is another one. 🙂 https://wiki.dendron.so/notes/c378b702-7d49-4e91-be6e-b2078103c86e.html
  • k

    Kiran

    06/17/2021, 1:39 PM
    Lol - I can fix that BUT if you fix it via PR you will get the much coveted
    taxonomist
    role 🙂
1...707172...108Latest