> 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文件,再次提交就可以了。
posted on 2020-08-17 13:55  眼看就到三十三  阅读(1403)  评论(0)    收藏  举报