File tree Expand file tree Collapse file tree 2 files changed +2
-2
lines changed
Expand file tree Collapse file tree 2 files changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -100,7 +100,7 @@ jobs:
100100 PNPM_VERSION : ' 6'
101101
102102 - NODE_VERSION : ' 12'
103- NPM_VERSION : ' >2.7.0 <10 .0.0'
103+ NPM_VERSION : ' >2.7.0 <9 .0.0'
104104 PNPM_VERSION : ' 6'
105105
106106 - NODE_VERSION : ' 10'
Original file line number Diff line number Diff line change @@ -306,7 +306,7 @@ npm_install_global() {
306306# Installs a package globally via `npm` from GitHub.
307307npm_install_global_github () {
308308 echo " Installing ${pkg_github_url} #${pkg_github_tag} as a global package..." >> " ${log_file} " 2>&1
309- npm install " ${pkg_github_url} #${pkg_github_tag} " >> " ${log_file} " 2>&1
309+ npm install -g " ${pkg_github_url} #${pkg_github_tag} " >> " ${log_file} " 2>&1
310310 if [[ " $? " -ne 0 ]]; then
311311 echo " Encountered an error when installing ${pkg_github_url} #${pkg_github_tag} as a global package via npm." >> " ${log_file} " 2>&1
312312 cat " ${working_dir} /npm-debug.log" >> " ${log_file} " 2>&1
You can’t perform that action at this time.
0 commit comments