Coder Social home page Coder Social logo

Comments (6)

austencollins avatar austencollins commented on June 27, 2024 2

@darthwalsh Just updated that package.json to work with version 4

from serverless.

austencollins avatar austencollins commented on June 27, 2024 1

Thanks for reporting @ryan-bloom. We haven't heard this yet, but we'll look into this right away, regardless.

from serverless.

darthwalsh avatar darthwalsh commented on June 27, 2024 1

@ryan-bloom the issue is in "serverless-python-requirements": "6.1.0" -- we need to wait for a new release in https://github.com/serverless/serverless-python-requirements/releases

from serverless.

eahefnawy avatar eahefnawy commented on June 27, 2024

@ryan-bloom Unfortunately I was not able to reproduce this. We did have an issue with plugin install recently, but that was fixed. Could you please make sure you are running the latest version of 4.0.33 and try again? 😊

Screen Shot 2024-05-31 at 11 27 53 AM

from serverless.

darthwalsh avatar darthwalsh commented on June 27, 2024

I'm not sure that serverless-python-requirements is marked compatible with serverless@4 just yet:

https://github.com/serverless/serverless-python-requirements/blob/6e806c09686e57af93904af1d46b3b20aa62a202/package.json#L81 shows

  "peerDependencies": {
    "serverless": "^2.32 || 3"
  },

We came across this thread from renovatebot trying to upgrade from serverless v3. Trying to install using our new package.json

{
  "devDependencies": {
    "serverless": "^4.0.0",
    "serverless-python-requirements": "^6.1.0"
  }
}

prints

$ npm i
npm error code ERESOLVE
npm error ERESOLVE unable to resolve dependency tree
npm error
npm error While resolving: undefined@undefined
npm error Found: [email protected]
npm error node_modules/serverless
npm error   dev serverless@"^4.0.0" from the root project
npm error
npm error Could not resolve dependency:
npm error peer serverless@"^2.32 || 3" from [email protected]
npm error node_modules/serverless-python-requirements
npm error   dev serverless-python-requirements@"^6.1.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/walshca/.npm/_logs/2024-05-31T18_52_54_054Z-eresolve-report.txt

$ npm --version
10.7.0

from serverless.

ryan-bloom avatar ryan-bloom commented on June 27, 2024

Upgraded to serverless 4.0.33 and running the plugin install command gets the same error that @darthwalsh saw:
image

from serverless.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.