Repository navigation
Conversation
6deacca to
14b6713
Compare
commented
Aug 13, 2021
|
i know it might be slightly out of scope, but could we add a CLI option for this or something so that stock installs could test against this behavior? |
14b6713 to
d3ea98b
Compare
commented
Aug 16, 2021
I think it is a good idea, I have added Note that the version number in |
d3ea98b to
b540122
Compare
b540122 to
3dc0320
Compare
3dc0320 to
7e7127d
Compare
commented
Aug 17, 2021
|
Needs a rebase and a new CI run. Removing the |
7e7127d to
f961b96
Compare
commented
Sep 16, 2021
|
@zcbenz Can you please rebase again to fix the git conflict? |
f961b96 to
bc14859
Compare
commented
Sep 18, 2021
|
Landed in 40c6e83...d9791d9 |
commented
Sep 22, 2021
|
Any chance the default for this could be switched in a semver-major? |
commented
Sep 23, 2021
It will probably break utilities installed with Some Linux distributions also provide packages for node modules, and they rely on global search paths to work. |
commented
Sep 23, 2021
|
Globally installed modules are pretty community-discouraged, as i think are distro-distributed npm packages, but fair callout. |
For embedders it is usually not allowed for Node.js to search modules from global paths like
$HOME/.node_modules, otherwise the behavior of the app could be changed because of a global installed module. For example, a global installedelectronmodule should not break allrequire('electron')calls.This PR adds an option to disable searching modules from global paths.
Also note that this change will have a merge conflict with #39712.