-
Notifications
You must be signed in to change notification settings - Fork 880
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.3:yar n (yarn install) on project zeppelin-web #562
Comments
Can you try to run with -X and see if its proxy related issue. Example you might need .bowerc file with proxy See http://stackoverflow.com/questions/21705091/bower-behind-a-proxy |
@jagatsingh Hi Does frontend-maven-plugin support script tag in package.json?
|
i have same issue ㅜㅜ |
I use yarn script from package.json in my project and my pom.xml look ( no run argument ) like this: <execution>
<id>frontend-yarn-script</id>
<goals>
<goal>yarn</goal>
</goals>
<configuration>
<arguments>myscript -- --myscriptargname myscriptargvalue</arguments>
</configuration>
<phase>process-resources</phase>
</execution> |
Hi all. Any update? |
I figured out that only |
@pouu69 You can try something like this
`` |
…failure (BUG) ### What is this PR for? yarn installed by frontend-maven-plugin causes build failure **when there is no nodeJS in local system** To reproduce this bug - Remove system nodejs - Execute `mvn -X clean package -pl 'zeppelin-web' -DskipTests;` #### Details. - yarn installed by frontend-maven-plugin can't run commands described in scripts tag (`package.json`) - it's due to yarn uses npm when run script tags. - so we need to npm as well #### See also #2002 eirslett/frontend-maven-plugin#562 ### What type of PR is it? [Bug Fix] ### Todos * [x] - Rollback yarn to npm * [x] - Update README.md for zeppelin-web ### What is the Jira issue? [ZEPPELIN-2105](https://issues.apache.org/jira/browse/ZEPPELIN-2105) ### How should this be tested? - Remove system nodejs - `mvn -X clean package -pl 'zeppelin-web' -DskipTests;` ### Screenshots (if appropriate) NONE ### Questions: * Does the licenses files need update? - NO * Is there breaking changes for older versions? - NO * Does this needs documentation? - NO Author: 1ambda <[email protected]> Closes #2016 from 1ambda/ZEPPELIN-2105/rollback-yarn-to-npm and squashes the following commits: c2affeb [1ambda] fix: Install npm as well
…failure (BUG) ### What is this PR for? yarn installed by frontend-maven-plugin causes build failure **when there is no nodeJS in local system** To reproduce this bug - Remove system nodejs - Execute `mvn -X clean package -pl 'zeppelin-web' -DskipTests;` #### Details. - yarn installed by frontend-maven-plugin can't run commands described in scripts tag (`package.json`) - it's due to yarn uses npm when run script tags. - so we need to npm as well #### See also #2002 eirslett/frontend-maven-plugin#562 ### What type of PR is it? [Bug Fix] ### Todos * [x] - Rollback yarn to npm * [x] - Update README.md for zeppelin-web ### What is the Jira issue? [ZEPPELIN-2105](https://issues.apache.org/jira/browse/ZEPPELIN-2105) ### How should this be tested? - Remove system nodejs - `mvn -X clean package -pl 'zeppelin-web' -DskipTests;` ### Screenshots (if appropriate) NONE ### Questions: * Does the licenses files need update? - NO * Is there breaking changes for older versions? - NO * Does this needs documentation? - NO Author: 1ambda <[email protected]> Closes #2016 from 1ambda/ZEPPELIN-2105/rollback-yarn-to-npm and squashes the following commits: c2affeb [1ambda] fix: Install npm as well (cherry picked from commit 4fd85f7) Signed-off-by: Lee moon soo <[email protected]>
Hi, how to solve this problem ? |
as a workaround you can go into |
The problem is that https://github.com/apache/zeppelin/blob/master/zeppelin-web/pom.xml#L70-L71 |
I'm from time to time facing again this problem into zeppelin project on |
@andreaTP Which OS do you use? I haven't failed after that fix. |
Today I hit the same issue on centos 7 |
Same problem here. centos7. Using master branch. |
@1ambda Which fix are you referring to? |
Got it, I should use not-root user |
Please help i run into a similar failure when compiling zeppelin-0.7.1: [INFO] Zeppelin: Scio ..................................... SUCCESS [ 43.334 s] |
I am using OSX. @yang0228 The connection failure is due to network problem. If you zeppelin instance is behind of proxy, there is a PR for it. Please test: apache/zeppelin#2363 Otherwise, you need to check your network connection. |
I have also this issue (master branch). [INFO] Installing npm version 4.2.0 If you check with browser and go to https://nodejs.org/dist and try to find npm-4.2.0.tgz, it is not there. |
Sorry, I am using also this apache/zeppelin#2483, so what I commented before might be problem in pull request. |
it turned out that there is a bug into the plugin itself using the deprecated parameter |
Guys, its Sept 22, still have the same issue. |
hi all. I'm also facing this issue. is there any workaround yet ? |
Just discovered that it gets a timeout, when it tries to access angular-viewport-watch error An unexpected error occurred: "https://raw.githubusercontent.com/shahata/angular-viewport-watch/182923b3934e63817b6fc7b640ecb5c4a011f74c/package.json: ETIMEDOUT" I'll post more once I've found a fix |
Hi, |
Failed to execute goal com.github.eirslett:frontend-maven-plugin:1.2:install-node-and-npm (install node and npm) on project dot: The plugin com.github.eirslett:frontend-maven-plugin:1.2 requires Maven version 3.1.0 -> [Help 1] To see the full stack trace of the errors, re-run Maven with the -e switch. For more information about the errors and possible solutions, please read the following articles: But this error occour plz help me |
ok, I will just report my experience, basically what is happening is that there is a connection drop by user or by server while downloading dependencies, and this causes an unrecoverable error. We overcome this limitation by configuring properly a locally cached proxy repository (Artifactory) for all of this packages. |
Maybe we could fetch checksums for node.js/yarn/npm and verify the downloaded package before we extract it... |
than how i can resolve my this error to start work in netbeans for development |
Failed to execute goal com.github.eirslett:frontend-maven-plugin:1.2:install-node-and-npm (install node and npm) on project dot: The plugin com.github.eirslett:frontend-maven-plugin:1.2 requires Maven version 3.1.0 -> [Help 1] |
i got also same issue, it is because of certificate and tried to give download pages (not HTTPS) manually. However, this might not solve your problem if your script is calling another HTTPS download pages.
|
https://stackoverflow.com/a/48070980/470583 hope this helps. |
On my Windows machine the git command was not in $PATH variable which led to the exact same error during build of web Application since npm or bower needs to check out some code. I found out by running mvn command with -e -X for debug. |
Got the same failure on Centos 7. Needed to install bzip2. un-tar of |
Got the same failure with Ubuntu. Can anyone please help? |
@mkhalid12 have you checked my answer on https://stackoverflow.com/a/48070980/470583 |
Hi @Tagar thanks for your reply. But I solved this problem no I have following exception
Can you please help on it ? |
Already I have faced this Issue in Ubuntu. I moved my files to home directory and it will fixed the issue. This issue about permissions check that out |
I have fixed it by removing ~/m2/repository/com/github/eirslett and build again with version 1.6. |
I am also facing the same issue: INFO] --- frontend-maven-plugin:1.6:install-node-and-yarn (install node and yarn) @ common --- |
@mcahornsirup It worked for me with your fix. |
Another successful fix with @mcahornsirup suggestion, thanks! |
try clear |
@vthinkxie I cleared, it worked, thanks! |
I have also this issue [INFO] Installing npm version 10.16.3 I have this error, I need help [ERROR] Failed to execute goal com.github.eirslett:frontend-maven-plugin:1.8.0:npm (webpack build dev) on project app-kibana: Failed to run task: 'npm run webpack:build' failed. org.apache.commons.exec.ExecuteException: Process exited with an error: 2 (Exit value: 2) -> [Help 1] |
Getting this issue while compiling opennms 25.0.0 |
@mcahornsirup |
Same issue on MacOS 10.15.7. |
Dear All' [INFO] Assemblies // Apache Karaf Features ................ SKIPPED |
Hm - i don't seem to have this file locally? |
The text was updated successfully, but these errors were encountered: