Open walkerwzy opened 4 months ago
This is an issue with the latest version, there was a breaking change, and the DConfig module has been deprecated. I am using the template provided on the official website. The version of dendron-cli being used there is 0.106.0. I installed this version under the current project and then called it by setting a script in package.json like this: "dev": "dendron publish dev", which allows you to call the local version in the current folder, bypassing the globally installed version. You can try this. Of course, you can also check the version numbers mentioned by other users to see which newer version is available.
This error is also happening on my end. I'm running Windows 11, and I also tried with WSL.
The version of dendron-cli being used there is 0.106.0. I installed this version under the current project and then called it by setting a script in package.json like this: "dev": "dendron publish dev", which allows you to call the local version in the current folder, bypassing the globally installed version.
You can also install that version by running npm install -g @dendronhq/dendron-cli@0.106.0
I did that and it seems to be working, for now.
Please select the area your bug applies to. (Multiple selections are Possible. You can leave blank if you're not sure.)
Describe the bug
when follow the document "publish quick start", the first step
dendron publish init
, it show the error, detail message:To Reproduce
just run
dendron publish init
Desktop (please complete the following information)
Additional context
Add any other context about the problem here.
Dendron Log file
Please attach the output of
> Dendron:Dev: Open Logs
here