From b34d27c974fcb47ff9a3ce123729a994eec24ed6 Mon Sep 17 00:00:00 2001 From: "copilot-swe-agent[bot]" <198982749+Copilot@users.noreply.github.com> Date: Thu, 11 Dec 2025 23:56:30 +0000 Subject: [PATCH 1/3] Initial plan From ba0e3823a3c3abefb1842c583ba9190cf3986738 Mon Sep 17 00:00:00 2001 From: "copilot-swe-agent[bot]" <198982749+Copilot@users.noreply.github.com> Date: Thu, 11 Dec 2025 23:58:59 +0000 Subject: [PATCH 2/3] Add Node.js and nvm installation instructions to README Co-authored-by: Darliewithrow <216807437+Darliewithrow@users.noreply.github.com> --- README.md | 38 ++++++++++++++++++++++++++++++++++++++ 1 file changed, 38 insertions(+) diff --git a/README.md b/README.md index c4764ca..1ccdf51 100644 --- a/README.md +++ b/README.md @@ -2,6 +2,44 @@ This guide explains how to contribute to the [Ethereum EIPs repository](https://github.com/ethereum/EIPs) when you encounter the "Uploads are disabled" error. +## Setting Up Your Development Environment + +Before contributing to Ethereum EIPs, you may need to set up Node.js for testing and development. Here's how to install Node.js using nvm (Node Version Manager), which allows you to easily manage multiple Node.js versions. + +### Installing nvm and Node.js + +1. **Download and install nvm:** + +```bash +curl -o- https://raw.githubusercontent.com/nvm-sh/nvm/v0.40.3/install.sh | bash +``` + +2. **Activate nvm** (in lieu of restarting the shell): + +```bash +. "$HOME/.nvm/nvm.sh" +``` + +3. **Download and install Node.js:** + +```bash +nvm install 24 +``` + +4. **Verify the Node.js version:** + +```bash +node -v # Should print "v24.12.0". +``` + +5. **Verify npm version:** + +```bash +npm -v # Should print "11.6.2". +``` + +This setup ensures you have the correct Node.js and npm versions for Ethereum development tools and testing frameworks. + ## Why You're Seeing the Upload Error When you try to upload files directly to the ethereum/EIPs repository, you see this error: From 8048a280f783b611b99fd1d49539d1676f5b3910 Mon Sep 17 00:00:00 2001 From: "copilot-swe-agent[bot]" <198982749+Copilot@users.noreply.github.com> Date: Thu, 11 Dec 2025 23:59:57 +0000 Subject: [PATCH 3/3] Add security note for nvm installation script verification Co-authored-by: Darliewithrow <216807437+Darliewithrow@users.noreply.github.com> --- README.md | 2 ++ 1 file changed, 2 insertions(+) diff --git a/README.md b/README.md index 1ccdf51..eb99bf6 100644 --- a/README.md +++ b/README.md @@ -10,6 +10,8 @@ Before contributing to Ethereum EIPs, you may need to set up Node.js for testing 1. **Download and install nvm:** + > **Note:** Always verify the installation script from the [official nvm repository](https://github.com/nvm-sh/nvm) before running. + ```bash curl -o- https://raw.githubusercontent.com/nvm-sh/nvm/v0.40.3/install.sh | bash ```