启动项目与部署
小于 1 分钟
一、准备运行环境
二、pnpm run docs:dev报错
背景
当重新把项目从github拉下来后,直接运行
pnpm run docs:dev报错;提示
vuepress: not found,需要先安装node_modules

1. 解决方法
# Deprecated
npm i vuepress@next vuepress-theme-hope@next && npm install && npm update
# Deprecated
npm i -D @vuepress/bundler-vite@next && npm install && npm update
pnpm install --frozen-lockfilepnpm run docs:dev
’
