thiagoelg / node-printer

Native node.js printer
132 stars 79 forks source link

Could not detect abi for version 14.2.2 and runtime electron. #30

Closed adamwpe closed 2 years ago

adamwpe commented 2 years ago

I'm trying to update my electron application from 13 to 14, and now this package does not installed:

Error: Could not detect abi for version 14.2.2 and runtime electron. Updating "node-abi" might help solve this issue if it is a new release of electron.

Any ideas?

40x commented 2 years ago

I have the same issue, any suggestions?

TomHoenderdos commented 2 years ago

For me this command helped solving this error: npx uuaw node-abi

thiagoelg commented 2 years ago

Hello everyone! Just release 0.5.7 with new builds for Node up to version 17 and Electron up to 17 (Node ABI 102 and Electron ABI 101).

Let me know if this version fixes the problem for you.

adamwpe commented 2 years ago

Thanks @thiagoelg - it seems to have worked :).

I did need to install 'patch-package' in my package.json to it working.