Skip to content
Snippets Groups Projects
Commit 53fe00b3 authored by Benoit Lavenier's avatar Benoit Lavenier
Browse files

[fix] Fix doc (use nodeJS v6)

parent 81432c6d
No related branches found
No related tags found
No related merge requests found
...@@ -70,7 +70,7 @@ export NVM_DIR="$HOME/.nvm" ...@@ -70,7 +70,7 @@ export NVM_DIR="$HOME/.nvm"
[ -s "$NVM_DIR/nvm.sh" ] && \. "$NVM_DIR/nvm.sh" # This loads nvm [ -s "$NVM_DIR/nvm.sh" ] && \. "$NVM_DIR/nvm.sh" # This loads nvm
# Node.js # Node.js
nvm install 5 nvm install 6
# node-pre-gyp # node-pre-gyp
npm install -g nw-gyp node-pre-gyp npm install -g nw-gyp node-pre-gyp
......
...@@ -45,7 +45,7 @@ To build Cesium, you will have to: ...@@ -45,7 +45,7 @@ To build Cesium, you will have to:
> To remind: check that your command line is configured: > To remind: check that your command line is configured:
> - You must place yourself in the directory of the application: `cd cesium` > - You must place yourself in the directory of the application: `cd cesium`
> - and be configured for NodeJs v5: `nvm use 5` (please check using the command `node --version`) > - and be configured for NodeJs v6: `nvm use 6` (please check using the command `node --version`)
## Prepare environment, then compile and launch ## Prepare environment, then compile and launch
......
...@@ -93,10 +93,10 @@ Vous pouvez installer nvm avec la commande suivante : ...@@ -93,10 +93,10 @@ Vous pouvez installer nvm avec la commande suivante :
curl -o- https://raw.githubusercontent.com/creationix/nvm/v0.33.6/install.sh | bash curl -o- https://raw.githubusercontent.com/creationix/nvm/v0.33.6/install.sh | bash
``` ```
Fermez puis rouvrez votre terminal, comme indiqué. Puis, installez Node.js (choisissez la version 5) : Fermez puis rouvrez votre terminal, comme indiqué. Puis, installez Node.js (choisissez la version 6) :
```bash ```bash
nvm install 5 nvm install 6
``` ```
Vous aurez alors la dernière version de la branche 5.x de Node.js prête à l'emploi. Vous aurez alors la dernière version de la branche 5.x de Node.js prête à l'emploi.
...@@ -110,7 +110,7 @@ sudo apt-get install build-essential ...@@ -110,7 +110,7 @@ sudo apt-get install build-essential
#### Sous Windows #### Sous Windows
Pour Windows, téléchargez la version 5 disponible sur le site officiel de Node.js : https://nodejs.org Pour Windows, téléchargez la version 6 disponible sur le site officiel de Node.js : https://nodejs.org
Puis lancez l'installeur ainsi téléchargé. Puis lancez l'installeur ainsi téléchargé.
......
...@@ -116,10 +116,10 @@ Vérifiez que vous utilisez bien la version de NodeJs dont Cesium a besoin à l' ...@@ -116,10 +116,10 @@ Vérifiez que vous utilisez bien la version de NodeJs dont Cesium a besoin à l'
node --version node --version
``` ```
Si vous n'êtes pas sur une v5.X.X, utilisez la commande Si vous n'êtes pas sur une v6, utilisez la commande
``` ```
nvm use 5 nvm use 6
``` ```
Vous pouvez maintenant lancer l'instalaltion du projet Cesium pour Android : Vous pouvez maintenant lancer l'instalaltion du projet Cesium pour Android :
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment