frontend-maven-plugin
frontend-maven-plugin copied to clipboard
yarn build fail when path contains non-ascii character.
trafficstars
I'm using Windows 10 (Chinese edition), maven 3.8.1, frontend-maven-plugin.version=1.12.1.
I found that if the project path contains Chinese characters, it will fail:
......
[INFO] ------------------------------------------------------------------------
[INFO] BUILD FAILURE
[INFO] ------------------------------------------------------------------------
[INFO] Total time: 3.165 s
[INFO] Finished at: 2023-04-11T17:31:57+08:00
[INFO] ------------------------------------------------------------------------
[ERROR] Failed to execute goal com.github.eirslett:frontend-maven-plugin:1.12.1:yarn (yarn build) on project MY_PROJECT_NAME: Failed to run task: 'yarn build' failed. org.apache.commons.exec.ExecuteException: Process exited with an error: 1 (Exit value: 1) -> [Help 1]
[ERROR]
[ERROR] To see the full stack trace of the errors, re-run Maven with the -e switch.
[ERROR] Re-run Maven using the -X switch to enable full debug logging.
[ERROR]
[ERROR] For more information about the errors and possible solutions, please read the following articles:
[ERROR] [Help 1] http://cwiki.apache.org/confluence/display/MAVEN/MojoFailureException
[ERROR]
[ERROR] After correcting the problems, you can resume the build with the command
[ERROR] mvn <args> -rf :advertise-audit-frontend
Process finished with exit code 1
and Japanese character too.