Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Uncaught TypeError: remote.dialog.showMessageBox(...).then is not a function #139

Open
xavier-at-github opened this issue Jan 9, 2021 · 2 comments

Comments

@xavier-at-github
Copy link

[Enter steps to reproduce:]

  1. ...
  2. ...

Atom: 1.48.0 x64
Electron: 5.0.13
OS: Linux Mint
Thrown From: tabletopsimulator-lua package 12.4.3

Stack Trace

Uncaught TypeError: remote.dialog.showMessageBox(...).then is not a function

At /home/xavier/.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 (/usr/share/atom/resources/app/static/<embedded>:11:349786)
    at CommandRegistry.dispatch (/usr/share/atom/resources/app/static/<embedded>:11:348261)
    at AtomEnvironment.dispatchContextMenuCommand (/usr/share/atom/resources/app/static/<embedded>:1:726038)
    at EventEmitter.t (/usr/share/atom/resources/app/static/<embedded>:1:734044)
    at EventEmitter.emit (events.js:194:13)

Commands

     -0:41.8.0 tabletopsimulator-lua:openSaveFile (span.syntax--support.syntax--function.syntax--any-method.syntax--lua)
     -0:24 symbols-view:go-to-declaration (span.syntax--support.syntax--function.syntax--any-method.syntax--lua)
     -0:17 tabletopsimulator-lua:getObjects (span.syntax--support.syntax--function.syntax--any-method.syntax--lua)

Non-Core Packages

Dev undefined 
tabletopsimulator-lua 12.4.3 
@Benjamin-Dobell
Copy link
Member

If you update, both Atom and the TTS plugin, then this should go away.

@eggdropsoap
Copy link

This is happening again now that the latest TTS version is ahead of the latest plugin release.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants