after activating the beta community node option of the 1.94.0 n8n cloud version, the option doesn’t load in the setting tab of n8n. I tried desactivating it and restarting n8n but nothing does work. So i tried n8n local and tried installing community nodes i had this error message : Command failed: rm -rf. I can’t do nothing because i am trying to use community MCP server in order to have STDIO because it works better with ai agents.
The error Command failed: rm -rf
usually means n8n doesn’t have the right permissions to delete files or folders. Make sure the user running n8n has full read/write permissions on the n8n folder and its subfolders.
Try running
sudo chown -R $(whoami) /path/to/n8n-folder
sudo chmod -R u+rw /path/to/n8n-folder
that is if you are on MacOS or Linux
Sometimes the community nodes cache or installation files get corrupted. Try deleting the community nodes folder manually if possible, then reinstall them
Hope this helps!
What os are you running? if windows and install locally it won’t run that command unless in wsl, id recommend using the docker
This will avoid a lot of config / env issues as it’s prebuilt, you can add the community node “n8n-nodes-mcp”
Also, if you get weird behaviour after installing, a restart normally helps too.
Best regards,
Samuel
You guys found the solution : i installed N8n with docker and now i can install community nodes, thanks
This topic was automatically closed 7 days after the last reply. New replies are no longer allowed.