Skip to content

Commit 1960f92

Browse files
authored
Merge pull request #27 from mcvendrell/patch-1
Added an important note to work on clean systems
2 parents 0e4ffba + 7f4cc0d commit 1960f92

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

README.md

+4
Original file line numberDiff line numberDiff line change
@@ -23,6 +23,10 @@ Install library
2323

2424
`npm install ng-thermal-print`
2525

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

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

0 commit comments

Comments
 (0)