Skip to content

[Bug]: JS error prevents app from running #733

Closed

Description

@LMCom

Describe the bug

Starting the app produces a message box:
A JavaScript error occurred in the main process

Uncaught Exception:
Error: Cannot find module '../../../../../../shared/notes/internalLinks'
Require stack:

  • /Applications/massCode.app/Contents/Resources/app.asar/build/main/storage/providers/markdown/notes/runtime/graph.js
  • /Applications/massCode.app/Contents/Resources/app.asar/build/main/api/routes/notes-dashboard.js
  • /Applications/massCode.app/Contents/Resources/app.asar/build/main/api/index.js
  • /Applications/massCode.app/Contents/Resources/app.asar/build/main/index.js

at Module._resolveFilename (node:internal/modules/cjs/loader:1232:15)
at s._resolveFilename (node:electron/js2c/browser_init:2:124109)
at Module._load (node:internal/modules/cjs/loader:1058:27)
at c._load (node:electron/js2c/node_init:2:16955)
at Module.require (node:internal/modules/cjs/loader:1318:19)
at require (node:internal/modules/helpers:179:18)
at Object. (/Applications/massCode.app/Contents/Resources/app.asar/build/main/storage/providers/markdown/notes/runtime/graph.js:4:25)
at Module._compile (node:internal/modules/cjs/loader:1484:14)
at Module._extensions..js (node:internal/modules/cjs/loader:1564:10)
at Module.load (node:internal/modules/cjs/loader:1295:32)

To reproduce

  1. Start the app

App Version and Architecture

5.1.0 arm64

System info

System:
    OS: macOS 15.7.1
    CPU: (10) arm64 Apple M1 Pro
    Memory: 124.03 MB / 32.00 GB
    Shell: 5.9 - /bin/zsh

Validations

Activity

  1. mikeingz commented on Apr 9, 2026

    @mikeingz

    Exactly the same error, but on Windows 11

  2. subfighter3 commented on Apr 9, 2026

    @subfighter3

    Same here on M4 Pro Thaoe 🥵

  3. MariusFauteux commented on Apr 9, 2026

    @MariusFauteux

    Exactly the same error on M2 Max 26.3.1, both with massCode-5.1.0.dmg and massCode-5.1.0-arm64.dmg.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions