<1>本地执行npm run build--正常 <2>查看环境变量--正常 [root@localhost bin]# echo $PATH /usr/local/node/bin:/usr/local/nginx/sbin:/usr/local/node/bin: <3>将shell中的script的npm command换成绝对路径 报错:/usr/bin/env: node: No such file or directory 解决办法: 添加node软链接:l…
When I tried to restart iptables from vps , I got the following error. Iptables encountered such a problem to save the iptables rules: “iptables: Saving firewall rules to /etc/sysconfig/iptables: /etc/init.d/iptables: line 268: restorecon: command no…