atom/atom

Uncaught Error: Module did not self-register: '/Applications/Atom.app/Contents/Resources/app.asar...

alexisbohns opened this issue · 0 comments

Prerequisites

Description

Steps to Reproduce

Expected behavior:

Actual behavior:

Versions

Atom: 1.60.0 x64
Electron: 9.4.4
OS: Unknown macOS version
Thrown From: Atom Core

Stack Trace

Uncaught Error: Module did not self-register: '/Applications/Atom.app/Contents/Resources/app.asar.unpacked/node_modules/keyboard-layout/build/Release/keyboard-layout-manager.node'.

At electron/js2c/asar.js:140

Error: Module did not self-register: '/Applications/Atom.app/Contents/Resources/app.asar.unpacked/node_modules/keyboard-layout/build/Release/keyboard-layout-manager.node'.
    at process.func [as dlopen] (electron/js2c/asar.js:140:31)
    at Object.Module._extensions..node (internal/modules/cjs/loader.js:1034:18)
    at Object.func [as .node] (electron/js2c/asar.js:149:18)
    at Module.load (internal/modules/cjs/loader.js:815:32)
    at Module._load (internal/modules/cjs/loader.js:727:14)
    at Function.Module._load (electron/js2c/asar.js:769:28)
    at Module.require (/app.asar/static/index.js:72:46)
    at require (internal/modules/cjs/helpers.js:74:18)
    at customRequire (/Applications/Atom.app/Contents/Resources/app/static/<embedded>:1:756278)
    at get_KeyboardLayoutManager (/Applications/Atom.app/Contents/Resources/app/static/<embedded>:14:2873999)
    at get_manager (/Applications/Atom.app/Contents/Resources/app/static/<embedded>:14:2874101)
    at Object.getCurrentKeyboardLayout (/Applications/Atom.app/Contents/Resources/app/static/<embedded>:14:2874227)
    at e.keystrokeForKeyboardEvent (/Applications/Atom.app/Contents/Resources/app/static/<embedded>:14:1121316)
    at KeymapManager.keystrokeForKeyboardEvent (/Applications/Atom.app/Contents/Resources/app/static/<embedded>:11:1225566)
    at KeymapManager.handleKeyboardEvent (/Applications/Atom.app/Contents/Resources/app/static/<embedded>:11:1223551)
    at WindowEventHandler.handleDocumentKeyEvent (/Applications/Atom.app/Contents/Resources/app/static/<embedded>:11:286682)

Commands

  6x -0:43.8.0 core:close (atom-pane.pane.active)
     -0:10.1.0 project-find:show (atom-pane.pane)

Non-Core Packages

atom-html-preview 0.2.7 
atom-material-ui 2.1.3 
language-diff 0.7.0 
language-slim 1.0.1 
pigments 0.40.6 

Additional Information