Hello!
I want to use external module named “mailparser” inside the “code node”. But I get the error ERROR: Cannot find module ‘mailparser’ [line 1] VMError. I am running n8n on npm. I installed npm using NVM. I installed the “mailparser” module in the $HOME/.nvm/versions/node/v18.14.0/lib/node_modules/n8n directory(using npm install mailparser --save) and globally(using npmm install -g mailparser). And then executed export NODE_FUNCTION_ALLOW_BUILTIN=* and export NODE_FUNCTION_ALLOW_EXTERNAL=*. Even then it is giving me the error. What should I do ?
I’m running n8n Version: 0.215.1 on npm.
Thanks.