Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Failed to execute goal com.github.eirslett:frontend-maven-plugin:1.11.3:yarn (yarn install) on project rocketmq-dashboard: Failed to run task #263

Open
Grayson1024 opened this issue Jan 3, 2025 · 0 comments

Comments

@Grayson1024
Copy link

如题,Front-End的yarn install根本就过不去,我本地已经开了魔法了,是全局的shadowsoc...

[INFO] Installed node locally.
[INFO] Installing Yarn version v1.22.10
[INFO] Unpacking F:\maven-local-repository\com\github\eirslett\yarn\1.22.10\yarn-1.22.10.tar.gz into H:\Projects\Labs\rocketmq-dashboard-rocketmq-dashboard-2.0.0\target\node\yarn
[INFO] Installed Yarn locally.
[INFO]
[INFO] --- frontend:1.11.3:yarn (yarn install) @ rocketmq-dashboard ---
[INFO] Running 'yarn install' in H:\Projects\Labs\rocketmq-dashboard-rocketmq-dashboard-2.0.0\frontend
[INFO] yarn install v1.22.10
[INFO] warning package-lock.json found. Your project contains lock files generated by tools other than Yarn. It is advised not to mix package managers in order to avoid resolution inconsistencies caused by unsynchronized lock files. To clear this warning, remove package-lock.json.
[INFO] [1/4] Resolving packages...
[INFO] [2/4] Fetching packages...
[INFO] info There appears to be trouble with your network connection. Retrying...
[INFO] info There appears to be trouble with your network connection. Retrying...
[INFO] info There appears to be trouble with your network connection. Retrying...
[INFO] info There appears to be trouble with your network connection. Retrying...
[INFO] info There appears to be trouble with your network connection. Retrying...
[INFO] info There appears to be trouble with your network connection. Retrying...
[INFO] info There appears to be trouble with your network connection. Retrying...
[INFO] error An unexpected error occurred: "https://registry.yarnpkg.com/run-parallel/-/run-parallel-1.2.0.tgz: EPERM: operation not permitted, open 'C:\Users\Giter\AppData\Local\Yarn\Cache\v6\npm-run-parallel-1.2.0-66d1368da7bdf921eb9d95bd1a9229e7f21a43ee-integrity\node_modules\run-parallel\.yarn-tarball.tgz'".
[INFO] error An unexpected error occurred: "https://registry.yarnpkg.com/run-parallel/-/run-parallel-1.2.0.tgz: EPERM: operation not permitted, open 'C:\Users\Giter\AppData\Local\Yarn\Cache\v6\npm-run-parallel-1.2.0-66d1368da7bdf921eb9d95bd1a9229e7f21a43ee-integrity\node_modules\run-parallel\.yarn-tarball.tgz'".info If you think this is a bug, please open a bug report with the information provided in "H:\Projects\Labs\rocketmq-dashboard-rocketmq-dashboard-2.0.0\frontend\yarn-error.log".
[INFO] info Visit https://yarnpkg.com/en/docs/cli/install for documentation about this command.
[INFO] info There appears to be trouble with your network connection. Retrying...
[INFO] ------------------------------------------------------------------------
[INFO] BUILD FAILURE
[INFO] ------------------------------------------------------------------------
[INFO] Total time: 02:38 min
[INFO] Finished at: 2025-01-03T22:06:20+08:00
[INFO] ------------------------------------------------------------------------
[ERROR] Failed to execute goal com.github.eirslett:frontend-maven-plugin:1.11.3:yarn (yarn install) on project rocketmq-dashboard: Failed to run task: 'yarn install' 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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant