The requested module does not provide an export named 'default
See original GitHub issueWhen I import it:
import Carousel from 'svelte-carousel'
I get:
The requested module '/node_modules/lodash.isequal/index.js?v=4248d81f' does not provide an export named 'default'
I have lodash merge:
lodash.merge": "^4.6.2",
as a dependency for what it’s worth…
Issue Analytics
- State:
- Created 2 years ago
- Comments:19 (7 by maintainers)
Top Results From Across the Web
42 - Stack Overflow
Uncaught SyntaxError: The requested module './add.js' does not provide an export named 'add' ; <head> ; <script type="module" src="app.js"> ; </ ...
Read more >Requested module does not provide export named 'default'
The error "The requested module does not provide an export named 'default'" occurs when we try to import a value or a function...
Read more >How to Solve does not provide an export named 'default'
To solve the error 'does not provide an export name default' in JavaScript, use the default keyword to make it the default export...
Read more >Misleading error that module does not provide export #32137
SyntaxError: The requested module './dependency.cjs' is a CommonJS module, which can only provide a default export, not named exports, to an ES ...
Read more >the requested module does not provide an export named
The reason it didn't work is that Vue provides a named export, whereas you are trying to import it as though it had...
Read more >
Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free
Top Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Thank you folks! Merged the readme update. Closing.
Also check out these steps https://github.com/vadimkorr/svelte-carousel#sveltekit-support