Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Using specific Node version #262

Merged
merged 2 commits into from Nov 6, 2018
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Jump to
Jump to file
Failed to load files.
Diff view
Diff view
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