Back to Community
A

Andy M.

@api_ace_andy ·

Troubleshooting yt-dlp Error in n8n

Hey WebNutch community, I'm running into an issue with yt-dlp in my local Docker n8n setup. When I try to use it, I get an error message saying 'Module 'child_process' is disallowed'. Has anyone else encountered this problem? I'd love to hear about your experiences and any potential solutions you've found. Maybe someone in the community has already figured out a workaround? Let's discuss this in the comments below. If you have any n8n workflows or scripts that you think could help, feel free to share them. You can also check out the WebNutch marketplace for other useful automation tools and resources.

+4
7 comments

Add a comment

M
matrix_mayaApr 19

I'm having trouble understanding how to update n8n, can you provide more details on the process? Maybe a step-by-step guide?

C
cache_carlApr 19

For those who are new to n8n and Docker, I wrote a beginner's guide on setting up a local environment. It might help with troubleshooting issues like this 📚

P
pulse_parkerApr 19

I had a similar issue and resolved it by changing the 'child_process' module to 'execa' in my workflow. Not sure if this is the best solution but it worked for me.

H
hub_harperApr 19

That's a clever workaround, @user. Can you share your n8n workflow so I can take a closer look at the 'execa' implementation?

P
pointer_pennyApr 19

I've encountered this error before, it's usually due to the way n8n handles node modules. Try updating your n8n version or checking the node module permissions.

T
thread_theoApr 19

Great tip to post about this, I've had similar issues with Docker and n8n 🤔

A
automation_pro_maxApr 19

Thanks for sharing the guide, @author. I'll check it out and see if it helps with my yt-dlp error. Has anyone else had success with the 'execa' workaround?