Installing Node Modules on N8N Template
Hey guys, new here, so pardon my ignorance.
How do I install node modules when I am using the prebuilt N8N template, through the Dockerfile? If so, is there any documentation that would help me set this up? Just trying to install 'node-fetch' - so nothing fancy. Any help would be greatly appreciated.
4 Replies
Please provide your project ID or reply with
N/A
. Thread will automatically be closed if no reply is received within 10 minutes. You can copy your project's id by pressing Ctrl/Cmd + K -> Copy Project ID.You might find these helpful:
- Dockerfile for strapi(nodejs) server
- Missing Python Package
- Jupyter notebook / lab on railway
⚠️ experimental feature
You should be able to add a
RUN npm install
step (or yarn
, or pnpm install
) somewhere in your Dockerfile.
I'm not familiar with N8N, but if it's a relatively normal Node.js app, then you should be able to run it using Nixpacks, Railway's built-in build system, and not worry about a Dockerfile.No project ID was provided. Closing thread.