I'm trying to use maildev in a springboot application. I'm using intellij program.
using the terminal, I install the maildev like this:
C:\Users\msys\Desktop\spring_start>npm install -g maildev
"spring_start" is my project name
after installing it, the following appear in the terminal
npm WARN deprecated [email protected]: The package has been renamed to
opennpm WARN deprecated [email protected]: All versions below 4.0.1 of Nodemailer are deprecated. See https://nodemailer.com/status/ npm WARN deprecated [email protected]: Debug versions >=3.2.0 <3.2.7 || >=4 <4.3.1 have a low-severity ReDos regression when used in a Node.js environment. It is recommended you upgrade to 3 .2.7 or 4.3.1. (https://github.com/visionmedia/debug/issues/797) C:\Users\msys\AppData\Roaming\npm\maildev -> C:\Users\msys\AppData\Roaming\npm\node_modules\maildev\bin\maildev [email protected] updated 1 package in 6.095s
but when I'm trying to run "maildev" command like this:
C:\Users\msys\Desktop\spring_start>maildev
the following error message appears:
'maildev' is not recognized as an internal or external command, operable program or batch file.
how to solve it?
I had the same problem. So I found a tricky way to get past the 'maildev' is not recognized as an internal or external command issue.
So here is what I did.
I installed as an administrator maildev globally through the cmd.
I went to C:\Users\Your_User_Name\AppData\Roaming\npm where Your_User_Name is your own.
Clicked on maildev.cmd The terminal will open with something like this: `
`MailDev webapp running at http://0.0.0.0:1080
MailDev SMTP Server running at 0.0.0.0:1025`
Finally, In your browser, you can open the web application through 127.0.0.1:1080
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With