Hi @Sandoche, you can configure environment variables in the n8n-desktop.env file inside the .n8n folder of your home directory (so C:\Users\Sandoche\.n8n\n8n-desktop.env if your Windows username would be Sandoche).
Something like NODE_FUNCTION_ALLOW_EXTERNAL=cheerio or NODE_FUNCTION_ALLOW_EXTERNAL=* should allow you to require cheerio in the Function node.
FYI, the API docs (and my current issue seems to prove) that you need to BE SPECIFIC when specifying
NODE_FUNCTION_ALLOW_EXTERNAL, so =* will not work as expected.