简体   繁体   中英

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

Use in main.ts on ipcRender calling in contextBridge, this work for me

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM