Thanks to visit codestin.com Credit goes to github.com
We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
npm install
npm install -g
1 parent 3cb35e8 commit d71a75fCopy full SHA for d71a75f
1 file changed
pre_commit/languages/node.py
@@ -63,6 +63,9 @@ def install_environment(prefix, version, additional_dependencies):
63
cmd_output(*cmd)
64
65
with in_env(prefix, version):
66
+ # https://npm.community/t/npm-install-g-git-vs-git-clone-cd-npm-install-g/5449
67
+ # install as if we installed from git
68
+ helpers.run_setup_cmd(prefix, ('npm', 'install'))
69
helpers.run_setup_cmd(
70
prefix,
71
('npm', 'install', '-g', '.') + additional_dependencies,
0 commit comments