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


> lint-staged

 

'"node --max-old-space-size=10240"' �����ڲ����ⲿ���Ҳ���ǿ����еij���
�����������
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文件,再次提交就可以了。


免责声明!

本站转载的文章为个人学习借鉴使用,本站对版权不负任何法律责任。如果侵犯了您的隐私权益,请联系本站邮箱yoyou2525@163.com删除。



 
粤ICP备18138465号  © 2018-2025 CODEPRJ.COM