When running yarn version higher than 1.9.4 linking will fail with random packages / files:
error An unexpected error occurred: "EBADF: bad file descriptor, copyfile '/usr/local/share/.cache/yarn/v2/npm-amdefine-1.0.1-4a5282ac164729e93619bcfd3ad151f817ce91f5/LICE
NSE' -> '/home/site/wwwroot/node_modules/amdefine/LICENSE'".
It is reproducible when installing yarn using "npm install yarn@Version" and triggering yarn:
node node_modules/yarn/bin/yarn.js install --production --non-interactive --force
Version 1.9.4 is working, version 1.10.0 is the first version throwing an error. Maybe it is related to #5456
package.txt