首页 > Web开发 > 详细

AngularJS项目git提交失败"node --max-old-space-size=10240"

时间:2020-08-17 14:42:31      阅读:324      评论:0      收藏:0      [点我收藏+]
> lint-staged

 

‘"node --max-old-space-size=10240"‘ ????????????????????????е????
?????????????
npm ERR! code ELIFECYCLE
npm ERR! errno 9009
npm ERR! foshan-sp-manage@0.0.0 lint-staged: `lint-staged`
npm ERR! Exit status 9009
npm ERR! 
npm ERR! Failed at the foshan-sp-manage@0.0.0 lint-staged script.
npm ERR! This is probably not a problem with npm. There is likely additional logging output above.

 

npm ERR! A complete log of this run can be found in:
npm ERR!     C:\Users\loring\AppData\Roaming\npm-cache\_logs\2020-08-17T03_27_32_459Z-debug.log
 
问题:
是因为代码不规范导致提交被拒绝了。
解决:
打开.git文件夹找到‘ 文件删除pre-commit文件,再次提交就可以了。

AngularJS项目git提交失败"node --max-old-space-size=10240"

原文:https://www.cnblogs.com/loring-wlh/p/13517224.html

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