# Errors running `yarn` in new sage installation

**URL:** https://discourse.roots.io/t/errors-running-yarn-in-new-sage-installation/15764
**Category:** sage
**Tags:** sage9
**Created:** 2019-06-05T13:55:13Z
**Posts:** 5

## Post 1 by @richard — 2019-06-05T13:55:13Z

Installing sage 9 into bedrock and yarn is failing due to:

```
gyp ERR! build error 
gyp ERR! stack Error: `make` failed with exit code: 2
gyp ERR! stack at ChildProcess.onExit (/Users/me/Local_Sites/bedrock/app/bedrock/web/app/themes/sage/node_modules/node-gyp/lib/build.js:262:23)
gyp ERR! stack at ChildProcess.emit (events.js:200:13)
gyp ERR! stack at Process.ChildProcess._handle.onexit (internal/child_process.js:272:12)
gyp ERR! System Darwin 18.6.0
gyp ERR! command "/usr/local/bin/node" "/Users/me/Local_Sites/bedrock/app/bedrock/web/app/themes/sage/node_modules/node-gyp/bin/node-gyp.js" "rebuild" "--verbose" "--libsass_ext=" "--libsass_cflags=" "--libsass_ldflags=" "--libsass_library="
gyp ERR! cwd /Users/me/Local_Sites/bedrock/app/bedrock/web/app/themes/sage/node_modules/node-sass
gyp ERR! node -v v12.4.0
```

Any thoughts on what’s going wrong here?

---

## Post 2 by @mmirus — 2019-06-05T14:37:03Z

Hey @richard - did you try searching Discourse for similar error messages? :slight_smile: I know there are a couple of threads with similar symptoms that might help you.

---

## Post 3 by @owi — 2019-06-05T16:18:05Z

Please make sure you have node-sass higher than 4.12.0 as you have node 12.4.0 and node-sass was not supporting it until 4.12.0

> **[sass/node-sass](https://github.com/sass/node-sass/releases/tag/v4.12.0)**
>
> :rainbow: Node.js bindings to libsass. Contribute to sass/node-sass development by creating an account on GitHub.

---

## Post 4 by @richard — 2019-06-05T22:24:44Z

Thanks, `yarn && yarn build` is now working with node 10.16.0.

---

## Post 5 by @owi — 2019-06-06T14:45:44Z

Please mark it as resolved so the following people will be able to see the solution. Thank you

---

## Post 6 by @system — 2019-07-17T13:55:13Z

This topic was automatically closed after 42 days. New replies are no longer allowed.
