-
Notifications
You must be signed in to change notification settings - Fork 7
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
Module not found: Can't resolve 'ApiClient' #4
Comments
Even I'm getting the same error. |
Hi @Sokratesli @shivpratik |
Hi @shubhamUpadhyayInBlue have the same issue even though I have installed brevo package and followed the steps written in Readme about instalation I have problem with connect API |
"I am also facing this problem - error ./node_modules/@getbrevo/brevo/src/index.js |
The problem seems to be that the tool I'm using to compile my Next.js code (https://swc.rs/) supports AMD modules. However, in the brevo-node documentation, specifically in the "Webpack Configuration" section I want to clarify that I'm using the node-fetch package (https://www.npmjs.com/package/node-fetch) on the server side. |
Hi @shubhamUpadhyayInBlue, I'm getting this error when trying to import "@getbrevo/brevo" in files apart from the main API file. Example: I wanted to have all my email and sms functions in a separate file and when I try to import "@getbrevo/brevo" in that file I get this error. This error doesn't occur when used in API handler file. |
When i install |
Same issue here. The project used sib before and after upgrade to @getbrevo/brevo. |
Same problem can't resolve 'ApiClient'. I tried "npm install" but nothing... |
I have a nextjs application and now i am trying to implement brevo. but it keeps showing me this error:
Thanks for the help.
Reproduce:
import SendEmail from ./send-email
send-email.js
The text was updated successfully, but these errors were encountered: