Skip to content

Serverless Auto Swagger is not working with serverless V4Β #138

@mericci

Description

@mericci

I have a version conflict between [email protected] and [email protected]. It's seem that [email protected] still requires serverless version ^2 or ^3, but serverless ^3 is going to be manteined only for 2024, so I need to update the serverless framework version, and I have this error:

npm ERR! code ERESOLVE
npm ERR! ERESOLVE unable to resolve dependency tree
npm ERR! 
npm ERR! While resolving: [email protected]
npm ERR! Found: [email protected]
npm ERR! node_modules/serverless
npm ERR!   dev serverless@"^4.4.7" from the root project
npm ERR! 
npm ERR! Could not resolve dependency:
npm ERR! peer serverless@"^2 || ^3" from [email protected]
npm ERR! node_modules/serverless-auto-swagger
npm ERR!   dev serverless-auto-swagger@"^3.0.0" from the root project
npm ERR! 
npm ERR! Fix the upstream dependency conflict, or retry
npm ERR! this command with --force or --legacy-peer-deps
npm ERR! to accept an incorrect (and potentially broken) dependency resolution.

image

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions