"Error: Logseq static directory '../logseq/static' does not exist" when running 'logseq-publish-spa'
Nobody has claimed this yet.
- Dominant language
- Clojure
- Stars
- 313
- Forks
- 29
- PR merge metrics
- No merged PRs in 30d
Description
What Happened?
After successful installation I tried to run:
logseq-publish-spa out
in a logseq directory and got the following error:
Error: Logseq static directory '../logseq/static' does not exist. Please provide a valid directory
Installation w/o any problems/errors.
Reproduce the Bug
a) Follow CLI instructions as provided here: https://github.com/logseq/publish-spa?tab=readme-ov-file#cli
b) Change to logseq dir and run "logseq-publish-spa out"
Expected Behavior
Export graph to directory "out"
Desktop or Mobile Platform Information
WIN 10 - WSL 2 Ubuntu 22-01 LTS
Contributor guide
No contributing guide indexed for this repository
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Start with the CLI instructions in the repository README and reproduce logseq-publish-spa out from a Logseq directory under WSL. Trace why it resolves ../logseq/static and compare that path with the graph location described in the issue. Done means the command exports the graph to out without the missing-directory error.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- clojure
- Domain
- cli
- Issue type
- Bug
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 35/100