We want to serial port communication using existing angular2 project.

I installed the following.
npm install serialport --save
npm install @types/serialport --save


import { SerialPort } from 'serialport' in component.ts
serialPort: typeof SerialPort;

now we got undefined from serialPort.
and got the Can't resolve 'child_process' node_modules\@serialport\bindings\lib 
 error for get port.
any one can help.

You received this message because you are subscribed to the Google Groups 
"Angular and AngularJS discussion" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to angular+unsubscr...@googlegroups.com.
To view this discussion on the web visit 

Reply via email to