From eebdc1d02d87475fbd792cb4d9a25ed5822c239d Mon Sep 17 00:00:00 2001 From: Vitaliy Vlasov Date: Tue, 4 Sep 2018 18:01:35 +0300 Subject: [PATCH 1/2] Update desktop dev env setup doc --- doc/desktop/DevEnvSetup.md | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/doc/desktop/DevEnvSetup.md b/doc/desktop/DevEnvSetup.md index 4b0506df54..ce22a42e3b 100644 --- a/doc/desktop/DevEnvSetup.md +++ b/doc/desktop/DevEnvSetup.md @@ -16,14 +16,14 @@ Caveats: # To setup re-natal dev builds of status-react for Desktop: 1. git clone https://github.com/status-im/status-react.git 2. cd status-react -3. git checkout desktop +3. scripts/prepare-for-platform.sh desktop 4. npm install -5. lein deps +5. ln -sf './node_modules/re-natal/index.js' './re-natal' 6. ./re-natal use-figwheel 7. ./re-natal enable-source-maps 8. In separate terminal tab: `npm start` (note: it starts react-native packager ) 9. In separate terminal tab: node ./ubuntu-server.js -10. In separate terminal tab: lein figwheel-repl desktop (note: wait until sources compiled) +10. In separate terminal tab: lein figwheel-repl desktop (note: wait until sources are compiled) 11. In separate terminal tab: react-native run-desktop # Editor setup From a5f2e7722a5a5a34b60c783ad5deea108819ec2e Mon Sep 17 00:00:00 2001 From: Vitaliy Vlasov Date: Tue, 4 Sep 2018 18:49:09 +0300 Subject: [PATCH 2/2] Add warning about npm versions higher than 5.6.0 --- doc/desktop/DevEnvSetup.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/doc/desktop/DevEnvSetup.md b/doc/desktop/DevEnvSetup.md index ce22a42e3b..3fbe4a9320 100644 --- a/doc/desktop/DevEnvSetup.md +++ b/doc/desktop/DevEnvSetup.md @@ -5,7 +5,7 @@ Note: add qmake to PATH via `export PATH=/clang_64/bin:$PATH` Caveats: - - if npm hangs at some step, check the version. If it's 5.6.0, try downgrading to 5.5.1 via `npm install -g npm@5.5.1` + - if npm hangs at some step, check the version. If it's 5.6.0 or higher, try downgrading to 5.5.1 via `npm install -g npm@5.5.1` # To install react-native-cli with desktop commands support: 1. git clone https://github.com/status-im/react-native-desktop.git