"Maven-node-grunt-gulp-npm-node-plugin to end all maven-node-grunt-gulp-npm-plugins." A Maven plugin that downloads/installs Node and NPM locally, runs NPM install, Grunt, Gulp and/or Karma.
I spent today finding the cause of
[ERROR] Failed to execute goal com.github.eirslett:frontend-maven-plugin:1.12.1:yarn (yarn install) on project mywebapp: Failed to run task: 'yarn ' failed. org.apache.commons.exec.ExecuteException: Process exited with an error: 1 (Exit value: 1) -> [Help 1]
I spent today finding the cause of
[ERROR] Failed to execute goal com.github.eirslett:frontend-maven-plugin:1.12.1:yarn (yarn install) on project mywebapp: Failed to run task: 'yarn ' failed. org.apache.commons.exec.ExecuteException: Process exited with an error: 1 (Exit value: 1) -> [Help 1]
and this issue with line 218 of the parse.js https://github.com/yarnpkg/yarn/issues/613
With config
It seems this file was to blame
~/.yarnrc
. It was probably corrupted after the machine lost power during a build. After removing it I could rebuild.Why is this file being written to the user home folder? That puts it out of control of the clean phase.