With idea development front-end project often submit occurs when performing VCS refresh, lead to submit code will not come up, because too much node_modules also follow to submit, baidu over methods are said to export file, the local changes of bad code is solved, groped after a few days, to get an effective way,
1, the project node_module package delete
2, restart the idea
3, submit code, may submit failure, abnormal lint, should trigger the code review mechanism, install dependencies: NPM install - save - dev pre - commit
4 and resubmit, submit a few times more successful,