Uncaught Error: dlopen(/private/var/folders/4m/jgt1xmds7c978cc_9wlw3s940000gn/T/com.github.atom.ShipIt.4Z9tJkPz/Atom.app/Contents/Resources/app.asar.unpacked/node_modules/keyboard-layout/build/Release/keyboard-layout-manager.node, 0x0001): tried: '/private/var/folders/4m/jgt1xmds7c978cc_9wlw3s940000gn/T/com.github.atom.ShipIt.4Z9tJkPz/Atom.app/Contents/Resources/app.asar.unpacked/node_modules/keyboard-layout/build/Release/keyboard-layout-manager.node' (no such file), '/usr/lib/keyboard-layout-manager.node' (no such file)
At electron/js2c/asar.js:140
Error: dlopen(/private/var/folders/4m/jgt1xmds7c978cc_9wlw3s940000gn/T/com.github.atom.ShipIt.4Z9tJkPz/Atom.app/Contents/Resources/app.asar.unpacked/node_modules/keyboard-layout/build/Release/keyboard-layout-manager.node, 0x0001): tried: '/private/var/folders/4m/jgt1xmds7c978cc_9wlw3s940000gn/T/com.github.atom.ShipIt.4Z9tJkPz/Atom.app/Contents/Resources/app.asar.unpacked/node_modules/keyboard-layout/build/Release/keyboard-layout-manager.node' (no such file), '/usr/lib/keyboard-layout-manager.node' (no such file)
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 (/private/var/folders/4m/jgt1xmds7c978cc_9wlw3s940000gn/T/com.github.atom.ShipIt.4Z9tJkPz/Atom.app/Contents/Resources/app/static/<embedded>:1:756278)
at get_KeyboardLayoutManager (/private/var/folders/4m/jgt1xmds7c978cc_9wlw3s940000gn/T/com.github.atom.ShipIt.4Z9tJkPz/Atom.app/Contents/Resources/app/static/<embedded>:14:2872375)
at get_manager (/private/var/folders/4m/jgt1xmds7c978cc_9wlw3s940000gn/T/com.github.atom.ShipIt.4Z9tJkPz/Atom.app/Contents/Resources/app/static/<embedded>:14:2872477)
at Object.getCurrentKeyboardLayout (/private/var/folders/4m/jgt1xmds7c978cc_9wlw3s940000gn/T/com.github.atom.ShipIt.4Z9tJkPz/Atom.app/Contents/Resources/app/static/<embedded>:14:2872603)
at e.keystrokeForKeyboardEvent (/private/var/folders/4m/jgt1xmds7c978cc_9wlw3s940000gn/T/com.github.atom.ShipIt.4Z9tJkPz/Atom.app/Contents/Resources/app/static/<embedded>:14:1119692)
at KeymapManager.keystrokeForKeyboardEvent (/private/var/folders/4m/jgt1xmds7c978cc_9wlw3s940000gn/T/com.github.atom.ShipIt.4Z9tJkPz/Atom.app/Contents/Resources/app/static/<embedded>:11:1225346)
at KeymapManager.handleKeyboardEvent (/private/var/folders/4m/jgt1xmds7c978cc_9wlw3s940000gn/T/com.github.atom.ShipIt.4Z9tJkPz/Atom.app/Contents/Resources/app/static/<embedded>:11:1223331)
at WindowEventHandler.handleDocumentKeyEvent (/private/var/folders/4m/jgt1xmds7c978cc_9wlw3s940000gn/T/com.github.atom.ShipIt.4Z9tJkPz/Atom.app/Contents/Resources/app/static/<embedded>:11:286651)
Originally posted by @ragoboy in https://github.com/atom/atom/issues/23661#issuecomment-1078866591