react-filepond icon indicating copy to clipboard operation
react-filepond copied to clipboard

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

Open tuffstuff9 opened this issue 2 years ago • 1 comments

Is there an existing issue for this?

  • [X] I have searched the existing issues

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

  • [X] 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 avatar Jul 07 '23 23:07 tuffstuff9

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'

reaperes avatar Aug 18 '23 06:08 reaperes