Comments (5)
You may need https://github.com/nodejs/corepack/blob/a62cd7b977a71a534ef8fb01cbfe944b59162b22/README.md#environment-variables COREPACK_ENABLE_DOWNLOAD_PROMPT
from node.
@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.
@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.
@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 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)
- Verify env parameter when napi_get_uv_event_loop functions is called. HOT 2
- TypeError: Missing internal module 'node:crypto' HOT 14
- Disable `NODE_OPTIONS` via CLI HOT 4
- Node 20 not supporting prepack script HOT 2
- Passing `-j32` for ninja no longer works HOT 24
- Tracking issue: latest ESM Integration support
- Module Hooks cannot be registered from worker thread in 22.2.0+ HOT 18
- [REG 20.9->20.10] stream: Pipe is stopped after error on another pipe from the same source HOT 5
- Update Undici to backport a fix in Node.js 20.x HOT 1
- Not able to download nodejs for windows HOT 1
- Unhandled Error on Start HOT 3
- Support registering worker specific custom ESM loader hooks (Regression from #52706) HOT 10
- Lambdas in node 18.x (18.20.3) and problems with axios HPE_INVALID_HEADER_TOKEN HOT 2
- Xcode
- Relative `require()` in `commonjs` source not processed by ESM Loader HOT 2
- test_runner: `before` hook runs even if it's not followed by any test HOT 7
- The registration order of http server listen depends on the Node.js version HOT 5
- Ambiguous steps in `PACKAGE_IMPORTS_EXPORTS_RESOLVE` reference documentation HOT 8
- Memory leak or GC overrun in sort() HOT 2
- (Discuss) `_stream_*`
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from node.