From ffe9141bc4b8b3fe0b16654a63c3f058eecd4e74 Mon Sep 17 00:00:00 2001 From: Jan-Christoph Borchardt Date: Thu, 29 Nov 2018 10:27:27 +0100 Subject: [PATCH] Directly include instructions for Node v9 installation in readme, fix #247 Signed-off-by: Jan-Christoph Borchardt --- README.md | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/README.md b/README.md index 2a8e71c..3599e28 100644 --- a/README.md +++ b/README.md @@ -14,7 +14,13 @@ A menstrual cycle tracking app that's open-source and leaves your data on your p cd drip ``` -4. Make sure you are running Node 8 or 9. It's easiest to switch Node versions using `nvm`. Here's [how to set it up](https://nodesource.com/blog/installing-node-js-tutorial-using-nvm-on-mac-os-x-and-ubuntu/) +4. Make sure you are running Node 8 or 9 (newer versions won’t work). It's easiest to switch Node versions using `nvm`, here’s how to do it: + + ``` + curl -o- https://raw.githubusercontent.com/creationix/nvm/v0.33.0/install.sh | bash + nvm install v9 + ``` + 5. Run `npm install` 5. You may need to open your app's /android folder in Android Studio, so that it detects, downloads and cofigures requirements that might be missing, like the NDK and CMake to build the native code part of the project. Also check out nodejs-mobile repository for the necessary prerequisites for your system. 5. Run `npm run android`