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

Getting an error trying to import plugin #40

Open
skylerkatz opened this issue Sep 12, 2023 · 0 comments
Open

Getting an error trying to import plugin #40

skylerkatz opened this issue Sep 12, 2023 · 0 comments

Comments

@skylerkatz
Copy link

When I import and try to use the plugin, I get the following error when compiling

export 'default' (imported as 'FilePondPluginGetFile') was not found in 'filepond-plugin-get-file' (module has no exports)

My setup looks like the following:

import * as FilePond from 'filepond';
import * as Pintura from '@pqina/pintura';
import FilePondPluginFileValidateType from 'filepond-plugin-file-validate-type';
import FilePondPluginImageValidateSize from 'filepond-plugin-image-validate-size';
import FilePondPluginImageEditor from '@pqina/filepond-plugin-image-editor';
import FilePondPluginFilePoster from 'filepond-plugin-file-poster';
import FilePondPluginGetFile from 'filepond-plugin-get-file';

FilePond.registerPlugin(
    FilePondPluginGetFile,
    FilePondPluginFileValidateType,
    FilePondPluginImageValidateSize,
    FilePondPluginImageEditor,
    FilePondPluginFilePoster
);

Do you have any recommendations on what to try?

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