Cant login into backend

I have created a new strapi app and i get this error every time i try to login (localhost:1337/auth/local);

Cannot read property 'prototype' of undefined in node_modules\promise-redis\index.js:17:31

I had an older app which was working, but when i removed the cache and node_modules, it started failing too.

Is there any known error in any library? is anyone else having this error in the strapi version 3.6.8 ?

Thanks in advance