Ошибка npm в angular2-webpack-starter@6.0.0 при запуске mvn install - PullRequest
0 голосов
/ 13 декабря 2018

во время работы mvn clean install в проекте angular 2 я получаю эту ошибку. Может кто-нибудь сказать, что это за ошибка и как ее исправить?

[ERROR] npm ERR! code ELIFECYCLE
[ERROR] npm ERR! errno 3221225477
[ERROR] npm ERR! angular2-webpack-starter@6.0.0 webpack: `node --max_old_space_size=4096 node_modules/webpack/bin/webpack.js "--config" "config/webpack.prod.js" "--progress" "--profile" "--bail"`
[ERROR] npm ERR! Exit status 3221225477
[ERROR] npm ERR!
[ERROR] npm ERR! Failed at the angular2-webpack-starter@6.0.0 webpack script.
[ERROR] npm ERR! This is probably not a problem with npm. There is likely additional logging output above.
[ERROR]
[ERROR] npm ERR! A complete log of this run can be found in:
[ERROR] npm ERR!     C:\Users\mnaaraayanan\AppData\Roaming\npm-cache\_logs\2018-12-13T10_07_02_059Z-debug.log
[ERROR] npm ERR! code ELIFECYCLE
[ERROR] npm ERR! errno 3221225477
[ERROR] npm ERR! angular2-webpack-starter@6.0.0 build:prod: `npm run clean:dist && npm run webpack -- --config config/webpack.prod.js  --progress --profile --bail`
[ERROR] npm ERR! Exit status 3221225477
[ERROR] npm ERR!
[ERROR] npm ERR! Failed at the angular2-webpack-starter@6.0.0 build:prod script.
[ERROR] npm ERR! This is probably not a problem with npm. There is likely additional logging output above.
[ERROR]
[ERROR] npm ERR! A complete log of this run can be found in:
[ERROR] npm ERR!     C:\Users\mnaaraayanan\AppData\Roaming\npm-cache\_logs\2018-12-13T10_07_02_404Z-debug.log
[INFO] ------------------------------------------------------------------------
[INFO] BUILD FAILURE
[INFO] ------------------------------------------------------------------------
[INFO] Total time: 07:18 min
[INFO] Finished at: 2018-12-13T15:37:03+05:30
[INFO] ------------------------------------------------------------------------
[ERROR] Failed to execute goal com.github.eirslett:frontend-maven-plugin:1.0:npm (npm run build) on project adminconsole: Failed to run task: 'npm run build:prod' failed. (error code -1073741819) -> [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
...