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 run install-node-and-yarn #815

Open
IvanSilaev opened this issue May 16, 2019 · 4 comments
Open

Failed to run install-node-and-yarn #815

IvanSilaev opened this issue May 16, 2019 · 4 comments

Comments

@IvanSilaev
Copy link

IvanSilaev commented May 16, 2019

Hi,

I'm trying to execute mvn frontend-maven-plugin:1.7.6:install-node-and-yarn command and it's fails with this message

image
Translate: Unable to run this application on your PC.

[INFO] --- frontend-maven-plugin:1.7.6:install-node-and-yarn (install node and yarn) @ SpringTodoApplication --- [INFO] Installing node version v10.15.3 [INFO] Copying node binary from C:\Users\suchbaka\.m2\repository\com\github\eirslett\node\10.15.3\node-10.15.3-win-x64.exe to C:\SpringTodoApplication\target\node\node.exe [INFO] Installed node locally. [INFO] Installing Yarn version v1.16.0 [INFO] Unpacking C:\Users\suchbaka\.m2\repository\com\github\eirslett\yarn\1.16.0\yarn-1.16.0.tar.gz into C:\SpringTodoApplication\target\node\yarn [INFO] Installed Yarn locally. [INFO] [INFO] --- frontend-maven-plugin:1.7.6:yarn (yarn install) @ SpringTodoApplication --- [INFO] Running 'yarn install' in C:\SpringTodoApplication\src\main\client [ERROR] �⪠���� � ����㯥. [INFO] ------------------------------------------------------------------------ [INFO] BUILD FAILURE [INFO] ------------------------------------------------------------------------ [INFO] Total time: 02:08 min [INFO] Finished at: 2019-05-16T12:27:44+03:00 [INFO] Final Memory: 26M/337M [INFO] ------------------------------------------------------------------------ [ERROR] Failed to execute goal com.github.eirslett:frontend-maven-plugin:1.7.6:yarn (yarn install) on project SpringTodoApplication: Failed to run task: 'yarn install' failed. org.apache.commons.exec.ExecuteException: Process exited with an error: 1 (Exit value: 1) -> [Help 1]

Windows 10, 64-bit, Java 8

@eirslett
Copy link
Owner

Maybe you have antivirus set up that doesn't like node.js?

@ArpitVarshney18
Copy link

ArpitVarshney18 commented Sep 3, 2020

@eirslett I'm also getting the same error in windows 10.
Antivirus is turned off and running the maven command using admin.

@dzunik91
Copy link

dzunik91 commented Sep 4, 2020

@eirslett same here, I think I tried almost everything to run it.

@jouhami
Copy link

jouhami commented Aug 24, 2023

I'm facing the same issue.

frontend-maven-plugin : 1.13.4
node : v18.17.1
yarn : v1.22.19
windows : 10

Works perfectly if I run as admin.

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

5 participants