npm install: when to use --no-bin-links?

前端 未结 2 1560
时光取名叫无心
时光取名叫无心 2021-02-05 03:15

When and why we should use the option --no-bin-links when we install npm packages?

The official docs say:

The --no-bin-links argument will preven

2条回答
  •  死守一世寂寞
    2021-02-05 03:51

    One scenario that I can think of is working with a virtual machine (i.e. vagrant w/ virtual box or VMware) on windows host.
    You can't translate symlinks to a synchronized folder on Windows share, so you will need this option to go around it.

    Use it for any filesystem that doesn’t support symbolic links.

提交回复
热议问题