Nie znaleziono komendy NPM Gitlab Runner
n=$(which node);n=${n%/bin/node}; chmod -R 755 $n/bin/*; sudo cp -r $n/{bin,lib,share} /usr/local
Precious Pintail
n=$(which node);n=${n%/bin/node}; chmod -R 755 $n/bin/*; sudo cp -r $n/{bin,lib,share} /usr/local
The gitlab-runner is saved at '/usr/local/bin/gitlab-runner'.
Modify the file '/etc/sudoers', find "Defaults secure_path = /sbin:/bin:/usr/sbin:/usr/bin ", change it as "Defaults secure_path = /sbin:/bin:/usr/sbin:/usr/bin:/usr/local/bin"