Can't install mongoose via npm - dependency failed es6-promise 3.0.2 Can't install mongoose via npm - dependency failed es6-promise 3.0.2 mongoose mongoose

Can't install mongoose via npm - dependency failed es6-promise 3.0.2


upgrade node here

upgrade your node and npm check this link will solve the problem


I got it working by downgrading the version of mongoose to "^3.8.22" (The es6-promise dependency was added to the 4.0)

It's not the perfect solution, but it will do the trick for now. I will find out why it didn't work once I'll have more experience with npm