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

Gyp error with Yarn #30

Closed
bedeMarkRadford opened this issue Mar 8, 2018 · 7 comments
Closed

Gyp error with Yarn #30

bedeMarkRadford opened this issue Mar 8, 2018 · 7 comments

Comments

@bedeMarkRadford
Copy link

I get this error when using node-sass with Yarn:

Error: /build/node_modules/node-sass: Command failed.

Which looks like it can't make:

gyp ERR! stack Error: not found: make

I found this when looking for the error:
DeviaVir/zenbot#425

Suggesting we need build-essentials in the mix.
sudo apt-get install build-essential git

@edbizarro
Copy link
Owner

yes, you need to install the build-essential package to use make (or just install make and gcc)

@edbizarro
Copy link
Owner

hi, @bedeMarkRadford Did you get it to work?

@bedeMarkRadford
Copy link
Author

I actually went around the problem and removed the dependency.
I'm not using Laravels Elixir which was the dependency causing the problems

@edbizarro
Copy link
Owner

Nice, if I can help you with something else feel free to reach me.

@GertjanRoke
Copy link

But why is the node version bumped to node 9 instead of 8? If you stead with node 8 there is no problem with node-sass that can not make a directory.

@edbizarro
Copy link
Owner

edbizarro commented Apr 3, 2018

Because node 9 is the latest release

@GertjanRoke
Copy link

I know but not the latest LTS, maybe it is a good idea to only use the latest version of node with the latest version of php that your offering.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants