corepack
corepack copied to clipboard
Zero-runtime-dependency package acting as bridge between Node projects and their package managers
The command `corepack use` requires specifying a version. e.g. `corepack use 'yarn@*'` This command should allow simply `corepack use yarn`.
I'm using this with Jenkins on AWS. 1. I set up Node to the version (v16.15.1) set in .nvmrc file: ``` if (fileExists('.nvmrc')) { sh 'bash -l -c "(((nvm install...
# how to reproduce environments: node18 and debian10 commands: 1. `corepack yarn install` 2. `corepack yarn build`  It works fine with yarn3 but not with yarn4
Hi, I am running `corepack` on Node `v19.9.0` and Arch Linux `6.3.1` and I can't enable it: ``` $ pacman -S node npm $ corepack enable Internal Error: EACCES: permission...
Copying pnpm issue here: https://github.com/pnpm/pnpm/issues/5875 ### pnpm version: 7.1.7 ### Code to reproduce the issue: ``` corepack prepare [email protected] --activate; pnpm -v ``` ### Expected behavior: It should output I'm...
Hi all, I am running into an issue when trying to the use `corepack prepare --all` against an authenticated NPM registry. Within our company we use a our own NPM...
The README.md states that "[the hash is optional but strongly recommended as a security practice](https://github.com/nodejs/corepack/blob/15ceb832a34a223efbe3d3f9cb792d9101a7022a/README.md?plain=1#L59)", but provides no guidance on how to determine an acceptable hash. I can see hashes...
I install the node v16.18.0 and enable the corepack as the guide at https://yarnpkg.com/getting-started/install. And the following error show when I try to run yarn help on my windows 10....
Hi. This is a question, not a bug report, so feel free to move the discussion elsewhere as needed. As far as I know, the only version of Yarn meant...
Read it all twice and I still have no idea how this thing works. > In practical terms, Corepack will let you use Yarn and pnpm without having to install...