canonical/snapcraft.io

Drawio does not start anymore

mydeveloperplanet opened this issue · 1 comments

Expected behaviour

Drawio starts

Steps to reproduce the problem

  1. Install drawio via snap
  2. start drawio
  3. Nothing happens
  4. start a terminal
  5. enter drawio
  6. The following error occurs
A JavaScript error occurred in the main process
Uncaught Exception:
SystemError [ERR_SYSTEM_ERROR]: A system error occurred: uv_os_get_passwd returned ENOENT (no such file or directory)
    at new SystemError (node:internal/errors:259:5)
    at new NodeError (node:internal/errors:370:7)
    at Object.userInfo (node:os:365:11)
    at file:///snap/drawio/214/resources/app.asar/node_modules/atomically/dist/constants.js:10:29
    at ModuleJob.run (node:internal/modules/esm/module_job:218:25)
    at async ModuleLoader.import (node:internal/modules/esm/loader:329:24)
    at async node:electron/js2c/browser_init:2:125628
    at async loadESM (node:internal/process/esm_loader:28:7)

When I install drawio by downloading the .deb package https://github.com/jgraph/drawio-desktop/releases/tag/v24.4.8 everything works fine.

Specs

  • URL:
  • Operating system: Ubuntu 22.04.4 LTS
  • Browser:

I ran into exactly the same problem. Same OS, same error, same workaround.