Configure a proxy if needed: npm config set proxy http://user:pass@host:port
CometAPI request returns 401/403
Verify your API Key and model access permissions.
Empty responses or token limits
Increase Maximum Number of Tokens; adjust Temperature/Top P as needed.
n8n stops after closing the terminal
Use pm2 to run n8n in the background (still local).
You have now installed n8n locally on Linux via npm, installed and configured the CometAPI community node, and can run workflows that call models such as gpt-4o to receive responses.