Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Electron error when running the command "yarn" on M1 Chip Mac React Native #1790

Open
JeanRoca opened this issue May 5, 2021 · 1 comment
Labels
bug Something is broken external-issue Generated Code Template code that is generated react native WTS Platform
Milestone

Comments

@JeanRoca
Copy link

JeanRoca commented May 5, 2021

Describe the bug
This is an error a user is able to see when attempting to install the yarn packages for their React Native project on a Mac with an M1 chip.

To Reproduce
Steps to reproduce the behavior:

  1. Clone this project: git clone --branch Mockup-ReactNative https://github.com/microsoft/WebTemplateStudio.git
  2. Go to your react native app root directory
  3. Run yarn
  4. See the following error:
    image
    (Error is Response code 404 (Not Found) for https://github.com/electron/electron/releases/download/v9.4.4/electron-v9.4.4-darwin-arm64.zip)

Expected behavior
Yarn should install the packages without erroring

Additional context
This link contains the workaround that solved the issue for me. It seems to be specific to Macs with the M1 chip
https://stackoverflow.com/questions/66884720/response-code-404-not-found-for-https-github-com-electron-electron-releases

@JeanRoca JeanRoca added the bug Something is broken label May 5, 2021
@ghost ghost added the needs-triage For new issues that are raised to get reviewed by internal Microsoft employees label May 5, 2021
@JeanRoca
Copy link
Author

JeanRoca commented May 5, 2021

I realize this might not be the appropriate place for this, but at least it can serve as a "known issues" for people that might encounter it :)

@prupipho prupipho added external-issue Generated Code Template code that is generated react native WTS Platform and removed needs-triage For new issues that are raised to get reviewed by internal Microsoft employees labels May 6, 2021
@prupipho prupipho added this to the Backlog milestone Jun 23, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something is broken external-issue Generated Code Template code that is generated react native WTS Platform
Projects
None yet
Development

No branches or pull requests

2 participants