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

SWexport error run on ARM64 #483

Open
uncompleted opened this issue May 16, 2023 · 2 comments
Open

SWexport error run on ARM64 #483

uncompleted opened this issue May 16, 2023 · 2 comments

Comments

@uncompleted
Copy link

Describe the bug

I checkout the previous report #162, it's all related to the module: ./binaries/key-linux-arm64

  • [Error message]:

chris@raspberrypi:~/Downloads/sw-exporter-master $ npm start

sw-exporter@0.0.52 start
electron .

App threw an error during load
Error: Cannot find module './binaries/key-linux-arm64'
Require stack:

  • /home/chris/Downloads/sw-exporter-master/app/proxy/smon_decryptor.js

  • /home/chris/Downloads/sw-exporter-master/app/proxy/SWProxy.js

  • /home/chris/Downloads/sw-exporter-master/app/main.js

  • /home/chris/Downloads/sw-exporter-master/node_modules/electron/dist/resources/default_app.asar/main.js

  • at Module._resolveFilename (node:internal/modules/cjs/loader:934:15)
    at Function.n._resolveFilename (node:electron/js2c/browser_init:249:1128)
    at Module._load (node:internal/modules/cjs/loader:779:27)
    at Function.c._load (node:electron/js2c/asar_bundle:5:13331)
    at Module.require (node:internal/modules/cjs/loader:1006:19)
    at require (node:internal/modules/cjs/helpers:93:18)
    at Object. (/home/chris/Downloads/sw-exporter-master/app/proxy/smon_decryptor.js:4:20)
    at Module._compile (node:internal/modules/cjs/loader:1110:14)
    at Object.Module._extensions..js (node:internal/modules/cjs/loader:1140:10)
    at Module.load (node:internal/modules/cjs/loader:982:32)
    A JavaScript error occurred in the main process
    Uncaught Exception:
    Error: Cannot find module './binaries/key-linux-arm64'
    Require stack:

  • /home/chris/Downloads/sw-exporter-master/app/proxy/smon_decryptor.js

  • /home/chris/Downloads/sw-exporter-master/app/proxy/SWProxy.js

  • /home/chris/Downloads/sw-exporter-master/app/main.js

  • /home/chris/Downloads/sw-exporter-master/node_modules/electron/dist/resources/default_app.asar/main.js

  • at Module._resolveFilename (node:internal/modules/cjs/loader:934:15)
    at Function.n._resolveFilename (node:electron/js2c/browser_init:249:1128)
    at Module._load (node:internal/modules/cjs/loader:779:27)
    at Function.c._load (node:electron/js2c/asar_bundle:5:13331)
    at Module.require (node:internal/modules/cjs/loader:1006:19)
    at require (node:internal/modules/cjs/helpers:93:18)
    at Object. (/home/chris/Downloads/sw-exporter-master/app/proxy/smon_decryptor.js:4:20)
    at Module._compile (node:internal/modules/cjs/loader:1110:14)
    at Object.Module._extensions..js (node:internal/modules/cjs/loader:1140:10)
    at Module.load (node:internal/modules/cjs/loader:982:32)

  • [Environment]:
    chris@raspberrypi:~/Downloads/sw-exporter-master $ uname -a
    Linux raspberrypi 6.1.19-v8+ #1637 SMP PREEMPT Tue Mar 14 11:11:47 GMT 2023 aarch64 GNU/Linux

@Xzandro
Copy link
Owner

Xzandro commented May 16, 2023

As long as github does not provide arm64 runners, I do not plan to provide it, sicne it would be quite a hassle to be honest. I personally do not have any device that runs arm64. actions/runner-images#5631

Technically this is also a duplicate issue, but not sure which one I should close.

@Zgrill
Copy link

Zgrill commented Apr 16, 2024

@Xzandro how do you generate or where did you obtain the key-${process.platform}-${process.arch}.node binary files? I am working from an Apple Silicon mac; couldn't get running with arch -x86_64 to work. Happy to try and create/obtain the key-darwin-arm64 file myself, but I don't know where they come from and Google has turned up nothing useful thusfar.

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

3 participants