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

Why yarn build node-gyp deps at each install? #2916

Closed
sc0rp10 opened this issue Mar 14, 2017 · 2 comments
Closed

Why yarn build node-gyp deps at each install? #2916

sc0rp10 opened this issue Mar 14, 2017 · 2 comments

Comments

@sc0rp10
Copy link

sc0rp10 commented Mar 14, 2017

Now yarn rebuild binary deps at each install that stole my time and heat my CPU.
Why yarn doing it?

$ yarn --version
0.21.3
$ cat package.json
{
  "name": "test",
  "dependencies": {
    "bcrypt": "^0.8.7"
  }
}

What is the current behavior?
Binary deps builds at each install.
If the current behavior is a bug, please provide the steps to reproduce.

rm -rf node_modules
yarn install # first node-gyp compilation. it's ok
rm -rf node_modules
yarn install # why does it run compilation again?

What is the expected behavior?
Cache built .o files at shared cache directory

@Daniel15
Copy link
Member

This is probably a duplicate of #932

@arcanis
Copy link
Member

arcanis commented Apr 28, 2017

Closing this as a duplicate of #932

@arcanis arcanis closed this as completed Apr 28, 2017
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