docker jenkins 自动部署vue项目
Run npm audit
for details.
default@0.1.0 build
vue-cli-service build
sh: 1: vue-cli-service: Permission denied
npm ERR! code 126
npm ERR! path /var/jenkins_home/workspace/vue_machineChange
npm ERR! command failed
npm ERR! command sh -c vue-cli-service build
npm ERR! A complete log of this run can be found in:
npm ERR! /root/.npm/_logs/2022-01-11T02_06_39_208Z-debug.log
Build step 'Execute shell' marked build as failure
Finished: FAILURE
网上说的设置chmod 777 -R ,但是马上就是出现找不到vue-cli-service.js