Just wanted to chime in that I’ve just run up against this as well:
npm ERR! nospc ENOTSUP: operation not supported on socket, symlink '../acorn/bin/acorn' -> '/var/www/node_modules/.bin/acorn'
In this case, I’m trying to run
npm install inside of a container. On the off-chance that someone else is encountering this issue for the same reason, try tacking on
--no-bin-links when invoking
npm install. Packages aren’t obligated to play ball, but if it does work, it might be enough to tide one over until the filesystem-level support can be sorted out.
For me, using that flag did get the install to work, but there were runtime issues afterwards as some scripts assume the presence of those symlinks.