Electron requires an update to support Apple M1

Open
#111 1 comment 8 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Assessment

Difficulty
2/5
Estimated time
1-3 hours
Newbie friendliness
35/100
Issue type
Bug
Clarity
Mostly clear
Activity status
Stale
Tech stack
electron, javascript
Domain
desktop

Research direction

Start by reproducing yarn add -D mobx-devtools on an Apple M1 system and inspect the dependency metadata that selects Electron 10.1.3. Done means the installation no longer requests the unavailable darwin-arm64 archive and completes successfully.

Written by the indexing model from the issue text.

Description

Running yarn add -D mobx-devtools throws an error:

HTTPError: Response code 404 (Not Found) for https://github.com/electron/electron/releases/download/v10.1.3/electron-v10.1.3-darwin-arm64.zip
    at EventEmitter.<anonymous> (/Users/david/dev/kiosk/node_modules/got/source/as-stream.js:35:24)
    at EventEmitter.emit (events.js:400:28)
    at module.exports (/Users/david/dev/kiosk/node_modules/got/source/get-response.js:22:10)
    at ClientRequest.handleResponse (/Users/david/dev/kiosk/node_modules/got/source/request-as-event-emitter.js:155:5)
    at Object.onceWrapper (events.js:520:26)
    at ClientRequest.emit (events.js:412:35)
    at ClientRequest.origin.emit (/Users/david/dev/kiosk/node_modules/@szmarczak/http-timer/source/index.js:37:11)

Looks like this dependency should be updated

Dominant language
JavaScript
Stars
502
Forks
34
PR merge metrics
No merged PRs in 30d

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.

More from mobxjs/mobx-devtools

All issues in mobxjs/mobx-devtools

Similar issues

More JavaScript issues

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.