Saturday, April 13, 2024
 Popular · Latest · Hot · Upcoming
106
rated 0 times [  107] [ 1]  / answers: 1 / hits: 18630  / 9 Years ago, sun, november 8, 2015, 12:00:00

I am using node.js Nodemailer module and encountered the following error;




[Error: Unsupported configuration, downgrade Nodemailer to v0.7.1 or
see the migration guide
https://github.com/andris9/Nodemailer#migration-guide]




I looked at my package.json and realize that it is nodemailer: ^1.8.0, version.



How do I downgrade to v0.7.1 and prevent automatic upgrade later when I run npm update?


More From » node.js

 Answers
5

If you need exactly v0.7.1, use nodemailer: 0.7.1, delete nodemailer under node_modules and run npm install again.



Another way to do this is to run the command:



npm remove nodemailer
npm install [email protected] --save

[#64473] Wednesday, November 4, 2015, 9 Years  [reply] [flag answer]
Only authorized users can answer the question. Please sign in first, or register a free account.
leonardok

Total Points: 114
Total Questions: 94
Total Answers: 103

Location: France
Member since Thu, Oct 27, 2022
1 Year ago
;