Giter Club home page Giter Club logo

Comments (3)

vamche avatar vamche commented on May 18, 2024 1

@floydspace Thanks for testing. I have tested on my side, I confirm that it's working with npm6. The issue is with npm7 only because of the change in output of npm ls -prod -json.

As you suggested, I will try to find a way which is backward compatible.

from serverless-esbuild.

floydspace avatar floydspace commented on May 18, 2024

Hi @vamche thanks for the new issue, I checked out your branch and ran npx sls package (it prepares final artifacts)
And I see that everything is packaged as you expect.
image
so I couldn't reproduce on my node14, npm6 environment
Could you provide details about your environment? I suppose you're using npm7, maybe this causes the issue?

from serverless-esbuild.

floydspace avatar floydspace commented on May 18, 2024

Indeed I checked in node16, npm7 environment and it behaves as you described. I would appreciate if you make a fix, but keep in mind compatibility with older environments. Blindly passing depth 5 could break npm6, so you have to find the way it's working in both envs or implemented special case for npm7 as you described. thank you

from serverless-esbuild.

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.