Closed quoctri1 closed 4 weeks ago
If npm install
failed, then there's probably a problem with npm
? You'll see it somewhere in the logs.
I added verbose option in mvn that show releate to CPU thread
You're looking at the wrong part of the build log - try scrolling up a bit! Or send the entire build log...
not really relate to plugin @eirslett or pom config, cause I built by jenkins so multiple agent pods running on the same node in k8s, so when I move it to another node the same resource it will be fine. any recommends if happend in the future?
Maybe a firewall issue on that node?
Absolutely not, cause all nodes in the same subnet, not different anything in network. Just the resources issue or containerd service cause multiple pods in the same node so hit some default litmit. BTW so hard to debug, I didn't see anything.
Could you just nuke the node and set it up from scratch maybe?
Or less invasive, nuke the ~/.npm
folder which is the npm cache, similar to the ~/.m2
folder.
thank you @eirslett, I'll try with that
Suddenly 3 days ago I faced to this issue:
A little confuse, is it require resources or something else in node config?
Thank you so much!!!
[ERROR] Failed to execute goal com.github.eirslett:frontend-maven-plugin:1.10.0:npm (npm install) on project system-manager-ui: Failed to run task: 'npm install' failed. org.apache.commons.exec.ExecuteException: Process exited with an error: 1 (Exit value: 1) -> [Help 1].
IDK why it's weird cause it's just happened sometimes, now I use mvn version 3.6.3, java 11, frontend-maven-plugin: 1.10.0