Welcome to OStack Knowledge Sharing Community for programmer and developer-Open, Learning and Share
Welcome To Ask or Share your Answers For Others

Categories

0 votes
293 views
in Technique[技术] by (71.8m points)

javascript - npm serialport binding not working with tsx file

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

Error Stack

js file fetching serial port

js file fetching serial port

App.tsx file

App.tsx file

question from:https://stackoverflow.com/questions/65683050/npm-serialport-binding-not-working-with-tsx-file

与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…
Welcome To Ask or Share your Answers For Others

1 Answer

0 votes
by (71.8m points)
Waitting for answers

与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…
Welcome to OStack Knowledge Sharing Community for programmer and developer-Open, Learning and Share
Click Here to Ask a Question

...