atom / watcher

Atom Filesystem Watcher

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Yarn add hangs on Linux

nono opened this issue · comments

Prerequisites

Description

When running yarn add @atom/watcher, it hangs forever on linux.

Steps to Reproduce

  1. npm install -g yarn
  2. mkdir project && cd project && yarn init
  3. yarn add @atom/watcher

Expected behavior:

The package is installed in node_modules and the package.json is updated (yarn.lock too).

Actual behavior:

yarn add @atom/watcher hangs and package.json is not updated.

Reproduces how often:

100%

Versions

@atom/watcher@1.2.0.

Additional Information

Maybe it's related to #185

I have those process in ps aux:

nono     13017 41.0  1.0 1241108 84464 pts/8   Sl+  14:26   0:00 node /home/nono/bin/yarn add @atom/watcher
nono     13027  0.0  0.0   4632   832 ?        Ss   14:26   0:00 /bin/sh -c prebuild-install || node-gyp rebuild
nono     13028 13.0  0.4 988000 36680 ?        Sl   14:26   0:00 node /home/nono/tmp/project/node_modules/@atom/watcher/node_modules/.bin/prebuild-install

Maybe it's related to #185

Yeah, this is the same problem 😞 Closing this issue in favor of that one to keep things centralized ➡️