adonisjs/auth

Latest version of Lucid (20) cannot be installed with `auth`

targos opened this issue · 1 comments

Package version

9.1.0

Describe the bug

Trying to install the latest versions of @adonisjs/auth and @adonisjs/lucid ends up in an error because of the peer dependency requirement:

$ npm i
npm ERR! code ERESOLVE
npm ERR! ERESOLVE could not resolve
npm ERR! 
npm ERR! While resolving: @adonisjs/auth@9.1.0
npm ERR! Found: @adonisjs/lucid@20.0.0
npm ERR! node_modules/@adonisjs/lucid
npm ERR!   @adonisjs/lucid@"^20.0.0" from the root project
npm ERR! 
npm ERR! Could not resolve dependency:
npm ERR! peerOptional @adonisjs/lucid@"^19.0.0" from @adonisjs/auth@9.1.0
npm ERR! node_modules/@adonisjs/auth
npm ERR!   @adonisjs/auth@"^9.1.0" from the root project
npm ERR! 
npm ERR! Conflicting peer dependency: @adonisjs/lucid@19.0.0
npm ERR! node_modules/@adonisjs/lucid
npm ERR!   peerOptional @adonisjs/lucid@"^19.0.0" from @adonisjs/auth@9.1.0
npm ERR!   node_modules/@adonisjs/auth
npm ERR!     @adonisjs/auth@"^9.1.0" from the root project

Reproduction repo

No response