Recently I update electron version from 9 to 10 and after updated getting this error on debug mode only when I downgrade to 9 it\'s working correctly
Deleted Node_Module