'Module not found: Can't resolve 'child_process' while using Electron React Boilerplate

I am trying to use electron react boilerplate to make a desktop application. However, whenever I try to use python-shell, I get "Module not found: Can't resolve 'child_process'" in my directory. How can I fix this, or is it even possible to use these native modules from electron react boilerplate



Sources

This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.

Source: Stack Overflow

Solution Source