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 occured in the main process? #622

Closed
Sushid00 opened this issue Apr 18, 2022 · 2 comments
Closed

A javascript error occured in the main process? #622

Sushid00 opened this issue Apr 18, 2022 · 2 comments

Comments

@Sushid00
Copy link

Hi, i just installed Razer-macos but when i launch it it gives me a error?
https://imgur.com/a/0im0iHh
here is the error message i get

@eDave56
Copy link

eDave56 commented May 4, 2022

I get the same error when I try to run Razer macOS 0.4.6-0.4.9 on macOS 10.14.6. I tried cloning the source and building the project with XCode 10.3 CLI with release.sh, but it was missing dependencies (like yarn). Trying to add those dependencies with homebrew failed because they aren't supporting 10.14, which I get, but it's kind of frustrating. And yes, I have some 32-bit applications I still use that are too slow in a Parallels 10.14.6 VM - that's the only thing holding me back from upgrading my 2012 MacBook Pro to the highest version of macOS it can handle.

If any kind soul would be willing to hold my hand through installing dependencies and using release.sh to build Razer macOS, I'd be grateful. Or if someone has a build of 0.4.9 that's working on macOS 10.14.6 and would be willing to share, that would also be awesome.

Here's the text I could copy from the error I got and that @Sushid00 captured as image:

A JavaScript error occurred in the main process

Uncaught Exception:
Error: Cannot open /Applications/Razer macOS 0.4.9.app/Contents/Resources/app-x64.asar/addon.node: Error: dlopen(/var/folders/3b/f_7mrfw90b558bd5_ftll51w0000gp/T/.com.electron.razer-macos.nFtGD2, 1): no suitable image found.  Did find:
	/var/folders/3b/f_7mrfw90b558bd5_ftll51w0000gp/T/.com.electron.razer-macos.nFtGD2: cannot load '.com.electron.razer-macos.nFtGD2' (load command 0x80000034 is unknown)
	/var/folders/3b/f_7mrfw90b558bd5_ftll51w0000gp/T/.com.electron.razer-macos.nFtGD2: stat() failed with errno=17
    at Object.<anonymous> (/Applications/Razer macOS 0.4.9.app/Contents/Resources/app-x64.asar/webpack:/build/Release/addon.node:1:159)
    at Object.call (/Applications/Razer macOS 0.4.9.app/Contents/Resources/app-x64.asar/main.js:1:1721)
    at require (/Applications/Razer macOS 0.4.9.app/Contents/Resources/app-x64.asar/webpack:/webpack/bootstrap:19:22)
    at Module.call (/Applications/Razer macOS 0.4.9.app/Contents/Resources/app-x64.asar/webpack:/src/driver/index.js:4:16)
    at require (/Applications/Razer macOS 0.4.9.app/Contents/Resources/app-x64.asar/webpack:/webpack/bootstrap:19:22)
    at Object.call (/Applications/Razer macOS 0.4.9.app/Contents/Resources/app-x64.asar/webpack:/src/main/index.js:3:25)
    at __webpack_require__ (/Applications/Razer macOS 0.4.9.app/Contents/Resources/app-x64.asar/webpack:/webpack/bootstrap:19:22)
    at Object.call (/Applications/Razer macOS 0.4.9.app/Contents/Resources/app-x64.asar/main.js:1:1489)
    at __webpack_require__ (/Applications/Razer macOS 0.4.9.app/Contents/Resources/app-x64.asar/webpack:/webpack/bootstrap:19:22)
    at /Applications/Razer macOS 0.4.9.app/Contents/Resources/app-x64.asar/webpack:/webpack/bootstrap:83:10

@eDave56
Copy link

eDave56 commented May 4, 2022

I should have searched for this before since there are a couple of other threads, though apparently no solutions to date. Yes, there was mention of 10.14 users building the app themselves, but I don't see that anyone fixed it except by upgrading to Catalina. Here are the other threads I found:

#500
#576

@Sushid00 Sushid00 closed this as completed Jun 3, 2022
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