摘要: * 安装 npm install -g pm2 npm install -g pm2 * 构建 Next.js 生产环境代码​(如果构建失败,需要检查目录下是否有 page或者app目录,两者二选一,不可同时存在) npm run build【生成 .next 目录】 * 如果构建失败,需要检查目录 阅读全文
posted @ 2025-07-12 17:06 雪化山河 阅读(100) 评论(0) 推荐(0)
摘要: * 安装 nvm curl -o- https://raw.githubusercontent.com/nvm-sh/nvm/v0.39.7/install.sh | bash或者:wget -qO- https://raw.githubusercontent.com/nvm-sh/nvm/v0.3 阅读全文
posted @ 2025-07-12 16:32 雪化山河 阅读(16) 评论(0) 推荐(0)