DingShizhe / Desmos-Desktop

Desmos desktop version

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Can't build on macOS (I'm noob)

Dolfost opened this issue · comments

I am building Desmos Desktop from source on MacOS Ventura 13.0.1
When I building it I get some errors and can't figure out how to solve them (I'm not an professional in Linux and totally new to Mac)

There is the last x lines of output:

npm timing metavuln:calculate:security-advisory:electron-builder:/m9e3+4eZoJfOIwv8u2YcZKESjn0cIhdUiW+L61QXSBmG2KZi6k99KfoVT97S8J5FhMGkfsm3PSLHKAk2BZ2jw== Completed in 2ms
npm timing metavuln:packument:update-notifier Completed in 0ms
npm timing metavuln:cache:get:security-advisory:update-notifier:xP9mRUu7m2mo/448iOKQBNLQe2N0zzOtFmffIfl+EP72ua2qlDbi4Wmy47kf6ngmCp6oXq5KSrlC0sT177Bjvg== Completed in 0ms
npm timing metavuln:load:security-advisory:update-notifier:px3BGTh0zXO0FGPeGweQ9jqShrQQXkwvso85ThJdSYlN4ZaZJDL3uEj6l9X6a7TaVNgKnd3jqWD9VSx0Ti/yzQ== Completed in 0ms
npm timing metavuln:calculate:security-advisory:update-notifier:px3BGTh0zXO0FGPeGweQ9jqShrQQXkwvso85ThJdSYlN4ZaZJDL3uEj6l9X6a7TaVNgKnd3jqWD9VSx0Ti/yzQ== Completed in 0ms
npm timing metavuln:cache:get:security-advisory:electron-builder:YsUyPVjiTjxWw/RfhFcyPCsH2D4Q7F2whBXLLS22kSNogjq+UMk+WUbPIOy7yhM8SUKHtlPS2rvSWeFC947B9Q== Completed in 1ms
npm timing metavuln:load:security-advisory:electron-builder:xP9mRUu7m2mo/448iOKQBNLQe2N0zzOtFmffIfl+EP72ua2qlDbi4Wmy47kf6ngmCp6oXq5KSrlC0sT177Bjvg== Completed in 1ms
npm timing metavuln:calculate:security-advisory:electron-builder:xP9mRUu7m2mo/448iOKQBNLQe2N0zzOtFmffIfl+EP72ua2qlDbi4Wmy47kf6ngmCp6oXq5KSrlC0sT177Bjvg== Completed in 2ms
npm timing auditReport:init Completed in 59ms
npm timing reify:audit Completed in 1055ms
npm info run electron@3.1.13 postinstall { code: 1, signal: null }
npm timing reify:rollback:createSparse Completed in 119ms
npm timing reify:rollback:retireShallow Completed in 0ms
npm timing command:install Completed in 1711ms
npm ERR! code 1
npm ERR! path /Users/vladyslav/Desmos-Desktop/node_modules/electron
npm ERR! command failed
npm ERR! command sh -c -- node install.js
Downloading tmp-14475-0-electron-v3.1.13-darwin-arm64.zip
npm ERR! Error: GET https://github.com/electron/electron/releases/download/v3.1.13/electron-v3.1.13-darwin-arm64.zip returned 404
npm ERR! /Users/vladyslav/Desmos-Desktop/node_modules/electron/install.js:49
npm ERR!   throw err
npm ERR!   ^
npm ERR!
npm ERR! Error: Failed to find Electron v3.1.13 for darwin-arm64 at https://github.com/electron/electron/releases/download/v3.1.13/electron-v3.1.13-darwin-arm64.zip
npm ERR!     at Request.<anonymous> (/Users/vladyslav/Desmos-Desktop/node_modules/nugget/index.js:197:61)
npm ERR!     at Request.emit (node:events:513:28)
npm ERR!     at Request.onRequestResponse (/Users/vladyslav/Desmos-Desktop/node_modules/request/request.js:1059:10)
npm ERR!     at ClientRequest.emit (node:events:513:28)
npm ERR!     at HTTPParser.parserOnIncomingClient [as onIncoming] (node:_http_client:688:27)
npm ERR!     at HTTPParser.parserOnHeadersComplete (node:_http_common:117:17)
npm ERR!     at TLSSocket.socketOnData (node:_http_client:530:22)
npm ERR!     at TLSSocket.emit (node:events:513:28)
npm ERR!     at addChunk (node:internal/streams/readable:324:12)
npm ERR!     at readableAddChunk (node:internal/streams/readable:297:9)
npm ERR!
npm ERR! Node.js v19.2.0
npm timing npm Completed in 1753ms

npm ERR! A complete log of this run can be found in:
npm ERR!     /Users/vladyslav/.npm/_logs/2022-12-07T19_15_38_193Z-debug-0.log
sh: electron-builder: command not found
cd: no such file or directory: dist
➜  Desmos-Desktop git:(master)

How to install Desmos Desktop?