Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

npm install fails when using serverless 4.1.20 with serverless-lift 1.29.0 #435

Open
anton-chertov opened this issue Aug 9, 2024 · 0 comments

Comments

@anton-chertov
Copy link

anton-chertov commented Aug 9, 2024

I have the following dev dependencies:

  "devDependencies": {
    "serverless": "^4.1.20",
    "serverless-lift": "^1.29.0"
  },

and npm install fails with the following error:

/Users/.../.nvm/versions/node/v20.11.0/bin/npm install
npm error code ERESOLVE
npm error ERESOLVE unable to resolve dependency tree
npm error
npm error While resolving: ...
npm error Found: [email protected]
npm error node_modules/serverless
npm error   dev serverless@"^4.1.20" from the root project
npm error
npm error Could not resolve dependency:
npm error peer serverless@"^2.36.0 || ^3" from [email protected]
npm error node_modules/serverless-lift
npm error   dev serverless-lift@"^1.29.0" from the root project
npm error
npm error Fix the upstream dependency conflict, or retry
npm error this command with --force or --legacy-peer-deps
npm error to accept an incorrect (and potentially broken) dependency resolution.
npm error
npm error
npm error For a full report see:
npm error /Users/.../.npm/_logs/2024-08-09T02_22_52_743Z-eresolve-report.txt
npm error A complete log of this run can be found in: /Users/.../.npm/_logs/2024-08-09T02_22_52_743Z-debug-0.log
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant