responsively-org / responsively-app

A modified web browser that helps in responsive web development. A web developer's must have dev-tool.
https://responsively.app
GNU Affero General Public License v3.0
22.41k stars 1.13k forks source link

Error when trying to download dependencies #672

Open LauraAbCoronel opened 2 years ago

LauraAbCoronel commented 2 years ago

šŸž bug report

āœļø Description

Error occurs when I try to install dependencies running yarn in the terminal

šŸ•µšŸ¼ā€ā™‚ļø Is this a regression?

No

šŸ”¬ Minimal Reproduction

I forked and cloned the repo. In the terminal after navigating to desktop-app I try to run yarn and an error occurs.

šŸŒ Your Environment

macOS Monterey v12.3.1
M1 chip

šŸ”„ Exception or Error or Screenshot


kirby@Lauras-MacBook-Pro desktop-app % yarn
yarn install v1.22.18
[1/4] šŸ”  Resolving packages...
[2/4] šŸšš  Fetching packages...
[3/4] šŸ”—  Linking dependencies...
warning " > eslint-config-airbnb@17.1.1" has incorrect peer dependency "eslint-plugin-jsx-a11y@^6.2.3".
warning "eslint-plugin-jest > @typescript-eslint/experimental-utils > @typescript-eslint/typescript-estree > tsutils@3.17.1" has unmet peer dependency "typescript@>=2.8.0 || >= 3.2.0-dev || >= 3.3.0-dev || >= 3.4.0-dev || >= 3.5.0-dev || >= 3.6.0-dev || >= 3.6.0-beta || >= 3.7.0-dev || >= 3.7.0-beta".
warning " > stylelint-config-prettier@4.0.0" has incorrect peer dependency "stylelint@^9.1.1".
warning " > stylelint-config-standard@18.3.0" has incorrect peer dependency "stylelint@^8.3.0 || ^9.0.0 || ^10.0.0".
warning "stylelint-config-standard > stylelint-config-recommended@2.2.0" has incorrect peer dependency "stylelint@^8.3.0 || ^9.0.0 || ^10.0.0".
[4/4] šŸ”Ø  Building fresh packages...
[-/7] ā¢€ waiting...
[2/7] ā¢€ fsevents
[7/7] ā¢€ electron
[-/7] ā¢€ waiting...
error /Users/kirby/Code/responsively-app/desktop-app/node_modules/electron: Command failed.
Exit code: 1
Command: node install.js
Arguments: 
Directory: /Users/kirby/Code/responsively-app/desktop-app/node_modules/electron
Output:
HTTPError: Response code 404 (Not Found) for https://github.com/electron/electron/releases/download/v9.3.1/electron-v9.3.1-darwin-arm64.zip
    at EventEmitter. (/Users/kirby/Code/responsively-app/desktop-app/node_modules/got/source/as-stream.js:35:24)
    at EventEmitter.emit (node:events:527:28)
    at module.exports (/Users/kirby/Code/responsively-app/desktop-app/node_modules/got/source/get-response.js:22:10)
    at ClientRequest.handleResponse (/Users/kirby/Code/responsively-app/desktop-app/node_modules/got/source/request-as-event-emitter.js:155:5)
    at Object.onceWrapper (node:events:642:26)
    at ClientRequest.emit (node:events:539:35)
    at ClientRequest.origin.emit (/Users/kirby/Code/responsively-app/desktop-app/node_modules/@szmarczak/http-timer/source/index.js:37:11)
open-collective-bot[bot] commented 2 years ago

Hey @LauraAbCoronel :wave:,

Thank you for opening an issue. We will get back to you as soon as we can. Have you seen our Open Collective page? Please consider contributing financially to our project. This will help us involve more contributors and get to issues like yours faster.

https://opencollective.com/responsively

We offer priority support for all financial contributors. Don't forget to add priority label once you become one! :smile:

LauraAbCoronel commented 2 years ago

It looks like maybe the electron version this project is on doesn't have a version for the M1 chip?