← all conversations

Node.js Version Downgrade

2025-03-074 turns1,933 charsgpt-4o
node-jsnvmversion-management

Summary

User needs to downgrade Node.js version for n8n compatibility using nvm.

Messages

Your Node.js version 23.7.0 is currently not supported by n8n. Please use Node.js v18.17.0 (recommended), v20, or v22 instead!
You'll need to downgrade your Node.js version to one of the supported versions (18.17.0, 20, or 22) to use n8n. Here’s how you can do it: ### Option 1: Using `nvm` (Node Version Manager) If you have `nvm` installed, you can easily switch versions: 1. **Check available versions:** ```sh nvm list ``` 2. **Install and use Node.js v20 (or another supported version):** ```sh nvm install 20 nvm use 20 ``` 3. **Set it as the default version:** ```sh nvm alias default 20 ``` ### Option 2: Using `n` (Node Version Manager for global installs) If you have `n` installed: 1. **Install and use Node.js v20:** ```sh sudo n 20 ``` ### Option 3: Manually Install the Correct Version If you don’t use `nvm` or `n`, you can manually download and install Node.js v20 or another supported version from the official site: 🔗 [https://nodejs.org/en/download](https://nodejs.org/en/download) After installing, verify the version using: ```sh node -v ``` Let me know if you need further assistance! 🚀
gpt-4o
zsh: command not found: nvm
It looks like `nvm` is not installed on your system. You can install it by following these steps: ### 1. **Install `nvm`** Run this command in your terminal: ```sh curl -fsSL https://raw.githubusercontent.com/nvm-sh/nvm/v0.39.5/install.sh | bash ``` Then, restart your terminal or run: ```sh source ~/.zshrc ``` ### 2. **Verify Installation** Check if `nvm` is installed by running: ```sh nvm --version ``` ### 3. **Install and Use a Supported Node.js Version** Now, install Node.js v20 (or another supported version): ```sh nvm install 20 nvm use 20 ``` If you want to set it as the default version: ```sh nvm alias default 20 ``` After this, check your Node.js version: ```sh node -v ``` Let me know if you run into any issues! 🚀
gpt-4o