N8n Community Nodes Installation Error on Render.com

Newby here, so any guidance would be appreciated!

I have n8n installed on Render.com.

When trying to install any n8n Community Node, I receive an error. Below is an example of an error message:

## Error installing new package

Error loading package “n8n-nodes-mpc” :npm package not found

I already set the environment variable N8N_COMMUNITY_PACKAGES_ALLOW_TOOL_USAGE to true

I added n8n onto Render using Node [NODE_VERSION=18.17.0].

Many thanks!!

Hello @sdbs Welcome to the community :tada:

I think it’s n8n-nodes-mcp :wink:

Thanks! You are correct regarding the typo. However, I receive the same error with any community node I try to install - including n8n-nodes-mcp

Error installing new package

Error loading package “n8n-nodes-mcp” :Package could not be installed - check logs for details

Are n8n community nodes able to be installed when using Render.com? Many thanks again!!

Did you check the logs for more details? Could you please share them?

npm command failed

Mar 25 05:52:20 PMError loading package “n8n-nodes-mcp” :Package could not be installed - check logs for details

Mar 25 05:52:20 PMResponseError: Error loading package “n8n-nodes-mcp” :Package could not be installed - check logs for details

Mar 25 05:52:20 PM at CommunityPackagesController.installPackage (/opt/render/project/src/packages/cli/src/controllers/community-packages.controller.ts:111:10)

Mar 25 05:52:20 PM at processTicksAndRejections (node:internal/process/task_queues:95:5)

Mar 25 05:52:20 PM at handler (/opt/render/project/src/packages/cli/src/decorators/controller.registry.ts:105:12)

Mar 25 05:52:20 PM at /opt/render/project/src/packages/cli/src/response-helper.ts:158:17

Mar 25 05:52:20 PM

I have still not figured out how to install any community node on n8n - which is being hosted on render.com. I would be grateful for any direction from the community.

Hi @sdbs, have you attached a persistent disk to your instance? Also, consider adding the following environment variable:

N8N_REINSTALL_MISSING_PACKAGES=true

That did not do the trick. Here are the error logs:

npm command failed

Apr 2 10:00:10 AMError loading package “n8n-nodes-mcp” :Package could not be installed - check logs for details

Apr 2 10:00:10 AMResponseError: Error loading package “n8n-nodes-mcp” :Package could not be installed - check logs for details

Apr 2 10:00:10 AM at CommunityPackagesController.installPackage (/opt/render/project/src/packages/cli/src/controllers/community-packages.controller.ts:111:10)

Apr 2 10:00:10 AM at processTicksAndRejections (node:internal/process/task_queues:95:5)

Apr 2 10:00:10 AM at handler (/opt/render/project/src/packages/cli/src/decorators/controller.registry.ts:105:12)

Apr 2 10:00:10 AM at /opt/render/project/src/packages/cli/src/response-helper.ts:158:17

Apr 2 10:00:10 AM

Do you have a persistent disk attached to your render instance?

Yes, 1 GB.
Mount path is:

/opt/render/.n8n

How do you install community nodes?

there are two methods to Install and manage community nodes | n8n Docs

did you tried both?

I have been trying to install community nodes using the first method ( Within n8n using the GUI.)

I do not know how to try the second option (Manually from the command line)

I installed n8n onto Render using a forked n8n Github repository, not Docker.

Within Render, the Runtime is “Node” (not “Docker”).

The Build command is: pnpm install --frozen-lockfile; pnpm run build

Hmm, I’m sorry, but at this point, I can’t help, someone else might be able to assist you…

IMO, If there’s no specific reason to deploy n8n using the Git repository, I recommend deploying it with Docker.

This is the easiest method with fewer issues.
You can follow this tutorial to deploy n8n via Docker on Render:

Hey @sdbs
I have the same problem
Did you find any solution ?

n8n hosted on Render.

No, unfortunately, I did not find a solution to add a community node…

Having said that, if you are trying to install the MCP note, note that n8n now offers it natively:

Best of luck!

1 Like