#[Flows] - Struggling using a library in a Run Script
7 messages · Page 1 of 1 (latest)
There's no error msg. At this stage I tried something simple:
With this code nothing is displayed in the console.
import { Template, generate } from '@pdfme/generator';
module.exports = async function(data) {
console.log('Step reached');return {};}
With this one, the step msg is displayed in the console.
module.exports = async function(data) {
console.log('Step reached');return {};}
Hence my interrogation on the right way to import a JS library.