What are the default symlinks and how to you recreate them

I have been bitten by the situation where when trying to install a module npm seems to delete everything that is there

I understand though that they are symlinks and therefore can recreated, does anyone know where the original files are are where they should go? npm removed 248 of them!

I have emailed support too and am awaiting a reply from them

to give an example n8n will now not startup as it says

Error: Cannot find module 'C:\Users\n8n-service\AppData\Roaming\npm\node_modules\n8n\bin\n8n'

For reference, I found a copy in my temp folder so used (in powershell)

I have found a copy for now in my temp folder so ran

New-Item -ItemType SymbolicLink -Path "C:\Users\n8n-service\AppData\Roaming\npm\node_modules\n8n" -Target "C:\temp\Roaming\npm\node_modules\n8n"

Does anyone know where I should be linking from and how we avoid this npm bug in future ?