eirslett / frontend-maven-plugin

"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.
Apache License 2.0
4.22k stars 868 forks source link

[ERROR][JHIPSTER] Failed to execute goal com.github.eirslett:frontend-maven-plugin:1.10.0:npm (npm install) on project adminrifa: Failed to run task: 'npm install' failed. org.apache.commons.exec.ExecuteException: Process exited with an error: 1 (Exit value: 1) -> [Help 1] #956

Closed ciberastro closed 3 years ago

ciberastro commented 3 years ago

[INFO] --- frontend-maven-plugin:1.10.0:install-node-and-npm (install node and npm) @ adminrifa --- [INFO] Node v14.15.4 is already installed. [INFO] NPM 7.5.2 is already installed. [INFO] [INFO] --- frontend-maven-plugin:1.10.0:npm (npm install) @ adminrifa --- [INFO] Running 'npm install' in C:\Users\overd\odrive\OneDrive\Programacion\adminrifa [INFO] npm ERR! code ERESOLVE [INFO] npm ERR! ERESOLVE unable to resolve dependency tree [INFO] npm ERR! [INFO] npm ERR! While resolving: adminrifa@0.0.1-SNAPSHOT [INFO] npm ERR! Found: @angular/core@10.0.0 [INFO] npm ERR! node_modules/@angular/core [INFO] npm ERR! @angular/core@"10.0.0" from the root project [INFO] npm ERR! [INFO] npm ERR! Could not resolve dependency: [INFO] npm ERR! peer @angular/core@"^9.0.0" from @fortawesome/angular-fontawesome@0.6.1 [INFO] npm ERR! node_modules/@fortawesome/angular-fontawesome [INFO] npm ERR! @fortawesome/angular-fontawesome@"0.6.1" from the root project [INFO] npm ERR! [INFO] npm ERR! Fix the upstream dependency conflict, or retry [INFO] npm ERR! this command with --force, or --legacy-peer-deps [INFO] npm ERR! to accept an incorrect (and potentially broken) dependency resolution. [INFO] npm ERR! [INFO] npm ERR! See C:\Users\overd\AppData\Local\npm-cache\eresolve-report.txt for a full report. [INFO] [INFO] npm ERR! A complete log of this run can be found in: [INFO] npm ERR! C:\Users\overd\AppData\Local\npm-cache\_logs\2021-02-07T12_36_07_554Z-debug.log [INFO] ------------------------------------------------------------------------ [INFO] BUILD FAILURE [INFO] ------------------------------------------------------------------------ [INFO] Total time: 59.750 s [INFO] Finished at: 2021-02-07T07:36:08-05:00 [INFO] ------------------------------------------------------------------------ [ERROR] Failed to execute goal com.github.eirslett:frontend-maven-plugin:1.10.0:npm (npm install) on project adminrifa: Failed to run task: 'npm 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

eirslett commented 3 years ago

Looks like a problem with npm. What happens if you run npm install directly?