When I install a node in the community, the bottom right corner shows Error loading package “n8n-nodes-respond-io”: Failed to execute npm command Cause: spawn npm ENOENT.
I cant install any nodes because of this error. I tried manuel installation but couldnt make it. I saw a solution which included shell:true. İ did it but not certain if i did it correctly.
@Kuzey_Aras_Sakinc
I understand node and npm work in your terminal, but could you confirm whether the same shell/session that starts n8n also has access to npm? spawn npm ENOENT usually means the running n8n process is not seeing the same PATH/environment.
I’d try open your terminal, cd into your .n8n/nodes folder, and run npm install @respond-io/n8n-nodes-respond-io manually. Restart n8n after that and the node should show up
I ran into the same issue on Windows, and it appears to be related to how Node.js executes npm commands via execFile when installing n8n community packages.
Fix
You can resolve it by patching the following file: C:\Users<username>\AppData\Roaming\npm\node_modules\n8n\dist\modules\community-packages\npm-utils.js
Then locate the executeNpmCommand function and change this line: