node-printer icon indicating copy to clipboard operation
node-printer copied to clipboard

Cannot find module './node_printer_darwin_x64.node'

Open xiaadmin opened this issue 2 years ago • 3 comments

import {getPrinters} from 'printer'; getPrinters();

when i run getPrinters Function. tip: Cannot find module './node_printer_darwin_x64.node'

i run code in electron 11

who can help me?

xiaadmin avatar Mar 13 '22 15:03 xiaadmin

@tojocky

xiaadmin avatar Mar 13 '22 15:03 xiaadmin

Did you solve it?

yuanquan8 avatar Mar 17 '23 09:03 yuanquan8

The same problem here, only with windows, it is building but it is not copying to the "lib" folder. I don't know where to go with this.

Feeh03114 avatar Jun 29 '23 12:06 Feeh03114