Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Can someone help? I love this program and I'm a green horn developer Error report for keycombiner 0.8.0 #85

Closed
SecretHelper opened this issue May 28, 2022 · 1 comment

Comments

@SecretHelper
Copy link

Error Message: *Cannot find module 'ffi-napi'
Require stack:

  • C:\Users\andyl\AppData\Local\Programs\keycombiner\resources\app.asar\node_modules\active-win\lib\windows.js
  • C:\Users\andyl\AppData\Local\Programs\keycombiner\resources\app.asar\node_modules\active-win\index.js
  • C:\Users\andyl\AppData\Local\Programs\keycombiner\resources\app.asar\main.js

Trace:

Error: Cannot find module 'ffi-napi'
Require stack:
- C:\Users\andyl\AppData\Local\Programs\keycombiner\resources\app.asar\node_modules\active-win\lib\windows.js
- C:\Users\andyl\AppData\Local\Programs\keycombiner\resources\app.asar\node_modules\active-win\index.js
- C:\Users\andyl\AppData\Local\Programs\keycombiner\resources\app.asar\main.js
- 
    at Module._resolveFilename (node:internal/modules/cjs/loader:940:15)
    at Function.n._resolveFilename (node:electron/js2c/browser_init:249:1128)
    at Module._load (node:internal/modules/cjs/loader:785:27)
    at Function.c._load (node:electron/js2c/asar_bundle:5:13331)
    at Module.require (node:internal/modules/cjs/loader:1012:19)
    at require (node:internal/modules/cjs/helpers:94:18)
    at Object.<anonymous> (C:\Users\andyl\AppData\Local\Programs\keycombiner\resources\app.asar\node_modules\active-win\lib\windows.js:4:13)
    at Module._compile (node:internal/modules/cjs/loader:1116:14)
    at Object.Module._extensions..js (node:internal/modules/cjs/loader:1169:10)
    at Module.load (node:internal/modules/cjs/loader:988:32)

OS: Windows NT 10.0.22000

@tkainrad
Copy link
Owner

Hi,

I am glad you like KeyCombiner! Thanks a lot for bringing this to my attention. Funnily enough, yesterday's 0.8.0 release was the first that I didn't explicitly test on Windows also 🙈

If anyone is interested, the problem was that GitHub now uses a new Windows image which has problems with building native packages for Node. Fixed it by temporarily reverting to the old windows-2019 image for the build pipeline. More context in this thread.

For Windows, there is now a new KeyCombiner Desktop version 0.8.1 which should fix your problem. Please update as usual.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants