Olá professor!
Não consegui instalar o sequelize utilizando o comando:
npm install --save @nestjs/sequelize sequelize@5 sequelize-typescript mysql2
Retornou este erro:
npm ERR! code ERESOLVE
npm ERR! ERESOLVE unable to resolve dependency tree
npm ERR!
npm ERR! While resolving: produtos-api@0.0.1
npm ERR! Found: sequelize@5.22.5
npm ERR! node_modules/sequelize
npm ERR! sequelize@"5" from the root project
npm ERR!
npm ERR! Could not resolve dependency:
npm ERR! peer sequelize@"^6.3.5" from @nestjs/sequelize@8.0.0
npm ERR! node_modules/@nestjs/sequelize
npm ERR! @nestjs/sequelize@"^8.0.0" from the root project
Poderia me ajudar?