mirror of
https://github.com/kremalicious/metamask-extension.git
synced 2024-11-21 17:37:01 +01:00
fix(readme): yarn v3 no longer required (#20713)
Modern releases of yarn are not intended to be installed globally or via npm. The good practice now is to use Corepack, a utility included with Node.js by default, that manages Yarn on a per-project basis, based on the version specified by the packageManager property in the project's package.json file.
This commit is contained in:
parent
8608655886
commit
25114997c4
@ -16,9 +16,7 @@ To learn how to contribute to the MetaMask project itself, visit our [Internal D
|
||||
|
||||
- Install [Node.js](https://nodejs.org) version 18
|
||||
- If you are using [nvm](https://github.com/nvm-sh/nvm#installing-and-updating) (recommended) running `nvm use` will automatically choose the right node version for you.
|
||||
- Install [Yarn v3](https://yarnpkg.com/getting-started/install)
|
||||
- ONLY follow the steps in the "Install Corepack" and "Updating the global Yarn version" sections
|
||||
- DO NOT take any of the steps in the "Initializing your project", "Updating to the latest versions" or "Installing the latest build fresh from master" sections. These steps could result in your repo being reset or installing the wrong yarn version, which can break your build.
|
||||
- Enable Corepack by executing the command `corepack enable` within the metamask-extension project. Corepack is a utility included with Node.js by default. It manages Yarn on a per-project basis, using the version specified by the `packageManager` property in the project's package.json file. Please note that modern releases of [Yarn](https://yarnpkg.com/getting-started/install) are not intended to be installed globally or via npm.
|
||||
- Duplicate `.metamaskrc.dist` within the root and rename it to `.metamaskrc`
|
||||
- Replace the `INFURA_PROJECT_ID` value with your own personal [Infura Project ID](https://infura.io/docs).
|
||||
- If debugging MetaMetrics, you'll need to add a value for `SEGMENT_WRITE_KEY` [Segment write key](https://segment.com/docs/connections/find-writekey/), see [Developing on MetaMask - Segment](./development/README.md#segment).
|
||||
|
Loading…
Reference in New Issue
Block a user