aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorChristophe HAMERLING <chamerling@linagora.com>2020-06-24 16:30:37 +0200
committerSaúl Ibarra Corretgé <s@saghul.net>2020-06-26 10:06:01 +0200
commit1c4f76e3b84ae33823474f8c7970ff6f839f0b66 (patch)
treec7149475d90cfd0d03503ad11e0ec39a86b0d6b7
parent111a1ef88407d8adaae00adfe28be25ed986a55b (diff)
Define Node.js 12 as requirement
-rw-r--r--.nvmrc1
-rw-r--r--README.md2
-rw-r--r--package.json3
3 files changed, 6 insertions, 0 deletions
diff --git a/.nvmrc b/.nvmrc
new file mode 100644
index 0000000..3cacc0b
--- /dev/null
+++ b/.nvmrc
@@ -0,0 +1 @@
+12 \ No newline at end of file
diff --git a/README.md b/README.md
index 3741d40..ad4163a 100644
--- a/README.md
+++ b/README.md
@@ -58,6 +58,8 @@ If you want to hack on this project, here is how you do it.
#### Installing dependencies
+Install Node.js 12 first (or if you use [nvm](https://github.com/nvm-sh/nvm), switch to Node.js 12 by running `nvm use`).
+
```bash
npm install
```
diff --git a/package.json b/package.json
index 3f9b606..eec4d97 100644
--- a/package.json
+++ b/package.json
@@ -15,6 +15,9 @@
"validate": "npm ls",
"watch": "webpack --config ./webpack.renderer.js --mode development --watch --watch-poll"
},
+ "engines" : {
+ "node" : ">=12.0.0"
+ },
"build": {
"appId": "org.jitsi.jitsi-meet",
"productName": "Jitsi Meet",