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

crashes when ~/.config/figma-linux/Settings doesn't exist #44

Closed
willejos opened this issue Jun 7, 2019 · 0 comments
Closed

crashes when ~/.config/figma-linux/Settings doesn't exist #44

willejos opened this issue Jun 7, 2019 · 0 comments

Comments

@willejos
Copy link

willejos commented Jun 7, 2019

  • App version: 0.5.1
  • Operating System (Platform and Version): Ubuntu 18.10 (Kubuntu)

Bug description
Added ppa and installed through apt, launched with figma-linux but since ~/.config/figma-linux/Settings file doesn't exist, it crashed.

Stacktrace
A JavaScript error occurred in the main process
Uncaught Exception:
Error: ENOENT: no such file or directory, open '/home/user/.config/figma-linux/Settings'
at Object.openSync (fs.js:436:3)
at Object.module.(anonymous function) [as openSync] (ELECTRON_ASAR.js:160:31)
at Object.writeFileSync (fs.js:1168:35)
at Object.writeFileSync (/opt/figma-linux/resources/app.asar/node_modules/jsonfile/index.js:117:13)
at Settings._ensureSettings (/opt/figma-linux/resources/app.asar/node_modules/electron-settings/lib/settings.js:153:18)
at Settings._readSettings (/opt/figma-linux/resources/app.asar/node_modules/electron-settings/lib/settings.js:192:10)
at Settings._getValueAtKeyPath (/opt/figma-linux/resources/app.asar/node_modules/electron-settings/lib/settings.js:281:22)
at Settings.get (/opt/figma-linux/resources/app.asar/node_modules/electron-settings/lib/settings.js:404:17)
at Object. (/opt/figma-linux/resources/app.asar/main/main.js:1:18900)
at o (/opt/figma-linux/resources/app.asar/main/main.js:1:279)

Additional context
After creating the Settings file manually, figma launched.

ChugunovRoman pushed a commit to ChugunovRoman/electron-settings that referenced this issue Aug 3, 2019
ChugunovRoman pushed a commit to ChugunovRoman/electron-settings that referenced this issue Aug 3, 2019
ChugunovRoman pushed a commit to ChugunovRoman/electron-settings that referenced this issue Aug 3, 2019
ChugunovRoman pushed a commit to ChugunovRoman/electron-settings that referenced this issue Aug 3, 2019
ChugunovRoman pushed a commit to ChugunovRoman/electron-settings that referenced this issue Aug 3, 2019
ChugunovRoman pushed a commit to ChugunovRoman/electron-settings that referenced this issue Aug 3, 2019
ChugunovRoman pushed a commit to ChugunovRoman/electron-settings that referenced this issue Aug 3, 2019
ChugunovRoman pushed a commit to ChugunovRoman/electron-settings that referenced this issue Aug 3, 2019
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

1 participant