logseq / logseq/publish-spa

"Error: Logseq static directory '../logseq/static' does not exist" when running 'logseq-publish-spa'

Open
#38 1 comment 0 reactions 0 assignees View on GitHub

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

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. 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

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.