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

A JavaScript error occurred in the main process #1

Open
h-teske opened this issue Apr 12, 2022 · 3 comments
Open

A JavaScript error occurred in the main process #1

h-teske opened this issue Apr 12, 2022 · 3 comments
Assignees
Labels
bug Something isn't working question Further information is requested

Comments

@h-teske
Copy link

h-teske commented Apr 12, 2022

Hi, would love to use your app to control my litra glow. Unfortunately I get the following error when opening it on my Mac:

Uncaught Exception: Error: LIBUSB_ERROR_ACCESS at Interface.detachKernelDriver (/private/var/folders/jy/v11m1wcx015dg8vryv8fcdy80000gn/T/AppTranslocation/D9BF59BE-C131-4919-A5CD-9B0B3E1DCCA7/d/litra.app/Contents/Resources/app.asar/node_modules/usb/tsc/usb/interface.ts:127:28) at new t.default (/private/var/folders/jy/v11m1wcx015dg8vryv8fcdy80000gn/T/AppTranslocation/D9BF59BE-C131-4919-A5CD-9B0B3E1DCCA7/d/litra.app/Contents/Resources/app.asar/dist/main/main.js:2:443560) at Object.t.create (/private/var/folders/jy/v11m1wcx015dg8vryv8fcdy80000gn/T/AppTranslocation/D9BF59BE-C131-4919-A5CD-9B0B3E1DCCA7/d/litra.app/Contents/Resources/app.asar/dist/main/main.js:2:447541) at Object.5533 (/private/var/folders/jy/v11m1wcx015dg8vryv8fcdy80000gn/T/AppTranslocation/D9BF59BE-C131-4919-A5CD-9B0B3E1DCCA7/d/litra.app/Contents/Resources/app.asar/dist/main/main.js:2:446430) at r (/private/var/folders/jy/v11m1wcx015dg8vryv8fcdy80000gn/T/AppTranslocation/D9BF59BE-C131-4919-A5CD-9B0B3E1DCCA7/d/litra.app/Contents/Resources/app.asar/dist/main/main.js:2:461750) at /private/var/folders/jy/v11m1wcx015dg8vryv8fcdy80000gn/T/AppTranslocation/D9BF59BE-C131-4919-A5CD-9B0B3E1DCCA7/d/litra.app/Contents/Resources/app.asar/dist/main/main.js:2:461919 at Object.<anonymous> (/private/var/folders/jy/v11m1wcx015dg8vryv8fcdy80000gn/T/AppTranslocation/D9BF59BE-C131-4919-A5CD-9B0B3E1DCCA7/d/litra.app/Contents/Resources/app.asar/dist/main/main.js:2:461949) 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)

@tedall
Copy link

tedall commented Apr 20, 2022

Similar issue running on Win11:

Error: LIBUSB_ERROR_NOT_SUPPORTED
at Interface.isKernelDriverActive (C:\Users\user\AppData\Local\Programs\litra\resources\app.asar\node_modules\usb\tsc\usb\interface.ts:118:28)
at new t.default (C:\Users\user\AppData\Local\Programs\litra\resources\app.asar\dist\main\main.js:2:443533)
at Object.t.create (C:\Users\user\AppData\Local\Programs\litra\resources\app.asar\dist\main\main.js:2:447541)
at Object.5533 (C:\Users\user\AppData\Local\Programs\litra\resources\app.asar\dist\main\main.js:2:446430)
at r (C:\Users\user\AppData\Local\Programs\litra\resources\app.asar\dist\main\main.js:2:461750)
at C:\Users\user\AppData\Local\Programs\litra\resources\app.asar\dist\main\main.js:2:461919
at Object. (C:\Users\user\AppData\Local\Programs\litra\resources\app.asar\dist\main\main.js:2:461949)
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)

@3axap4eHko 3axap4eHko self-assigned this Apr 21, 2022
@3axap4eHko 3axap4eHko added bug Something isn't working question Further information is requested labels Apr 21, 2022
@3axap4eHko
Copy link
Member

@h-teske please try version 0.0.3

@R-E-T on Win11 this is something about USB drivers maybe (maybe not) driver installation via Zadig would help

@tedall
Copy link

tedall commented Apr 22, 2022

The new version 0.0.3 starts on Win11 without error messages. But it still does not work, either with or without the replacement driver via Zadig.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working question Further information is requested
Projects
None yet
Development

No branches or pull requests

3 participants