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