更新 Error: Cannot find module 'webpack/lib/RuleSet' 问题

yangjianbing 2026-02-06 14:40:00 +08:00
parent bf7946c4c1
commit 359db0e368

@ -18,4 +18,8 @@ npm cache clean --force # 如果使用 npm
# --- 步骤 3: 重新安装依赖 ---
npm install # 如果使用 npm
# yarn install # 如果使用 yarn
# pnpm install # 如果使用 pnpm
# pnpm install # 如果使用 pnpm
# --- 步骤 4: 重新编译
拷贝resources下必要的文件夹到node_modules下然后执行
npm run build