GitHub user OkamiTsuri edited a discussion: I cant use in Cordova-Electron require
Hi, I'm trying to implement a project using Cordova that should run on both Android and Electron. I've been working on it for a week already, but I keep running into the same problems. I'm trying to use the SerialPort module, but as soon as I try to use require, it immediately says that it's not defined. I've tried all the solutions I could find online, but I've failed again and again. GitHub link: https://github.com/apache/cordova/discussions/547 ---- This is an automatically sent email for [email protected]. To unsubscribe, please send an email to: [email protected] --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected]
