Skip to content

Commit

Permalink
Added an important note to work on clean systems
Browse files Browse the repository at this point in the history
  • Loading branch information
mcvendrell authored Oct 15, 2020
1 parent 0e4ffba commit 7f4cc0d
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -23,6 +23,10 @@ Install library

`npm install ng-thermal-print`

NOTE: if when compiling project you get an error like this:
`ERROR in node_modules/ng-thermal-print/lib/drivers/UsbDriver.d.ts:16:30 - error TS2304: Cannot find name 'USBDevice'. requestUsb(): Observable;`
then add reference to w3c-web-usb by installing it with command: `npm install @types/w3c-web-usb --only=dev`

Import into your application

import { BrowserModule } from '@angular/platform-browser';
Expand Down

0 comments on commit 7f4cc0d

Please sign in to comment.