Member since
12-28-2020
1
Post
0
Kudos Received
0
Solutions
03-17-2021
07:09 AM
您好,请看一看下面的解决办法[1]: "12. Error If npm is executed under the root account, it will change the uid to the current account, or the value of the uid is obtained from the user configuration file, and the default value of uid is nobody. So when you run npm install under the root account, you need to change unsafe-perm Option plus. Solve (and then re-edit): # find ~/.m2/repository/ -name "*.lastUpdated" -exec rm -rf {} \; # mvn -B clean install rpm:rpm -DnewVersion=2.7.3.0.0 -DskipTests -Dpython.ver="python >= 2.6" -Drat.skip=true -X -rf :ambari-admin" [1] https://www.programmersought.com/article/72684156755/
... View more