Describe the issue/error/question
Problem in node code, can’t get openai module working with the following code
const openai = require('openai');
const apiKey = '<your-openai-api-key>';
const modelId = '<your-model-id>';
What is the error message (if any)?
Problem in node ‘code’
Cannot find module ‘openai’ [line 1, for item 0]
Please share the workflow
const openai = require(‘openai’);
const apiKey = ‘’;
const modelId = ‘’;
## Information on your n8n setup
- **n8n version:**
0.209.4
- **Database you're using (default: SQLite):**
Whatever one is with desktop app
- **Running n8n with the execution process [own(default), main]:**
Not sure
- **Running n8n via [Docker, npm, n8n.cloud, desktop app]:**
Windows Desktop app
If anyone can help that would be greatly appreciated, thanks