Docker node alpine 8 Segmentation fault (core dumped)
Seems like bcrypt has uploaded pre-compiled versions of bcrypt that is incompatible with the musl alpine libc. I added the following to my Dockerfile:
RUN npm rebuild bcrypt --build-from-source
And it automagically started working. I couldn't revert to 7 either, because then I got some other issue with the binary not being compatible.
bcrypt could be a secondary dependency in your case, explaining your behavior.
For me it stopped working on the 7th of July. Although the latest release of bcrypt was published in february, I still think it's possible to "update" a release and maybe they added the pre compiled versions at that date, I don't know.