CMS Development

SChauhan9
Member

Node Module not found

Hi, 

I am working on to generate pdf from workflow using custom code by importing pdfkit node module. But we are getting error Cannot find module 'pdfkit' .

Below is my custom code example :

Screenshot 2023-02-22 121506.png

 

I am facing this issues when I test the code -

SChauhan9_0-1677048566107.png

 

0 Upvotes
1 Reply 1
Jaycee_Lewis
Community Manager
Community Manager

Node Module not found

Hi, @SChauhan9 👋 Thanks for reaching out. Can you add your examples as a code block? It's challenging for the community to troubleshoot code from a screenshot. 

 

CleanShot 2023-02-23 at 16.46.13.png

 

Thank you! — Jaycee

linkedin

Jaycee Lewis

Developer Community Manager

Community | HubSpot

0 Upvotes