Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

TypeError: fflate.uncompressSync is not a function #45

Open
neuropacman opened this issue Dec 2, 2024 · 0 comments
Open

TypeError: fflate.uncompressSync is not a function #45

neuropacman opened this issue Dec 2, 2024 · 0 comments

Comments

@neuropacman
Copy link

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.

@neuropacman neuropacman changed the title TypeError: fflate.ungzipSync is not a function TypeError: fflate.uncompressSync is not a function Dec 4, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant