I recently started working with Angular and created a pwa that allowed users in my board gaming club to submit results from their games. The end result is an email containing the form info sent to myself and the league manager. The form works great but as soon as I installed the mailgun package and tried to use var mailgun = require('mailgun-js')({apiKey: api_key, domain: domain}); I started to get a bunch of the following for various modules. I have no idea how to fix this or what the root cause is. Any suggestions would be greatly appreciated.
[ng] ERROR in ./node_modules/pac-resolver/dnsResolve.js
[ng] Module not found: Error: Can't resolve 'dns' in 'C:\Users\Phil\src\iw40klv2\node_modules\pac-resolver'