This is a personal blog about programming, Linux, and more.
Enjoy! โค๏ธ
npm install
npm run docs:dev
npm run docs:build
You have some python code on /tools to convert json exported from MySQL to markdown & check broken URL links.
-
Frontmatter reference: https://vuejs.press/reference/frontmatter.html#description
-
Icons: ['fa-brands fa-raspberry-pi', 'fa-brands fa-apple', 'fa-solid fa-code', 'fa-regular fa-newspaper', 'fa-solid fa-mobile-button', 'fa-brands fa-linux']
- Permission denied. Please check the permissions and owner of that directory. If you are running this command as a privileged user, please consider not using a virtual environment.
sudo chown -R $USER:$GROUP ~/.npm && sudo chown -R $USER:$GROUP /usr/local/lib/node_modules && sudo chown -R $USER:$GROUP /usr/local/bin/
- Uncaught ReferenceError: VUE_HMR_RUNTIME is not defined
Solution: Run npm run docs:dev
from terminal, don't use VSCode .
- Get stuck with
sh: vuepress-vite: command not found
# Remove devDependencies at packages.json and directory node_modules
npm i -D @vuepress/bundler-vite @vuepress/plugin-search@next vuepress@next vuepress-theme-hope @vuepress/plugin-feed@next @vuepress/plugin-redirect@next --legacy-peer-deps