I've installed Node and NPM using nvm-windows.
When I tried to run npm install, I got an error Unexpected token '.', then a path to a complete log of the run.
I checked the complete log, and unexpected token came from a file that contained only the text
../workspace/libnpmfund
That looks a Unix symlink on Windows.
I tried deleting the file and re-installing libnpmfund
npm i -g libnpmfund
But the output I get from that is Cannot find module 'libnpmfund'.
I tried changing what version of node and npm I was using, to no avail.
How can I fix this? How did I get into this mess?
(FYI there were a bunch of such symlinks and I deleted them all intending to re-install them correctly one by one.)