Coder Social home page Coder Social logo

Comments (5)

Mr-Python-in-China avatar Mr-Python-in-China commented on June 4, 2024 1

You may need https://github.com/nodejs/corepack/blob/a62cd7b977a71a534ef8fb01cbfe944b59162b22/README.md#environment-variables COREPACK_ENABLE_DOWNLOAD_PROMPT

from node.

Kolobamanacas avatar Kolobamanacas commented on June 4, 2024

@VobileLiuZhiwu Can someone from the team rationalize the not planned decision please? The corepack seems to be the future standard approach of dealing with package managers. And it works fine and well, but today for example I was fixing a bug in our dockerized Yarn v4.1.1 Nest application and I needed to run integration tests dozens times and instead of re-running just one command as I did before, I now need to type y and press Enter as additional step for every container build. I'm aware that my application require some stuff downloaded, including packages in node_modules and package manager. Why would I need to confirm it on every run?

from node.

Kolobamanacas avatar Kolobamanacas commented on June 4, 2024

@Mr-Python-in-China I've tested both values (0 and 1) of COREPACK_ENABLE_DOWNLOAD_PROMPT key. It doesn't remove prompt when downloading yarn.

from node.

VobileLiuZhiwu avatar VobileLiuZhiwu commented on June 4, 2024

@Mr-Python-in-China I've tested both values (0 and 1) of COREPACK_ENABLE_DOWNLOAD_PROMPT key. It doesn't remove prompt when downloading yarn.

@Kolobamanacas Hi, this command works for me, u could try it.

export COREPACK_ENABLE_DOWNLOAD_PROMPT=0 && corepack enable && yarn -v

from node.

Mr-Python-in-China avatar Mr-Python-in-China commented on June 4, 2024

@Mr-Python-in-China I've tested both values (0 and 1) of COREPACK_ENABLE_DOWNLOAD_PROMPT key. It doesn't remove prompt when downloading yarn.

You can try to run corepack yarn. It works for me.

from node.

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.