Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Latest version of dendron-cli 0.124.2 breaks when running npx dendron publish init #3981

Open
1 of 7 tasks
viswak-cn opened this issue Mar 19, 2024 · 4 comments
Open
1 of 7 tasks
Labels
scope.publish Static site generation, sending note links and anything to do with publishing your notes. status.triage-needed type.bug Something isn't working

Comments

@viswak-cn
Copy link

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
  • Publish. External Site Publish
  • Markdown. Markdown features, such as syntax support and features

Describe the bug

Context:

Using dendron-cli's latest version: 0.124.2 and following this guide for publishing Dedron site on GH pages using GH actions.

Problem:

While running command: npx dendron publish init
Got error: TypeError: common_server_1.DConfig.getRaw is not a function

Full error screenshot:

image

To Reproduce

Steps to reproduce the behavior:

  1. Create a new Dendon repo out of "https://github.com/dendronhq/dendron-template".
  2. Follow guide to setup GH pages for publishing.
  3. On step to initialize publishing, when you run npx dendron publish init
  4. You will see the error.

Expected behavior

I downgraded the dendron CLI version to 0.119.0 - it works as expected.
The screenshot of the out of the same command after downgrading:
image

Desktop (please complete the following information)

  • OS: MacOS 14.3
  • Browser (if with published websites; include version): N/A
  • Versions (all that apply to bug):
    • Dendron Extension: 0.124.0
    • VS Code version: 1.87.1 (Universal)
    • Dendron CLI: 0.124.2
@github-actions github-actions bot added scope.publish Static site generation, sending note links and anything to do with publishing your notes. status.triage-needed type.bug Something isn't working labels Mar 19, 2024
@raininja
Copy link

I have the same error, with the same resolution, 0.119.0 works, 0.124.2 fails with "common_server_1.DConfig.getRaw is not a function"

@haudoing
Copy link

I saw the same error on my GitLab pipeline too. I opened an issue on gitlab template here too.

@daniellovell
Copy link

Confirm latest is broken currently on Windows running from PowerShell and WSL both. Reverting to 0.119.0 fixes.

@Morrighan89
Copy link

I have the same issue on Ubuntu LTS 22.04 and I confirm that 0.119.0 works fine instead.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
scope.publish Static site generation, sending note links and anything to do with publishing your notes. status.triage-needed type.bug Something isn't working
Projects
None yet
Development

No branches or pull requests

5 participants