Package Details: drawio-desktop-git 26.0.15.r3.g932e6af-1

Git Clone URL: https://aur.archlinux.org/drawio-desktop-git.git (read-only, click to copy)
Package Base: drawio-desktop-git
Description: A diagramming and whiteboarding desktop app based on Electron that wraps the core draw.io editor.(Use system-wide electron)
Upstream URL: https://www.diagrams.net/
Keywords: diagram-editor drawio drawio-desktop electron-app graphics javascript-applications
Licenses: Apache-2.0
Conflicts: drawio-desktop
Provides: drawio-desktop
Submitter: zxp19821005
Maintainer: zxp19821005
Last Packager: zxp19821005
Votes: 2
Popularity: 0.25
First Submitted: 2023-10-17 09:55 (UTC)
Last Updated: 2025-02-26 02:23 (UTC)

Latest Comments

jamespo commented on 2025-02-18 11:35 (UTC)

Works for me too now - thank you!

Diota commented on 2025-02-17 10:55 (UTC)

@zxp19821005 Now it can be built correctly in my PC. Thanks!👍

zxp19821005 commented on 2025-02-17 03:45 (UTC)

@Diota @jamespo I've moved electronDist="/usr/lib/electron${_electronversion}" from prepare to build, and built well on my PC.Will you please try again?

Diota commented on 2025-02-15 10:50 (UTC) (edited on 2025-02-15 12:29 (UTC) by Diota)

@zxp19821005 @jamespo I encountered the same problem. After checking drawio-desktop.git/dist/linux-unpacked, I found that the electron builder repeatedly nested the dist/linux-unpacked directory, causing nested compilation until the Java heap was filled. This seems to be due to electronList not being set correctly:

NODE_ENV=production     yarn electron-builder --linux dir -c.electronDist="${electronDist}" --config electron-builder-linux-mac.json

I solved this problem after making modifications:

NODE_ENV=production     yarn electron-builder --linux dir --config electron-builder-linux-mac.json -c.electronDist="${electronDist}"

Just swapped compilation options to ensure -c.electronDist="${electronDist} take effect after specifying the file electron-builder-linux-mac.json To be honest, I dont understand the root cause of this mistake. The pkgbuild configuration should not cause this problem.

zxp19821005 commented on 2025-02-07 01:55 (UTC)

@jamespo I havn't met the problem, will you please try again?

jamespo commented on 2025-02-06 14:30 (UTC)

Fails for me with "FATAL ERROR: Reached heap limit Allocation failed - JavaScript heap out of memory"

Shouldn't be system memory, I have plenty of that

zxp19821005 commented on 2023-11-08 01:07 (UTC)

@alexz Thanks for your feedback,fixed it.

alexz commented on 2023-11-07 22:01 (UTC) (edited on 2023-11-07 22:01 (UTC) by alexz)

The installation fails with:

(...)
electron-builder --config electron-builder-linux-mac.json --publish never
  • electron-builder  version=24.6.4 os=6.5.9-arch2-1
  • loaded configuration  file=/tmp/yaourt-tmp-<userid>/aur-drawio-desktop-git/src/drawio-desktop.git/electron-builder-linux-mac.json
  • writing effective config  file=dist/builder-effective-config.yaml
  • skipped dependencies rebuild  reason=npmRebuild is set to false
  • packaging       platform=linux arch=x64 electron=25.8.4 appOutDir=dist/linux-unpacked
  • skipping "afterSign" hook as no signing occurred, perhaps you intended "afterPack"?
  • building        target=AppImage arch=x64 file=dist/draw.io-x86_64-22.0.3.AppImage
  • skipped dependencies rebuild  reason=npmRebuild is set to false
  • packaging       platform=linux arch=arm64 electron=25.8.4 appOutDir=dist/linux-arm64-unpacked
  • skipping "afterSign" hook as no signing occurred, perhaps you intended "afterPack"?
  • building        target=AppImage arch=arm64 file=dist/draw.io-arm64-22.0.3.AppImage
Done in 53.31s.
==> Entering fakeroot environment...
==> Starting package()...
install: cannot stat '/tmp/yaourt-tmp-<userid>/aur-drawio-desktop-git/src/drawio-desktop.desktop': No such file or directory
==> ERROR: A failure occurred in package().
    Aborting...
==> ERROR: Makepkg was unable to build drawio-desktop-git.