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

Fail to launch on windows sandbox #70

Closed
KarbitsCode opened this issue Oct 26, 2024 · 2 comments
Closed

Fail to launch on windows sandbox #70

KarbitsCode opened this issue Oct 26, 2024 · 2 comments
Labels

Comments

@KarbitsCode
Copy link

KarbitsCode commented Oct 26, 2024

Hi,
I'm trying to push this application to winget, but it fails at manual validation by moderator (microsoft/winget-pkgs#185437 (comment)), which apparently reproduceable in some virtual machines (like windows sandbox and hyper-v).

I have tested in some other newer version like 0.6.6 and latest version 1.0.0 gives the exact same error as mentioned above. So, I'm assuming all the other version are affected.

Screenshot 2024-10-26 210349

Here's the full error from the dialog:

Uncaught Exception:
Error: The specified module could not be found.
\\?\C:\Users\WDAGUtilityAccount\AppData\Local\Temp\72b47b83-a544-4500-97e1-112f34bda46c.tmp.node
    at process.func [as dlopen] (node:electron/js2c/node_init:2:2559)
    at Module._extensions..node (node:internal/modules/cjs/loader:1470:18)
    at Object.func [as .node] (node:electron/js2c/node_init:2:2786)
    at Module.load (node:internal/modules/cjs/loader:1215:32)
    at Module._load (node:internal/modules/cjs/loader:1031:12)
    at c._load (node:electron/js2c/node_init:2:17025)
    at Module.require (node:internal/modules/cjs/loader:1240:19)
    at require (node:internal/modules/helpers:179:18)
    at Object.<anonymous> (C:\Program Files\WakaTime\resources\app.asar\node_modules\@miniben90\x-win\index.js:72:29)
    at Module._compile (node:internal/modules/cjs/loader:1373:14)

Is there any way to workaround this?

@KarbitsCode
Copy link
Author

I have also got a different but similar error with the 32-bit version.

Screenshot 2024-12-04 092147

Uncaught Exception:
Error: Cannot find module '@miniben90/x-win-win32-ia32-msvc'
Require stack:
- C:\Users\WDAGUtilityAccount\AppData\Local\Programs\WakaTime\resources\app.asar\node_modules\@miniben90\x-win\index.js
- C:\Users\WDAGUtilityAccount\AppData\Local\Programs\WakaTime\resources\app.asar\dist-electron\main.js
- 
    at Module._resolveFilename (node:internal/modules/cjs/loader:1152:15)
    at s._resolveFilename (node:electron/js2c/browser_init:2:123374)
    at Module._load (node:internal/modules/cjs/loader:993:27)
    at c._load (node:electron/js2c/node_init:2:17025)
    at Module.require (node:internal/modules/cjs/loader:1240:19)
    at require (node:internal/modules/helpers:179:18)
    at Object.<anonymous> (C:\Users\WDAGUtilityAccount\AppData\Local\Programs\WakaTime\resources\app.asar\node_modules\@miniben90\x-win\index.js:86:29)
    at Module._compile (node:internal/modules/cjs/loader:1373:14)
    at Module._extensions..js (node:internal/modules/cjs/loader:1432:10)
    at Module.load (node:internal/modules/cjs/loader:1215:32)

@alanhamlett
Copy link
Member

@KarbitsCode please upgrade to the latest version, you're using an outdated release.

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

No branches or pull requests

2 participants