Vikunja Desktop Debian Package 0.24.6 Crashes #2062

Closed
opened 2026-03-22 13:54:00 -05:00 by GiteaMirror · 1 comment
Owner

Originally created by @nosbig on GitHub (Jan 10, 2025).

Description

I am self-hosting 0.24.6 on a public VPS and upgraded the package to 0.24.6. After doing so, the startup of the Desktop app crashes with an error about missing the body-parser module.

A JavaScript error occurred in the main process
Uncaught Exception:
Error: Cannot find module 'body-parser'
Require stack:

  • /opt/Vikunja Desktop/resources/app.asar/node_modules/express/lib/express.js
  • /opt/Vikunja Desktop/resources/app.asar/node_modules/express/index.js
  • /opt/Vikunja Desktop/resources/app.asar/main.js
  • at Module._resolveFilename (node:internal/modules/cjs/loader:1055:15)
    at s._resolveFilename (node:electron/js2c/browser_init:2:115690)
    at Module._load (node:internal/modules/cjs/loader:908:27)
    at c._load (node:electron/js2c/node_init:2:13672)
    at Module.require (node:internal/modules/cjs/loader:1122:19)
    at require (node:internal/modules/helpers:130:18)
    at Object. (/opt/Vikunja Desktop/resources/app.asar/node_modules/express/lib/express.js:15:18)
    at Module._compile (node:internal/modules/cjs/loader:1256:14)
    at Module._extensions..js (node:internal/modules/cjs/loader:1311:10)
    at Module.load (node:internal/modules/cjs/loader:1098:32)

If I downgrade to the 0.24.4 package and allow the internal update process pull the 0.24.6 code from my server, the Desktop package works flawlessly and retains the 0.24.6 update locally. However, upgrading to the 0.24.6 Debian package consistently throws that error for me on Debian 12 Stable.

Vikunja Version

0.24.6

Browser and version

Desktop Package - Deb

Can you reproduce the bug on the Vikunja demo site?

Yes

Screenshots

No response

Originally created by @nosbig on GitHub (Jan 10, 2025). ### Description I am self-hosting 0.24.6 on a public VPS and upgraded the package to 0.24.6. After doing so, the startup of the Desktop app crashes with an error about missing the body-parser module. --- A JavaScript error occurred in the main process Uncaught Exception: Error: Cannot find module 'body-parser' Require stack: - /opt/Vikunja Desktop/resources/app.asar/node_modules/express/lib/express.js - /opt/Vikunja Desktop/resources/app.asar/node_modules/express/index.js - /opt/Vikunja Desktop/resources/app.asar/main.js - at Module._resolveFilename (node:internal/modules/cjs/loader:1055:15) at s._resolveFilename (node:electron/js2c/browser_init:2:115690) at Module._load (node:internal/modules/cjs/loader:908:27) at c._load (node:electron/js2c/node_init:2:13672) at Module.require (node:internal/modules/cjs/loader:1122:19) at require (node:internal/modules/helpers:130:18) at Object.<anonymous> (/opt/Vikunja Desktop/resources/app.asar/node_modules/express/lib/express.js:15:18) at Module._compile (node:internal/modules/cjs/loader:1256:14) at Module._extensions..js (node:internal/modules/cjs/loader:1311:10) at Module.load (node:internal/modules/cjs/loader:1098:32) --- If I downgrade to the 0.24.4 package and allow the internal update process pull the 0.24.6 code from my server, the Desktop package works flawlessly and retains the 0.24.6 update locally. However, upgrading to the 0.24.6 Debian package consistently throws that error for me on Debian 12 Stable. ### Vikunja Version 0.24.6 ### Browser and version Desktop Package - Deb ### Can you reproduce the bug on the Vikunja demo site? Yes ### Screenshots _No response_
Author
Owner

@nosbig commented on GitHub (Jan 10, 2025):

This appears to be a duplicate of #387. Closing.

@nosbig commented on GitHub (Jan 10, 2025): This appears to be a duplicate of #387. Closing.
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: github-starred/vikunja#2062