首页 > 其他 > 详细

Jenkins在H5编译加密过程中一个报错

时间:2019-10-29 16:44:34      阅读:102      评论:0      收藏:0      [点我收藏+]

################################

 背景:开发环境在编译H5的时候出现了以下报错,记录下 

################################

 

D:\Jenkins\workspace\stock_frontend_feature_7.03_deploy_to_132>"C:\Program Files\nodejs\npm" install --registry=https://registry.npm.taobao.org
npm WARN deprecated swig@1.4.2: This package is no longer maintained
npm WARN deprecated browserslist@2.11.3: Browserslist 2 could fail on reading Browserslist >3.0 config used in other tools.
npm WARN deprecated gulp-util@3.0.8: gulp-util is deprecated - replace it, following the guidelines at https://medium.com/gulpjs/gulp-util-ca3b1f9f9ac5
npm WARN deprecated gulp-util@2.2.20: gulp-util is deprecated - replace it, following the guidelines at https://medium.com/gulpjs/gulp-util-ca3b1f9f9ac5
npm WARN deprecated browserslist@1.7.7: Browserslist 2 could fail on reading Browserslist >3.0 config used in other tools.
npm WARN deprecated circular-json@0.3.3: CircularJSON is in maintenance only, flatted is its successor.
npm WARN deprecated minimatch@2.0.10: Please update to minimatch 3.0.2 or higher to avoid a RegExp DoS issue
npm WARN deprecated core-js@1.2.7: core-js@<2.6.8 is no longer maintained. Please, upgrade to core-js@3 or at least to actual version of core-js@2.
npm WARN deprecated minimatch@0.2.14: Please update to minimatch 3.0.2 or higher to avoid a RegExp DoS issue
npm WARN deprecated graceful-fs@1.2.3: please upgrade to graceful-fs 4 for compatibility with current and future versions of Node.js
npm ERR! code 128
npm ERR! Command failed: C:\Program Files\Git\cmd\git.EXE clone --depth=1 -q -b patch-1 git://github.com/tunnckoCore/body-parsers.git C:\Users\Administrator\AppData\Roaming\npm-cache\_cacache\tmp\git-clone-d30b04db --config core.longpaths=true
npm ERR! warning: templates not found C:\Users\ADMINI~1\AppData\Local\Temp\2\pacote-git-template-tmp\git-clone-18733d6a
npm ERR! fatal: read error: Invalid argument
npm ERR!

npm ERR! A complete log of this run can be found in:
npm ERR! C:\Users\Administrator\AppData\Roaming\npm-cache\_logs\2019-10-21T02_52_53_413Z-debug.log
Build step ‘Execute Windows batch command‘ marked build as failure
Archiving artifacts
Finished: FAILURE

 

################

# 解决办法:更换npm源 #

################

Jenkins在H5编译加密过程中一个报错

原文:https://www.cnblogs.com/herui1991/p/11758995.html

(0)
(0)
   
举报
评论 一句话评论(0
关于我们 - 联系我们 - 留言反馈 - 联系我们:wmxa8@hotmail.com
© 2014 bubuko.com 版权所有
打开技术之扣,分享程序人生!