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

The requested module does not provide an export named 'default' #274

Open
Zerkley opened this issue Mar 11, 2024 · 0 comments
Open

The requested module does not provide an export named 'default' #274

Zerkley opened this issue Mar 11, 2024 · 0 comments

Comments

@Zerkley
Copy link

Zerkley commented Mar 11, 2024

Hello, I get this error:

Uncaught SyntaxError: The requested module '/node_modules/.vite/deps/node-mailjet.js?v=38aae28a' does not provide an export named 'default' (at useMail.tsx:1:1)

when trying to import the dependency. It is the same error when I import like:

import { Client } from 'node-mailjet';

or

import Mailjet from 'node-mailjet';

I'm using it in a React web, using Typescript.

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