.bin folder without using symbolic links

(André) #1

I’m using npm in a Linux VM on a file system from the Windows host.

Since it does not support symbolic links, I run npm install from windows. But now there is a package that compiles binaries so it does not run in Linux. To avoid creating symbolic links in Linux I can use the --no-bin-links option. But it will create no .bin folder at all. The windows version of npm creates a .bin folder without using symbolic links. It contains script files that can be used in both Windows and Linux!

How can I create a .bin folder containing scripts with the Linux version of npm?

(system) #2

This topic was automatically closed 3 days after the last reply. New replies are no longer allowed.