Getting error - Duplicate assets found for helper.js



  • I am getting intermittent error while creating report using AWS lambda.
    0_1681252710243_upload-3836bf5d-8d2d-4ccc-a880-1adffe3b7711
    Can you please help?



  • You seem to embed asset using {{asset "helper.js"}} but there are multiple helper.js assets in your workspace.
    You need to specify the asset using the relative "./helpers.js" or absolute "/folderx/helpers.js" path.

    Not sure if the helper.js isn't created as sample by jsreport, this can be disabled using the following config

    "extensions": {
        "sample-template": {
            "createSamples": false
        }
    }
    

Log in to reply
 

Looks like your connection to jsreport forum was lost, please wait while we try to reconnect.