Can't use 'require package' in custom function after updating to 1.20.0

Hi @MutedJam,

Thanks for taking the time to investigate. You steered me in the right direction to solve it.

It appears this was not related to n8n, as you mentioned, but to a package I used to parse some IP addresses (ip-cidr). They released a new version 11 days ago (https://www.npmjs.com/package/ip-cidr/v/4.0.0?activeTab=versions), causing the problem I mentioned.
The solution was to keep using the older version (3.1.0) until they will fix it.

Thank you!
Cristian

2 Likes