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

[Bug] Error [TypeError]: Super expression must either be null or a function, not undefined #237

Open
2 tasks done
tuffstuff9 opened this issue Jul 7, 2023 · 1 comment
Labels
bug Something isn't working

Comments

@tuffstuff9
Copy link

Is there an existing issue for this?

  • I have searched the existing issues

Have you updated React FilePond, FilePond, and all plugins?

  • I have updated FilePond and its plugins

Describe the bug

I created a fresh nextjs app and tried to use filepond but I am getting the above error

Reproduction

Here is a link to the code sandbox: https://codesandbox.io/p/sandbox/keen-taussig-2fwk33

Environment

The environment is the code sandbox nextjs template.
@tuffstuff9 tuffstuff9 added the bug Something isn't working label Jul 7, 2023
@reaperes
Copy link

I had the same error as well. It might make it work by changing the code as shown below.

// import { registerPlugin } from 'react-filepond'   // error

import { registerPlugin } from 'filepond'

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants