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

SyntaxError: Named export 'useKeenSlider' not found. #406

Open
skiffua opened this issue Jan 30, 2024 · 0 comments
Open

SyntaxError: Named export 'useKeenSlider' not found. #406

skiffua opened this issue Jan 30, 2024 · 0 comments

Comments

@skiffua
Copy link

skiffua commented Jan 30, 2024

When trying to import 'useKeenSlider' composable with vite/4.5.2, Node v20.5.1 discover an error:
`SyntaxError: Named export 'useKeenSlider' not found. The requested module 'keen-slider/vue.es.js' is a CommonJS module, which may not support all module.exports as named exports.
CommonJS modules can always be imported via the default export, for example using:

import pkg from 'keen-slider/vue.es.js';
const { useKeenSlider: ee } = pkg;
`
#405

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