electron-pos-printer
electron-pos-printer copied to clipboard
Get TimedOut Error In Electron 13 and React
Thank for developing this module, but i got time out error Can you help me to fix this problem ?
i have the same error
i have the same error
我有同样的错误 are you solve the problem?
i have the same error
when i use electron version 13,make this error,I use the verson 11 to instead it,slove the error,you can try it
We need to edit pos-printer.ts and compile again (or) edit pos-printer.js in dist directly. Add webPreferences: { nodeIntegration: true, contextIsolation: false, } in line no.91 (new BrowserWindow)
is there's an update ?
how exactly?
is there's an update ?
https://github.com/Hubertformin/electron-pos-printer/issues/60#issuecomment-1068271541
We need to edit pos-printer.ts and compile again (or) edit pos-printer.js in dist directly. Add webPreferences: { nodeIntegration: true, contextIsolation: false, } in line no.91 (new BrowserWindow)
how exactly?
https://github.com/Hubertformin/electron-pos-printer/issues/60#issuecomment-1068271541
@Hubertformin @sidneip @jfamousket Please create a new release with the fix from https://github.com/Hubertformin/electron-pos-printer/pull/53
go to node modules in your project =>electron-pos-printer=>dist(folder) => need to edit pos-printer.ts and compile again (or) edit pos-printer.js directly.in line no.91 (new BrowserWindow) Add webPreferences: { nodeIntegration: true, contextIsolation: false, }
then it will work :-) happy printing
@janafsal Sorry but changing node_modules files is not the way to go. It won't work if the project gets built via github actions or from other people's pc's (they would also have to manually make the change).
We need to edit pos-printer.ts and compile again (or) edit pos-printer.js in dist directly. Add webPreferences: { nodeIntegration: true, contextIsolation: false, } in line no.91 (new BrowserWindow)
It is working!!
Hello @everyone This issue has been fixed, it is not compatible with the latest version of electron