Make sure you are using node version 20 or above
More information available here: https://github.com/n8n-io/n8n
# Replace <your-path-to-n8n-custom-nodes> with the path to n8n
N8N_CUSTOM_EXTENSIONS="<your-path-to-n8n-custom-nodes>" npx n8n start