You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Dec 16, 2023. It is now read-only.
Whenever I try to require('replay') in my app, I get an error saying:
./~/replay/lib/patch_dns_lookup.js
Module not found: Can't resolve 'dns' in '/Users/nicolasiensen/Projects/t-inbox-client/node_modules/replay/lib'
I'm using create-react-app to abstract the Webpack configuration, the replay version is 2.1.2 and the node version is 7.10.0.
I've tried to install dns package, but it fails since one of its dependencies requires a very old version of node:
yarn add dns
...
error [email protected]: The engine "node" is incompatible with this module. Expected version "0.8.x".
error Found incompatible module
...
Is this a known issue? Why dns is not listed in the replay dependencies? Thanks in advance!
The text was updated successfully, but these errors were encountered:
You simply can't have nodemailer in the frontend. Nodemailer and other projects depending on it (i.e. gmail-send) are made for nodejs use in the backend.
Instead, you should look into either using a 3rd party smtp service like AWS-SES or make your own by using nodemailer in the backend and the front end would invoke it through something like https requests.
Whenever I try to
require('replay')
in my app, I get an error saying:I'm using
create-react-app
to abstract the Webpack configuration, thereplay
version is2.1.2
and the node version is7.10.0
.I've tried to install
dns
package, but it fails since one of its dependencies requires a very old version of node:Is this a known issue? Why
dns
is not listed in thereplay
dependencies? Thanks in advance!The text was updated successfully, but these errors were encountered: