Skip to content

TypeError: common_server_1.DConfig.getRaw is not a function (Dendron CLI 0.124.2) / No matching version for @dendronhq/api-server@^0.124.0 #4000

@puthujjana

Description

@puthujjana

Please select the area your bug applies to. (Multiple selections are Possible. You can leave blank if you're not sure.)

  • Workspace. VSCode workspace, vaults, Intellisense/autocomplete, Dendron settings
  • Lookup. Dendron's Lookup Command
  • Views. Dendron Preview, Tree View, Side Panels in the UI
  • Schema. Dendron Schemas
  • Pod. Data import from / export to Dendron
  • [ X] Publish. External Site Publish
  • Markdown. Markdown features, such as syntax support and features

Describe the bug

Description:
I am unable to run dendron publish dev in my workspace after upgrading to the latest Dendron CLI. I have tried both 0.124.2 and 0.124.1, but encounter different errors:

To Reproduce

Set up a workspace with this in package.json:
"@dendronhq/dendron-cli": "^0.124.2"

Run:
rm -rf node_modules package-lock.json
npm install
npm run dev

Error:
TypeError: common_server_1.DConfig.getRaw is not a function

If I downgrade to 0.124.1, I get:
No matching version found for @dendronhq/api-server@^0.124.0.

Expected behavior

Dendron CLI should run without errors and publish the site.

Screenshots

If applicable, add screenshots to help explain your problem.

Desktop (please complete the following information)

macOS
Node.js version: (your version here, e.g. node -v)
Dendron CLI version: 0.124.2 (and tried 0.124.1)
Clean install, no other Dendron dependencies in package.json

Additional context

My workspace only uses a single vault.
I have tried deleting node_modules and package-lock.json and reinstalling.

Dendron Log file

Please attach the output of > Dendron:Dev: Open Logs here

Metadata

Metadata

Assignees

No one assigned

    Labels

    scope.publishStatic site generation, sending note links and anything to do with publishing your notes.status.triage-neededtype.bugSomething isn't working

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions