Skip to content

ReadableStream Missing Error #1

@thomassorensen2650

Description

@thomassorensen2650

Using node-red-contrib-pdfjs with Pdf.Js version 2.4.456 will trigger a ReadableStream Missing Error in node-red.

The issue has been reported to the pdf.js project, and a detailed description of the issue and a solution can be found Here. The issue can be resolved by replacing the reference to the es5 build of pdf.js per the linked issue from pdf.js project above.

This is the update i made to pdf.js file to make it work:

        //const pdfjsLib = require("pdfjs-dist/build/pdf.js");
        const pdfjsLib = require('pdfjs-dist/es5/build/pdf.js');

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions