Skip to content

Node.JS >=14 errors with "Module did not self-register" #224

Description

@Half-Shot

Can be reproduced by doing:

➜  element-desktop git:(develop) ✗ node 
Welcome to Node.js v14.7.0.
Type ".help" for more information.
> const DBus = require("dbus");
Uncaught:
Error: Module did not self-register: '/home/-/git/element-desktop/node_modules/dbus/build/Release/dbus.node'.
    at Object.Module._extensions..node (internal/modules/cjs/loader.js:1307:18)
    at Module.load (internal/modules/cjs/loader.js:1105:32)
    at Function.Module._load (internal/modules/cjs/loader.js:967:14)
    at Module.require (internal/modules/cjs/loader.js:1145:19)
    at require (internal/modules/cjs/helpers.js:75:18)
> 

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

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