You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: CONTRIBUTING.md
+7-1Lines changed: 7 additions & 1 deletion
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -2,7 +2,7 @@
2
2
3
3
If you want to build Corepack yourself, you can build the project like this:
4
4
5
-
1. Clone this repository.
5
+
1. Clone this repository. Some restrictions on the cloning location apply to Windows users, read [Contributing on Windows](#contributing-on-windows) for more information.
6
6
2. Run `yarn install` (or `corepack yarn install` if the global version of
7
7
`yarn` is not provided by Corepack).
8
8
3. Run `yarn build` (or `corepack yarn build`).
@@ -11,6 +11,12 @@ The `dist/` directory now contains the corepack build and the shims.
11
11
Call `node ./dist/corepack --help` and behold.
12
12
You can also run the tests with `yarn test`.
13
13
14
+
## Contributing on Windows
15
+
16
+
If you are cloning the repo to a directory on a Microsoft Windows operating system, it is recommended to use the same drive as your Windows `HOMEDRIVE` to avoid build and other issues related to a current restriction with Yarn Plug'n'Play caching.
17
+
18
+
If you are unable to use your `HOMEDRIVE`, you may be able to work around the issue by setting the environment variable `YARN_ENABLE_GLOBAL_CACHE` to `false` before running `yarn install` (or `corepack yarn install`).
19
+
14
20
# Adding a new package manager
15
21
16
22
New package managers can be added by editing the following files:
0 commit comments