Atom: 1.40.0 x64
Electron: 3.1.10
OS: Microsoft Windows 10 Pro
Thrown From: tabletopsimulator-lua package 12.4.3
Stack Trace
Uncaught TypeError: remote.dialog.showMessageBox(...).then is not a function
At C:\Users\Melle\.atom\packages\tabletopsimulator-lua\lib\tabletopsimulator-lua.coffee:1223
TypeError: remote.dialog.showMessageBox(...).then is not a function
at Object.getObjects (/packages/tabletopsimulator-lua/lib/tabletopsimulator-lua.coffee:1223:8)
at /packages/tabletopsimulator-lua/lib/tabletopsimulator-lua.coffee:901:100)
at CommandRegistry.handleCommandEvent (~/AppData/Local/atom/app-1.40.0/resources/app/static/<embedded>:11:349123)
at CommandRegistry.dispatch (~/AppData/Local/atom/app-1.40.0/resources/app/static/<embedded>:11:347598)
at AtomEnvironment.dispatchApplicationMenuCommand (~/AppData/Local/atom/app-1.40.0/resources/app/static/<embedded>:1:757879)
at EventEmitter.t (~/AppData/Local/atom/app-1.40.0/resources/app/static/<embedded>:1:765802)
at EventEmitter.emit (events.js:182:13)
Yeah, this is super annoying. Electron broke backward compatibility and Atom bumped its version. Rather than downgrading this plugin, you should instead upgrade Atom to the latest release 1.52.
[Enter steps to reproduce:]
Atom: 1.40.0 x64 Electron: 3.1.10 OS: Microsoft Windows 10 Pro Thrown From: tabletopsimulator-lua package 12.4.3
Stack Trace
Uncaught TypeError: remote.dialog.showMessageBox(...).then is not a function
Commands
Non-Core Packages
Not sure why but showMessageBox() apparently did not return a promise object. I Downgraded my version so I would not get this error anymore