Community nodes not displayed

On my local n8n install (v0.52), I installed communities nodes successfully but those are not displayed in the editor.

Here are the informations :

docker-compose up -d n8n                                                                                                                                                         
[+] Running 2/2                                                                                                                                                                                                
 âś” Container ec2-user-redis-1  Running                                                                                                                                                                    0.0s 
 âś” Container ec2-user-n8n-1    Started                                                                                                                                                                    4.0s 
[ec2-user@ip-172-31-16-85 ~]$ docker-compose exec n8n npm list -g --depth=0
/usr/local/lib
+-- @cloudconvert/[email protected]
+-- @imagina/[email protected]
+-- [email protected]
+-- [email protected]
+-- [email protected]
+-- [email protected]
+-- [email protected]
+-- [email protected]
+-- [email protected]
+-- [email protected]
+-- [email protected]
+-- [email protected]
+-- [email protected]
`-- [email protected]

Dockerfile

FROM n8nio/n8n:next

   USER root

   RUN npm install -g n8n-nodes-globals \
       n8n-nodes-webpage-content-extractor \
       n8n-nodes-pdf-to-images \
       n8n-nodes-youtube-transcript \
       n8n-nodes-telegram-dim \
       n8n-nodes-xata \
       @cloudconvert/n8n-nodes-cloudconvert \
       n8n-nodes-html2image \
       @imagina/n8n-nodes-iwhatsapp \
       n8n-nodes-yaml

   USER node

(I also tried a more classic install)

No issues in the logs

It looks like your topic is missing some important information. Could you provide the following if applicable.

  • n8n version:
  • Database (default: SQLite):
  • n8n EXECUTIONS_PROCESS setting (default: own, main):
  • Running n8n via (Docker, npm, n8n cloud, desktop app):
  • Operating system:

Hey @Lester_Reynolds,

When you say a “more classic install” what do you mean? For the custom nodes to run you would need to add them into the /home/node/.n8n/custom folder or into /home/node/.n8n/nodes rather than globally installing them.

This is the issue. You should not be installing community nodes globally. Please try replacing npm install -g in your docker file with npm install --prefix=/home/node/.n8n/nodes instead.

1 Like

I modified my Dockerfile to :

FROM n8nio/n8n:next

   RUN npm install n8n-nodes-globals \
       n8n-nodes-webpage-content-extractor \
       n8n-nodes-pdf-to-images \
       n8n-nodes-youtube-transcript \
       n8n-nodes-telegram-dim \
       n8n-nodes-xata \
       @cloudconvert/n8n-nodes-cloudconvert \
       n8n-nodes-html2image \
       @imagina/n8n-nodes-iwhatsapp \
       n8n-nodes-yaml
~                                     

, then pulled and build, but still no luck

why did you remove the --prefix=/home/node/.n8n/nodes? that is the fix.

Sorry yes this is my Dockerfile :

FROM n8nio/n8n:next

USER node

RUN mkdir -p /home/node/.n8n/nodes

RUN npm install --prefix=/home/node/.n8n/nodes \
    n8n-nodes-globals \
    n8n-nodes-webpage-content-extractor \
    n8n-nodes-pdf-to-images \
    n8n-nodes-youtube-transcript \
    n8n-nodes-telegram-dim \
    n8n-nodes-xata \
    @cloudconvert/n8n-nodes-cloudconvert \
    n8n-nodes-html2image \
    @imagina/n8n-nodes-iwhatsapp \
    n8n-nodes-yaml

I still have the problem however

are you mounting a volume to /home/node/.n8n that might be overwriting /home/node/.n8n/nodes ?

This topic was automatically closed 90 days after the last reply. New replies are no longer allowed.