Skip to content
This repository was archived by the owner on Nov 30, 2020. It is now read-only.
This repository was archived by the owner on Nov 30, 2020. It is now read-only.

Crashing with Electron 11 #2

@Isadorious

Description

@Isadorious

I'm using Electron 11.0.3 and trying to use custom electron titlebar. When trying to start my app, it crashes with the following stack trace. This seems to be related to issue 15 in electron remote electron#15

TypeError: process.electronBinding is not a function
    at Object.<anonymous> (\my-electron-app\node_modules\@treverix\remote\dist\src\main\objects-registry.js:3:24)
    at Module._compile (internal/modules/cjs/loader.js:1152:30)
    at Object.Module._extensions..js (internal/modules/cjs/loader.js:1173:10)
    at Module.load (internal/modules/cjs/loader.js:992:32)
    at Module._load (internal/modules/cjs/loader.js:885:14)
    at Function.f._load (electron/js2c/asar_bundle.js:5:12694)
    at Module.require (internal/modules/cjs/loader.js:1032:19)
    at require (internal/modules/cjs/helpers.js:72:18)
    at Object.<anonymous> (\my-electron-app\node_modules\@treverix\remote\dist\src\main\server.js:8:44)
    at Module._compile (internal/modules/cjs/loader.js:1152:30)

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions