microsoft / microsoft/pxt

Autoupdate failure on mac

Open
#8,105 1 comment 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Dominant language
TypeScript
Stars
2.3k
Forks
641
Avg merge
12h 4m
Merged PRs (30d)
57

Description

Micro:bit offline app worked well on my mac, but last few days I get the error message:

ReferenceError: status is not defined
at autoupdaterError (/Applications/MakeCode for microbit.app/Contents/Resources/app/out/src/updater/updateService.js:152:43)
at AutoUpdater. (/Applications/MakeCode for microbit.app/Contents/Resources/app/out/src/updater/updateService.js:123:13)
at Object.onceWrapper

Also I tried to download zip from official download page, but it seems the zip file is corrupted. Mac is not able to open it and on my PC it can upzip, but gives some warning errors.

Contributor guide

Open the contributing guide

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 with out/src/updater/updateService.js around autoupdaterError at line 152 and the AutoUpdater callback near line 123, then reproduce the macOS update failure. Also inspect the official download archive behavior on macOS and Windows; done means the updater no longer raises the reported ReferenceError and the downloaded zip opens without warnings.

Written by the indexing model from the issue text.

Assessment

Tech stack
macos, typescript
Domain
desktop, release
Issue type
Bug
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.