Keep symlinks when running `npm install`
问题 If we do: npm link x and then we run npm install , it will overwrite the symlinked package. Is there a way to run npm install without overwriting a symlinked package? something like: npm install --preserve-symlinks or npm install --keep-symlinks here is the issue in the NPM issue tracker: https://github.com/npm/npm/issues/17287 来源: https://stackoverflow.com/questions/51976626/keep-symlinks-when-running-npm-install