Skip to content

ReferenceError: window is not defined #93

@bertrod

Description

@bertrod

Hello,

Thank you for this great plugin. I am using for a nextjs react application but I have bumped into an error I can't get rid off unless I comment the following line:

var fileApi = !!window.File;

Otherwise, when I try to build my application I get the following error:

image

Removing the line makes the problem go away and the component keeps working fine so I am not sure if you really need it or you could avoid calling window there.

Thank you!
Alberto

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