Open serjt12 opened 6 years ago
I looked into this more. They only show up on windows and only when install is called with --prefix
(even --prefix .
causes them) they seem to be made for every file in node_modules/.bin.
git clean -f
is an easy to delete them all, but be careful because it will delete all untracked, unignored files.
I think it's a side effect of prefix. It's trying to put links to executable files where they can be found on the path. (https://docs.npmjs.com/files/folders#prefix-configuration)
Possible solutions
npm install <package>
without the prefix option in postinstall. According to the docs this might hoist dependencies up to the top level node_modules so it could break things.
Untracked files: (use "git add..." to include in what will be committed)