node-fs-ext icon indicating copy to clipboard operation
node-fs-ext copied to clipboard

node_modules/fs-ext/build/Release constantly disappears in yarn

Open dko-slapdash opened this issue 5 years ago • 2 comments

Hi.

It's actually hard to reproduce (so I have a little hope you'll fix it), but happens almost every week on my laptop.

The symptom is that node_modules/fs-ext/build/Release/ folder just disappears after some of "yarn install" commands. And the only thing which helps is running:

yarn remove fs-ext; yarn add fs-ext

This happens only with fs-ext (and never with some other binary extension like e.g. bcrypt). On both Node 9 and 12.

Linux, docker environment, yarn 1.19.2 (although older versions of yarn are prone too).

dko-slapdash avatar Dec 11 '19 12:12 dko-slapdash

Hi. Could you provide more information about failed installation (yarn logs, content of package.json and yarn.lock, etc)?

This happens only with fs-ext (and never with some other binary extension like e.g. bcrypt). On both Node 9 and 12.

If you use https://github.com/kelektiv/node.bcrypt.js module, please pay attention that it depends from node-pre-gyp, which means that prebuilt binary is downloaded during installation (if available). fs-ext doesn't use node-pre-gyp.

ikokostya avatar Jan 14 '20 07:01 ikokostya

Actually, it happens with bcrypt too sometimes (much less often though). But can't reproduce stable enough.

dko-slapdash avatar Apr 29 '20 21:04 dko-slapdash