From b82e358e8e862c7c12ca7241254d0ef9d8c10c2a Mon Sep 17 00:00:00 2001 From: Sam Freund Date: Sat, 1 Jun 2024 14:29:03 -0500 Subject: [PATCH] update nvm version limits (#360) --- .../contributing/photonvision/build-instructions.rst | 12 +++++++++++- 1 file changed, 11 insertions(+), 1 deletion(-) diff --git a/source/docs/contributing/photonvision/build-instructions.rst b/source/docs/contributing/photonvision/build-instructions.rst index 63d2488..fcb208d 100644 --- a/source/docs/contributing/photonvision/build-instructions.rst +++ b/source/docs/contributing/photonvision/build-instructions.rst @@ -10,7 +10,17 @@ Prerequisites ~~~~~~~~~~~~~ | **Java Development Kit:** This project requires Java Development Kit (JDK) 11 to be compiled. This is the same Java version that comes with WPILib. If you don't have this JDK with WPILib, you can follow the instructions to install JDK 11 for your platform `here `_. -| **Node JS:** The UI is written in Node JS. To compile the UI, Node 10 or newer is required. To install Node JS follow the instructions for your platform `on the official Node JS website `_. +| **Node JS:** The UI is written in Node JS. To compile the UI, Node 14.18.0 to Node 16.0.0 is required. To install Node JS follow the instructions for your platform `on the official Node JS website `_. However, modify this line + +.. code-block:: bash + + nvm install 20 + +so that it instead reads + +.. code-block:: javascript + + nvm install 14.18.0 Compiling Instructions ----------------------