编程语言
首页 > 编程语言> > AngularJS项目git提交失败"node --max-old-space-size=10240"

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文件,再次提交就可以了。

标签:node,npm,git,old,ERR,0.0,lint,staged
来源: https://www.cnblogs.com/loring-wlh/p/13517224.html