mirror of
https://github.com/zed-industries/zed.git
synced 2024-11-08 07:35:01 +03:00
8e523d812f
By default `npm install` will walk up the folder tree checking for a folder that contains either a package.json file, or a node_modules folder. If such a thing is found, then that is treated as the effective "current directory" for the purpose of running npm commands. This caused npm dependencies for language servers sometimes to be installed in the wrong folder, described in #4628. Adding `--prefix ./` to `npm install` forces node_runtime.npm_install_packages to install packages in provided path even if node_modules dir exists somewhere up the filesystem tree from installation path. |
||
---|---|---|
.. | ||
src | ||
Cargo.toml | ||
LICENSE-GPL |