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
We tried to switch from `yarn` to `npm` because `yarn` ignores lockfiles
but learned that we missed a few key things.
For now, we are reverting docs and a few other changes that suggested
using `npm` instead of `yarn` until we fully remove `yarn` from the
codebase.
t Please enter the commit message for your changes. Lines starting
Copy file name to clipboardExpand all lines: .github/ISSUE_TEMPLATE/bug-report.yml
+1-1
Original file line number
Diff line number
Diff line change
@@ -57,7 +57,7 @@ body:
57
57
id: logs
58
58
attributes:
59
59
label: Logs
60
-
description: Run code-server with the --verbose flag and then paste any relevant logs from the server, from the browser console and/or the browser network tab. For issues with installation, include installation logs (i.e. output of `npm install -g code-server`).
60
+
description: Run code-server with the --verbose flag and then paste any relevant logs from the server, from the browser console and/or the browser network tab. For issues with installation, include installation logs (i.e. output of `yarn global add code-server`).
@@ -227,13 +228,14 @@ You can install code-server using the [Helm package manager](https://coder.com/d
227
228
228
229
## Windows
229
230
230
-
We currently [do not publish Windows releases](https://github.com/coder/code-server/issues/1397). We recommend installing code-server onto Windows with [`npm`](#npm).
231
+
We currently [do not publish Windows releases](https://github.com/coder/code-server/issues/1397). We recommend installing code-server onto Windows with [`yarn` or `npm`](#yarn-npm).
231
232
232
233
> Note: You will also need to [build coder/cloud-agent manually](https://github.com/coder/cloud-agent/issues/17) if you would like to use `code-server --link` on Windows.
233
234
234
235
## Raspberry Pi
235
236
236
-
We recommend installing code-server onto Raspberry Pi with [`npm`](#npm).
237
+
We recommend installing code-server onto Raspberry Pi with [`yarn` or
@@ -90,7 +85,8 @@ Installing code-server requires all of the [prerequisites for VS Code developmen
90
85
Next, install code-server with:
91
86
92
87
```bash
93
-
npm install -g code-server
88
+
yarn global add code-server
89
+
# Or: npm install -g code-server
94
90
code-server
95
91
# Now visit http://127.0.0.1:8080. Your password is in ~/.config/code-server/config.yaml
96
92
```
@@ -100,7 +96,8 @@ A `postinstall.sh` script will attempt to run. Select your terminal (e.g., Git b
100
96
If the `code-server` command is not found, you'll need to [add a directory to your PATH](https://www.architectryan.com/2018/03/17/add-to-the-path-on-windows-10/). To find the directory, use the following command:
101
97
102
98
```shell
103
-
npm config get prefix
99
+
yarn global bin
100
+
# Or: npm config get prefix
104
101
```
105
102
106
103
For help and additional troubleshooting, see [#1397](https://github.com/coder/code-server/issues/1397).
@@ -110,7 +107,8 @@ For help and additional troubleshooting, see [#1397](https://github.com/coder/co
110
107
After adding the dependencies for your OS, install the code-server package globally:
111
108
112
109
```bash
113
-
npm install -g code-server
110
+
yarn global add code-server
111
+
# Or: npm install -g code-server
114
112
code-server
115
113
# Now visit http://127.0.0.1:8080. Your password is in ~/.config/code-server/config.yaml
0 commit comments