Open tmmsmoreira opened 7 months ago
@tmmsmoreira Can't reproduce. This is the demo project I used to try it out. I'd need a minimal reproduction example.
I encountered the exact same issue. So I tried your demo project - and had the issue there as well. After a bit of research I found that it does work (both in the demo project as well as in my project) when installing the dependencies via npm or yarn, but not with pnpm. This is what I originally used.
I wasn't able to track down why exactly it fails when using pnpm though. I have never had such an issue with it before, I guess it might be related with some setting in the package.json
of this package or @dword-design/functions
.
@dmecke Thanks for digging into this, I can reproduce it with pnpm. I don't know much about pnpm, but when installing it via pnpm install
, most of the dependencies aren't in node_modules
, so I'm asking myself how the module resolution would work. I guess it has to do with that I'm generating a nuxt-mail
folder and he can't resolve the stuff from there.
@dword-design Any updates? I am trying to use nuxt-mail but it just wont work at all with PNPM.
@vinumweb I've added an issue in the Nuxt repo.
Hi there, I do have the same problem, when using PNPM... So for now, there is no way to be installing it with pnpm?
This is an unfortunate problem :( I was just about to start using nuxt-mailer, as I was looking for an email sending solution for my Nuxt app today, but this prevented me from doing so. Hope it will get fixed soon! Wish I can help, but I lack skills and knowledge for that.
On the other hand, I found out all I need for my use case is to use bare NodeMailer in my Nuxt server route handler...
Hey guys!
After I installed nuxt-mail on my project, I am not being able to run the project again because I get this error:
I already removed my
node_modules
folder andpackage-lock.json
file and made a clean installation, but the problem persists.