Uncaught Error: Module did not self-register.

[Enter steps to reproduce:]

Atom: 1.50.0 x64
Electron: 5.0.13
OS: Mac OS X 10.14.5
Thrown From: Atom Core

Stack Trace

Uncaught Error: Module did not self-register.

At electron/js2c/asar.js:138

Error: Module did not self-register.
    at process.func [as dlopen] (electron/js2c/asar.js:138:31)
    at Object.Module._extensions..node (internal/modules/cjs/loader.js:881:18)
    at Object.func [as .node] (electron/js2c/asar.js:147:18)
    at Module.load (internal/modules/cjs/loader.js:701:32)
    at tryModuleLoad (internal/modules/cjs/loader.js:633:12)
    at Function.Module._load (internal/modules/cjs/loader.js:625:3)
    at Module.require (/app.asar/static/index.js:72:46)
    at require (internal/modules/cjs/helpers.js:14:16)
    at customRequire (/Applications/Atom.app/Contents/Resources/app/static/<embedded>:1:695414)
    at get_KeyboardLayoutManager (/Applications/Atom.app/Contents/Resources/app/static/<embedded>:14:2715520)
    at get_manager (/Applications/Atom.app/Contents/Resources/app/static/<embedded>:14:2715622)
    at Object.getCurrentKeyboardLayout (/Applications/Atom.app/Contents/Resources/app/static/<embedded>:14:2715748)
    at e.keystrokeForKeyboardEvent (/Applications/Atom.app/Contents/Resources/app/static/<embedded>:14:1047867)
    at KeymapManager.keystrokeForKeyboardEvent (/Applications/Atom.app/Contents/Resources/app/static/<embedded>:11:1228085)
    at KeymapManager.handleKeyboardEvent (/Applications/Atom.app/Contents/Resources/app/static/<embedded>:11:1226070)
    at WindowEventHandler.handleDocumentKeyEvent (/Applications/Atom.app/Contents/Resources/app/static/<embedded>:11:284829)

Commands

  2x -0:11.5.0 core:select-all (input.hidden-input)
     -0:03.5.0 core:copy (input.hidden-input)

Non-Core Packages

atom-beautify 0.33.4 
atom-vue 0.6.0 
busy-signal 2.0.1 
ide-typescript 0.9.1 
intentions 1.1.5 
language-solidity 0.1.1 
linter 2.0.0 
linter-eslint 8.5.5 
linter-gcc 0.9.0 
linter-gcc2 0.8.8 
linter-pycodestyle 2.1.3 
linter-ruby 1.3.1 
linter-solidity 0.5.0 
linter-tslint 1.10.38 
linter-ui-default 1.8.0 
python-autopep8 0.1.3 

2 thoughts on “Uncaught Error: Module did not self-register.

  1. Pingback: hotel bellaire

Uncaught Error: Module did not self-register.

[Enter steps to reproduce:]

  1. while downloading files from ftp using remote-ftp plugin
  2. every type on the keyboard rasise error

Atom: 1.46.0 x64
Electron: 4.2.7
OS: Mac OS X 10.15.4
Thrown From: Atom Core

Stack Trace

Uncaught Error: Module did not self-register.

At ELECTRON_ASAR.js:160

Error: Module did not self-register.
    at process.module.(anonymous function) [as dlopen] (ELECTRON_ASAR.js:160:31)
    at Object.Module._extensions..node (internal/modules/cjs/loader.js:722:18)
    at Object.module.(anonymous function) [as .node] (ELECTRON_ASAR.js:169:18)
    at Module.load (internal/modules/cjs/loader.js:602:32)
    at tryModuleLoad (internal/modules/cjs/loader.js:541:12)
    at Function.Module._load (internal/modules/cjs/loader.js:533:3)
    at Module.require (/app.asar/static/index.js:72:46)
    at require (internal/modules/cjs/helpers.js:20:18)
    at customRequire (/Applications/Atom.app/Contents/Resources/app/static/<embedded>:1:695134)
    at get_KeyboardLayoutManager (/Applications/Atom.app/Contents/Resources/app/static/<embedded>:14:2778162)
    at get_manager (/Applications/Atom.app/Contents/Resources/app/static/<embedded>:14:2778264)
    at Object.getCurrentKeyboardLayout (/Applications/Atom.app/Contents/Resources/app/static/<embedded>:14:2778390)
    at e.keystrokeForKeyboardEvent (/Applications/Atom.app/Contents/Resources/app/static/<embedded>:14:1081110)
    at KeymapManager.keystrokeForKeyboardEvent (/Applications/Atom.app/Contents/Resources/app/static/<embedded>:11:1253631)
    at KeymapManager.handleKeyboardEvent (/Applications/Atom.app/Contents/Resources/app/static/<embedded>:11:1251616)
    at WindowEventHandler.handleDocumentKeyEvent (/Applications/Atom.app/Contents/Resources/app/static/<embedded>:11:284744)

Commands

     -3:25.3.0 remote-ftp:download-selected (li.directory.entry.list-nested-item.collapsed.selected)
     -0:46 find-and-replace:show (input.hidden-input)
     -0:45.2.0 editor:consolidate-selections (input.hidden-input)
     -0:42.7.0 core:copy (input.hidden-input)
     -0:39.7.0 find-and-replace:show (input.hidden-input)
     -0:29.4.0 editor:consolidate-selections (input.hidden-input)
     -0:11.5.0 core:paste (button.btn)

Non-Core Packages

atom-beautify 0.33.4 
atom-debug-ui 1.0.4 
atom-ide-ui 0.13.0 
autoclose-html 0.23.0 
autoclose-html-plus 0.27.2 
autocomplete-html-entities 0.2.0 
busy-signal 2.0.1 
docksend 1.3.0 
git-plus 8.7.1 
html-tag-auto-complete 0.1.1 
hyperclick-php 0.3.0 
ide-html 0.6.0 
ide-php 0.7.18 
intentions 1.1.5 
linter 2.3.1 
linter-php 1.6.1 
linter-ui-default 1.8.1 
php-cs-fixer 4.1.1 
php-debug 0.3.5 
remote-ftp 2.2.4 
transmit 1.5.0 

1 possible answer(s) on “Uncaught Error: Module did not self-register.

  1. Seeing the same error while attempting to edit a Markdown doc.
    image

    Using Latest Atom:
    image

    This was working fine yesterday. Today it’s unusable. 😞

    Edit: No longer seeing the error after quitting Atom and re-starting. ♻️

Uncaught Error: Module did not self-register.

[Enter steps to reproduce:]

Atom: 1.40.1 x64
Electron: 3.1.10
OS: Mac OS X 10.14.3
Thrown From: Atom Core

Stack Trace

Uncaught Error: Module did not self-register.

At ELECTRON_ASAR.js:166

Error: Module did not self-register.
    at process.module.(anonymous function) [as dlopen] (ELECTRON_ASAR.js:166:20)
    at Object.Module._extensions..node (internal/modules/cjs/loader.js:740:18)
    at Object.module.(anonymous function) [as .node] (ELECTRON_ASAR.js:180:18)
    at Module.load (internal/modules/cjs/loader.js:620:32)
    at tryModuleLoad (internal/modules/cjs/loader.js:559:12)
    at Function.Module._load (internal/modules/cjs/loader.js:551:3)
    at Module.require (/app.asar/static/index.js:72:46)
    at require (internal/modules/cjs/helpers.js:20:18)
    at customRequire (/Applications/Atom.app/Contents/Resources/app/static/<embedded>:1:688158)
    at get_KeyboardLayoutManager (/Applications/Atom.app/Contents/Resources/app/static/<embedded>:14:2744622)
    at get_manager (/Applications/Atom.app/Contents/Resources/app/static/<embedded>:14:2744724)
    at Object.getCurrentKeyboardLayout (/Applications/Atom.app/Contents/Resources/app/static/<embedded>:14:2744850)
    at e.keystrokeForKeyboardEvent (/Applications/Atom.app/Contents/Resources/app/static/<embedded>:14:1087821)
    at KeymapManager.keystrokeForKeyboardEvent (/Applications/Atom.app/Contents/Resources/app/static/<embedded>:11:1246932)
    at KeymapManager.handleKeyboardEvent (/Applications/Atom.app/Contents/Resources/app/static/<embedded>:11:1244917)
    at WindowEventHandler.handleDocumentKeyEvent (/Applications/Atom.app/Contents/Resources/app/static/<embedded>:11:284329)

Commands

     -0:11.2.0 core:close (atom-pane.pane.active)

Non-Core Packages

busy-signal 2.0.1 
electron-highlighter-syntax 2.2.2 
fold-functions 0.11.0 
goto-definition 1.3.4 
intentions 1.1.5 
linter 2.3.1 
linter-eslint 8.5.5 
linter-ui-default 1.8.0 
sort-lines 0.19.0 
sorter 1.3.0 

1 possible answer(s) on “Uncaught Error: Module did not self-register.