Skip to content

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

@LMCom

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

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