I installed the following.
npm install serialport --save
npm install @types/serialport --save
and
import { SerialPort } from 'serialport' in component.ts
serialPort: typeof SerialPort;
Can't resolve 'child_process' node_modules\@serialport\bindings\lib
now we got undefined from serialPort.
and got theerror 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+u...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/angular/768646a7-f0bb-48db-b22f-1219140df2b1%40googlegroups.com.
--
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+u...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/angular/07b803ec-7f84-4472-a647-b57ff0c28d13%40googlegroups.com.