This behavior is introduced between npm 7.15 and 7.21.
The new installation behavior is to always replace a symlinked
node_modules into an actual directory, which breaks the usage of
node_modules.nosync and a few existing npm modules that favors this behavior, e.g.
If this breaking change is intended, it should be introduced with a major version upgrade, shouldn’t it?