Hi everyone, I just got the same issue <@!7303050...
# questions
t
Hi everyone, I just got the same issue @User had yesterday e.g. the navbar missing when using GitHub Pages (actions). @User how did you remove dendron from the global node_modules so it runs from your local workspace ? (you said it resolved the issue) Also VS code updated dendron to v0.85 but the workspace I created today is returning v0.75 when running
dendron --verion
in the terminal, I tried updating manually with
npm install --save @dendronhq/dendron-cli@latest
s
Local usage tips:
Copy code
# Uninstall at global level
npm remove -g @dendronhq/dendron-cli

# Run the following in your Dendron workspace
rm -rf node_modules
rm -rf .next

# npm without -g installs locally
npm install @dendronhq/dendron-cli@latest

# Prepend all commands with npx for local node packages
npx dendron --version
npx dendron publish init
npx dendron publish dev
Make sure
node_modules
is in your
.gitignore
, if it isn't already. Same with
.next
.
Actually, when you say you are using GitHub Actions with pages, do you have a
yarn.lock
then? Or just a
package-lock.json
?
t
Hi @User thanks for the quick reply after running
npm install @dendronhq/dendron-cli@latest
the
yarn.lock
got added, I re-run all jobs from github action but no changes I used your github template from last time: https://github.com/dendronhq/template.publish.github-action now running your local usage tips
and my .gitignore contains the following:
Copy code
node_modules
.dendron.*
build
.next
.history
docs
FORGET IT @User Problem solved! Sorry for posting the question to early it seems the update took some time to come up