-
Notifications
You must be signed in to change notification settings - Fork 10
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
Error: 'registerPlugin' is not exported #1
Comments
Can you create a test case on https://codesandbox.io/ |
I've had the same problem. My solution was to change |
I am already using "@rollup/plugin-node-resolve": "^7.1.1",
does the svelte file pond have a different dependency version ? |
It's weird, it's trying to import from the iife version of FilePond instead of the es module which is in the same folder. Anyone know how to instruct bundlers to use the esm version? |
I've faced the same issue. It was solved by upgrading of
|
Same problem on vite |
fixed the issue by removing the export from the index file and importing registerPlugin from filepond directly |
@Taha-Firoz Can you share an example of how you solved the issue with vite? |
I am seeing the following error while trying to use it (
npm run dev
):[!] Error: 'registerPlugin' is not exported by node_modules/filepond/dist/filepond.js, imported by node_modules/svelte-filepond/src/index.js
Versions
The text was updated successfully, but these errors were encountered: