Raphael Walters
Raphael Walters14mo ago

Problem getting a node that converts Rich Text to MJML to work

Hi, I used the AI generator to create a node that converts Rich Text to MJML but could not get it to work. I have attached a screenshot of me testing the node. The error message was as follows: "Cannot find module '../lib/utils.js'\nRequire stack:\n- /usr/src/app/bucket/builtNodes/09349442-27ec-4112-8cf2-62312109abfc/1696477324729.cjs" Is there a way to resolve this?
No description
4 Replies
Harini
Harini14mo ago
@Bhavya ✨ could you help with this and see if we can create a sample node for this?
Bhavya
Bhavya14mo ago
Hey @Raphael Walters, there seems to be a compatibility issue with the MJML npm library. As a workaround you could look for alternate options for converting your Rich text to MJML and use the AI Node Editor to modify the existing node according to an alternate solution. To make this easier for you, we have added a "Rich Text to MJML Converter" node in the node explorer to perform the conversion. This node includes a pre-defined MJML template and provides a convenient link to an online MJML editor, allowing you to customize it according to your specific requirements by adjusting the node logic. You could copy the following node data and use the Paste using Clipboard feature in the node explorer to paste it in your workflow directly. Hope this helps!
AI Generated Nodes – BuildShip
A unified resource to start building your backend with low-code. Dive into triggers, nodes, and step-by-step guidance to jumpstart your workflow creation.
Raphael Walters
Raphael WaltersOP14mo ago
This is fantastic! Thank you so much for taking the time to do this. I really appreciate it!🙌 💪