Skip to content

Commit

Permalink
Merge pull request #262 from 3scale/nvm
Browse files Browse the repository at this point in the history
Using specific Node version
  • Loading branch information
didierofrivia committed Nov 6, 2018
2 parents 2946da3 + 0c156bc commit 929d4a6
Show file tree
Hide file tree
Showing 3 changed files with 1,715 additions and 2 deletions.
23 changes: 23 additions & 0 deletions INSTALL.md
Expand Up @@ -55,6 +55,29 @@ ruby -v

> Mac OS X 10.13 comes with 2.3.7 but you might also use [rbenv](https://github.com/rbenv/rbenv) or [rvm](https://rvm.io/) to install your own ruby version.
#### Node version

The project supports **Version: 8.X.X**.

You might want to use [nvm](https://github.com/creationix/nvm/) to install and work with specific Node versions:

```bash
curl -o- https://raw.githubusercontent.com/creationix/nvm/v0.33.11/install.sh | bash
```

Restart the terminal and install Node:

```bash
nvm install 8
nvm use 8
```

###### As an alternative for Mac OS, and if you don't want multiple Node versions, you could use homebrew:

```bash
brew install node@8
```

#### Xcode

It's required to have **Xcode 9.4** installed, newer versions are not compatible with some dependencies (read more about this [here](https://github.com/thoughtbot/capybara-webkit/issues/1071)).
Expand Down
4 changes: 3 additions & 1 deletion package.json
Expand Up @@ -6,7 +6,8 @@
"test": "karma start --single-run",
"jest": "jest app/javascript/src",
"jest:watch": "npm run-script jest -- --watch",
"install": "yarn check --integrity || yarn install --pure-lockfile --frozen-lockfile --ignore-scripts --skip-integrity-check --prefer-offline --link-duplicates"
"install": "yarn check --integrity || yarn install --pure-lockfile --frozen-lockfile --ignore-scripts --skip-integrity-check --prefer-offline --link-duplicates",
"postinstall": "npm rebuild node-sass"
},
"jspm": {
"directories": {
Expand Down Expand Up @@ -189,6 +190,7 @@
"bootstrap-sass": "3",
"core-js": "^2.5.7",
"jquery": "^3.3.1",
"node-sass": "^4.9.4",
"prop-types": "^15.6.0",
"react": "^16.5.2",
"react-dom": "^16.5.2",
Expand Down

0 comments on commit 929d4a6

Please sign in to comment.