Skip to content
This repository has been archived by the owner on Jun 18, 2021. It is now read-only.

Hang when run yarn install #107

Closed
iShawnWang opened this issue Jan 11, 2018 · 8 comments
Closed

Hang when run yarn install #107

iShawnWang opened this issue Jan 11, 2018 · 8 comments

Comments

@iShawnWang
Copy link

iShawnWang commented Jan 11, 2018

2018-01-12 2 39 20

It hang for 10 min, on Ubuntu 16.04
Is that lack of some native package ? Such as libstdc, libuv ?

@sam-github
Copy link
Contributor

Probably better reported as a bug to the yarn project.

@iShawnWang
Copy link
Author

I think maybe node-report have some native reference, and can't be fulfilled on Linux ?

@cjihrig
Copy link

cjihrig commented Jan 18, 2018

Does installing with npm work?

@sam-github
Copy link
Contributor

node-report is developed and tested on Linux, if it can't install with npm its likely an interaction with your system, if it can install with npm but not with yarn, its most likely a yarn incompatibility with npm.

@iShawnWang
Copy link
Author

2018-01-19 10 57 49

2018-01-19 10 58 00

@iShawnWang
Copy link
Author

OMG, what's going on here, I am using Ubuntu 16.04 and somehow npm install node-report drain my CPU and memory.

I remember that I face the similar problem when installing a webpack plugin which helps me to optimize image size when webpack build.

Any idea why this happens? Is that my 1GB memory is not enough of my Ali Cloud Server ?

@iShawnWang
Copy link
Author

But it works and emit success when i run node-gyp rebuild ~

@richardlau
Copy link
Member

There was an infinite loop bug in node-gyp (nodejs/node-gyp#1384) that was fixed in node-gyp 3.7.0 which is a potential cause of high CPU/memory usage.

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

No branches or pull requests

5 participants