Project Settings alignment
In Vercel → Project → Settings → General and Build & Development, set:
After saving, trigger a new production deployment (push to production branch or Redeploy). Once it completes, production will match Project Settings and the configuration-diff warning should clear.
Ignored Build Step behavior
- Exit 0 → build is skipped.
- Exit 1 → build runs.
src/, public/, vite.config.ts, package.json, vercel.json, and index.html trigger a build; docs/specs-only changes skip it. The same command is in vercel.json so behavior is version-controlled for preview and production.
Build troubleshooting
- Module not found (e.g.
sanitize-error-message): Imports must resolve to real files. Use@/shared/lib/error-utilsforsanitizeErrorMessage; there is nosanitize-error-messagemodule. Fix any invalid or duplicate imports and re-runnpm run buildlocally before pushing. - npm deprecation warnings during install: Keep
engines.nodein the 22–24 range perpackage.json. Node version for Vercel builds is controlled via Project Settings → Build & Development → Node.js Version and viapackage.jsonengines.node(which can override Project Settings). Do not usevercel.jsonbuild.env.NODE_VERSIONas it is ineffective for runtime selection. Spreadsheet code uses@wekanteam/exceljs(maintained fork).package.jsonoverrides bump nestedglob/rimraf/source-mapwhere safe; some install-time warnings can still appear from deep dev-tool trees.