cal.diy icon indicating copy to clipboard operation
cal.diy copied to clipboard

README instructs `nvm use`, but the repo has no `.nvmrc` file

Open enxtur opened this issue 3 weeks ago • 1 comments

Issue Summary

README step 5 ("Set up Node") tells contributors to run nvm use, but the repo has no .nvmrc, so the command fails. The file (containing 20) was removed in #24002 (eslint 9 upgrade), apparently by accident, and was not restored by the Node 22 upgrade in #30416. Nothing else in the repo declares a Node version either: package.json engines lists only npm and yarn.

Steps to Reproduce

  1. Clone the repo.
  2. Follow README "Development Setup" to step 5.
  3. Run nvm use.

Actual Results

$ nvm use
No version provided and no .nvmrc file found

Expected Results

nvm use switches to the project's Node version (22, per the Dockerfiles and CI workflows).

Suggested fix: re-add .nvmrc with 22, and optionally add "node": ">=22" to engines in package.json. Happy to open a PR.

enxtur avatar Nov 10 '26 13:11 enxtur

Submitted fix in PR #30556 adding .nvmrc with Node 22 matching current build and action requirements.

granbellllc-png avatar Nov 11 '26 01:11 granbellllc-png