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: docs/npm.md
+8Lines changed: 8 additions & 0 deletions
Original file line number
Diff line number
Diff line change
@@ -3,6 +3,7 @@
3
3
# npm Install Requirements
4
4
5
5
-[Ubuntu, Debian](#ubuntu-debian)
6
+
-[Distros Older than 18.04](#distros-older-than-1804)
6
7
-[Fedora, CentOS, RHEL](#fedora-centos-rhel)
7
8
-[Alpine](#alpine)
8
9
-[macOS](#macos)
@@ -30,6 +31,13 @@ sudo apt-get install -y \
30
31
npm config set python python3
31
32
```
32
33
34
+
### Distros Older than 18.04
35
+
36
+
If you are using a distro older than Ubntu 18.04 and you are using `yarn global add` to install code-server, please make sure to set `npm_config_build_from_source=true`.
37
+
38
+
This is due to an upstream issue with RHEL7/CentOS 7 comptability with node-argon2
39
+
See details [here](https://github.com/cdr/code-server/pull/3422#pullrequestreview-677765057) and [here](https://github.com/ranisalt/node-argon2/issues/276).
0 commit comments