question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

The requested module does not provide an export named 'default

See original GitHub issue

When 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:closed
  • Created 2 years ago
  • Comments:19 (7 by maintainers)

github_iconTop GitHub Comments

1reaction
vadimkorrcommented, Jan 25, 2022

Thank you folks! Merged the readme update. Closing.

1reaction
vadimkorrcommented, Dec 17, 2021
Read more comments on GitHub >

github_iconTop 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 >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found