carloslfu / figma-app-linux

Unofficial Figma desktop app rebuild for Linux users.
86 stars 4 forks source link

ENOENT Error when executing .AppImage #10

Open ohhskar opened 5 years ago

ohhskar commented 5 years ago

I downloaded the .AppImage and made it executable using chmod +x. After running, I get this error:

{ Error: ENOENT: no such file or directory, open '/home/ohhskar/.figma_desktop_settings.json'
    at Object.fs.openSync (fs.js:646:18)
    at Object.module.(anonymous function) [as openSync] (ELECTRON_ASAR.js:166:20)
    at Object.fs.readFileSync (fs.js:551:33)
    at Object.fs.readFileSync (ELECTRON_ASAR.js:538:29)
    at readSettings (/tmp/.mount_Figma-lOgKTf/resources/app.asar/settings.js:12:25)
    at Object.<anonymous> (/tmp/.mount_Figma-lOgKTf/resources/app.asar/settings.js:33:19)
    at Object.<anonymous> (/tmp/.mount_Figma-lOgKTf/resources/app.asar/settings.js:35:3)
    at Module._compile (module.js:642:30)
    at Object.Module._extensions..js (module.js:653:10)
    at Module.load (module.js:561:32)
  errno: -2,
  code: 'ENOENT',
  syscall: 'open',
  path: '/home/ohhskar/.figma_desktop_settings.json' }

Creating an empty file at the path specified in the error results in this error:

SyntaxError: Unexpected end of JSON input
    at JSON.parse (<anonymous>)
    at readSettings (/tmp/.mount_Figma-4M8HQO/resources/app.asar/settings.js:13:27)
    at Object.<anonymous> (/tmp/.mount_Figma-4M8HQO/resources/app.asar/settings.js:33:19)
    at Object.<anonymous> (/tmp/.mount_Figma-4M8HQO/resources/app.asar/settings.js:35:3)
    at Module._compile (module.js:642:30)
    at Object.Module._extensions..js (module.js:653:10)
    at Module.load (module.js:561:32)
    at tryModuleLoad (module.js:504:12)
    at Function.Module._load (module.js:496:3)
    at Module.require (module.js:586:17)

My Setup is the following: npm v5.6.0 node 8.11.2 Manjaro Linux 4.19.0-4