Hi,
Thanks so much for the reply and suggestion! I tried using this:
import { nodemailer } from 'nodemailer';
but still got the same errors. Could be there's something about import I'm
missing as I'm really new to typescript/nodejs/etc :P I get this error
with a lot of modules I've been trying to use. Not the simple ones like
chalk but nodemailer and mailgun-js are causing module not found issues.
Since it's happening with more than one and not the same missing modules I
figure it's something I'm doing. If there's anything else you can think of
please let me know. I'm a c# developer by trade and want to move into the
typescript/node arena and can't believe I'm getting hung up on this...
Thanks,
Eric
On Sun, Feb 23, 2020 at 8:43 AM Sander Elias <[email protected]> wrote:
> Hi Eric,
>
> Try using `import(..).then(mg => {})` instead of require. Tha t will
> trigger the tooling to make a package that is distributed to the client.
>
> Regards
> Sander
>
> --
> You received this message because you are subscribed to the Google Groups
> "Angular and AngularJS discussion" group.
> To unsubscribe from this group and stop receiving emails from it, send an
> email to [email protected].
> To view this discussion on the web visit
> https://groups.google.com/d/msgid/angular/87bb77a4-8835-4ec8-ac7b-c1ee6f140666%40googlegroups.com
> <https://groups.google.com/d/msgid/angular/87bb77a4-8835-4ec8-ac7b-c1ee6f140666%40googlegroups.com?utm_medium=email&utm_source=footer>
> .
>
--
You received this message because you are subscribed to the Google Groups
"Angular and AngularJS discussion" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
To view this discussion on the web visit
https://groups.google.com/d/msgid/angular/CAP3v1E1EY1F-qdGG6LUSctNQ_SWO7cH-P1q3sEFxKv%3D3iWmqWQ%40mail.gmail.com.