dscalzi / HeliosLauncher

☀ Custom launcher for modded minecraft written in Electron and Node.js
MIT License
838 stars 1.73k forks source link

Problem with electron/remote. #256

Closed UnMushin closed 1 year ago

UnMushin commented 1 year ago

So... When i launch the launcher with npm start and it displays that :

App threw an error during load
TypeError: process.electronBinding is not a function
    at Object.<anonymous> (/Users/user/Dropbox/My Mac (MacBook Air )/Documents/GitHub/SalvaniaLaunche/node_modules/@electron/remote/dist/main/objects-registry.js:3:24)
    at Module._compile (node:internal/modules/cjs/loader:1120:14)
    at Module._extensions..js (node:internal/modules/cjs/loader:1175:10)
    at Module.load (node:internal/modules/cjs/loader:988:32)
    at Module._load (node:internal/modules/cjs/loader:829:12)
    at c._load (node:electron/js2c/asar_bundle:5:13339)
    at Module.require (node:internal/modules/cjs/loader:1012:19)
    at require (node:internal/modules/cjs/helpers:102:18)
    at Object.<anonymous> (/Users/user/Dropbox/My Mac (MacBook Air)/Documents/GitHub/SalvaniaLaunche/node_modules/@electron/remote/dist/main/server.js:7:44)

My configuration: My OS: macOS 12.6 My node.js : 16.18.0 TLS My electron version : latest

Help me plz

dscalzi commented 1 year ago

run npm install?

dscalzi commented 1 year ago

248