max-mapper / max-mapper/monu

Javascript Error in main process on startup

Open
#41 0 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Dominant language
CSS
Stars
1.1k
Forks
69
PR merge metrics
No merged PRs in 30d

Description

TypeError: Cannot read property 'length' of null
    at SyncWriteStream.write (fs.js:2059:38)
    at Object.execFileSync (child_process.js:494:20)
    at Object.module.(anonymous function) [as execFileSync] (ATOM_SHELL_ASAR.js:162:18)
    at pathFromShellSync (/Applications/Monu.app/Contents/Resources/app/node_modules/fix-path/node_modules/shell-path/index.js:51:28)
    at Function.module.exports.sync (/Applications/Monu.app/Contents/Resources/app/node_modules/fix-path/node_modules/shell-path/index.js:33:11)
    at module.exports (/Applications/Monu.app/Contents/Resources/app/node_modules/fix-path/index.js:9:31)
    at Object.<anonymous> (/Applications/Monu.app/Contents/Resources/app/index.js:13:20)
    at Module._compile (module.js:425:26)
    at Object.Module._extensions..js (module.js:432:10)
    at Module.load (module.js:356:32)```

Contributor guide

No contributing guide indexed for this repository

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start at index.js:13 and trace the startup call through fix-path and shell-path/index.js:33-51, using the reported execFileSync stack as the guide. Reproduce the macOS startup error and identify why a null value reaches SyncWriteStream.write. Done means the app starts without this uncaught exception.

Written by the indexing model from the issue text.

Assessment

Tech stack
javascript
Domain
desktop
Issue type
Bug
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
25/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.