It seems to be related to https://github.com/nodejs/node/issues/39313 (which describes a similar issue).
Add mention for ~/.bashrc