Skip to content

TypeError: fflate.uncompressSync is not a function #45

@neuropacman

Description

@neuropacman

I am experiencing an issue with a the "fflate" dependency for [email protected]:

TypeError: fflate.decompressSync is not a function
at Object.decompress (nifti.ts:119:1)
at fetchAndProcessNiftiData (cornerstoneNiftiImageLoader.js:71:1)

This seems to be an issue with how 'fflate' package is being included in nifti.ts. I have attempted to create a patch but was unsuccessful. In the fflate version ([email protected]) being used by nifti-reader-js, "decompressSync" is a valid method.

I have attempted using different versions of fflate and modifying how fflate is being included, but have not had any luck.

Perhaps I am doing something wrong here, but I have used fflate.decompressSync in other contexts with v0.7.4 successfully before.

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