withfig / fig

Public issue tracker for Fig.
https://fig.io
MIT License
2.05k stars 63 forks source link

"TypeError: et.matchAll is not a function…" when opening Settings #1686

Open bumper314 opened 2 years ago

bumper314 commented 2 years ago

Description:

Please include a detailed description of the issue (and an image or screen recording, if applicable)

I finished the walkthrough in fig and Fig.app setup (Accessibility, etc), then I tried to open the Settings from the Fig menu bar icon and these window shows this error:

Something went wrong :(
TypeError: et.matchAll is not a function. (In 'et.matchAll(/[:[\]]/g)', 'et.matchAll' is undefined)
[↺ Try again]

Details:

macOS Fig Shell
10.14.6 Version 1.0.60 (B502) /bin/bash
fig diagnostic

Version 1.0.60 (B502) [U.S.] 
UserShell: /bin/bash
Bundle path: /Applications/Fig.app
Autocomplete: true
Settings.json: true
CLI installed: true
CLI tool path: /Users/XXXXXXX/.fig/bin/fig
Accessibility: true
SSH Integration: false
Tmux Integration: false
iTerm Integration: true 
Hyper Integration: false
VSCode Integration: false
Docker Integration: false
Symlinked dotfiles: false
Only insert on tab: false
UNIX Socket Exists: true
Installation Script: true
PseudoTerminal Path: /usr/local/bin:/usr/bin:/bin:/usr/sbin:/sbin:/Applications/VMware Fusion.app/Contents/Public:/Users/XXXXXXX/.fig/bin:/Users/XXXXXXX/.local/bin:/Users/XXXXXXX/bin:/Users/XXXXXXX/.cargo/bin
SecureKeyboardInput: false
SecureKeyboardProcess: 
Current active process: ??? (???) - ???
Current terminal session: ???
Current working directory: ???
Current window identifier: ???

mschrage commented 2 years ago

I think you may be on a version of macOS that we don't actively support. Can you check what version of Safari is installed on your computer?

bumper314 commented 2 years ago

Safari v12.1.2 (14607.3.9) on macOS 10.14.6. The Fig.app lists support for macOS 10.13+, so if 10.14 really isn't supported, the app should be updated to reflect that.

mschrage commented 2 years ago

Hey @rahulsarathy can you look into adding a polyfill for matchAll on old versions of Safari?

https://caniuse.com/mdn-javascript_builtins_string_matchall