Binding error serialport module with typescript in Electron-React App
I am building an electron app using react. While running serialport module I'm getting error related to binding. Tried few boilerplates too and all provided solution.
One more thing I want to add, it works fine in normal js file but dont work in tsx file
Error Stack
js file fetching serial port
App.tsx file
与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…