bower ESUDO Cannot be run with sudo
Additional error details:
Since bower is a user command, there is no need to execute it with superuser permissions.
Additional error details:
Since bower is a user command, there is no need to execute it with superuser permissions.
If you're having permission errors when using bower without sudo, please spend a few minutes learning more about how your system should work and make any necessary repairs.
tez-ui/pom.xml
<arguments>
<argument>node_modules/bower/bin/bower</argument>
<argument>install</argument>
<argument> --allow-root</argument> 新加的
<argument>--remove-unnecessary-resolutions=false</argument>
</arguments>