Hey guys, I am attempting to the run the application for development to hopefully contribute
[4/4] ๐จ Building fresh packages...
[9/15] โ node-sass
[10/15] โ electron-chromedriver
[3/15] โ fsevents
[4/15] โ nodemailer
error /Users/zact/Projects/telios/node_modules/electron: Command failed.
Exit code: 1
Command: node install.js
Arguments:
Directory: /Users/zact/Projects/telios/node_modules/electron
Output:
node:internal/process/promises:288
triggerUncaughtException(err, true /* fromPromise */);
^
GotError [HTTPError]: Response code 404 (Not Found) for https://github.com/electron/electron/releases/download/v7.1.13/electron-v7.1.13-darwin-arm
64.zip
at EventEmitter.<anonymous> (/Users/zact/Projects/telios/node_modules/got/source/as-stream.js:35:24)
at EventEmitter.emit (node:events:527:28)
at module.exports (/Users/zact/Projects/telios/node_modules/got/source/get-response.js:22:10)
at ClientRequest.handleResponse (/Users/zact/Projects/telios/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 origin.emit (/Users/zact/Projects/telios/node_modules/@szmarczak/http-timer/source/index.js:37:11)
at HTTPParser.parserOnIncomingClient [as onIncoming] (node:_http_client:631:27)
at HTTPParser.parserOnHeadersComplete (node:_http_common:117:17)
at TLSSocket.socketOnData (node:_http_client:494:22) {
host: 'github.com',
hostname: 'github.com',
method: 'GET',
path: '/electron/electron/releases/download/v7.1.13/electron-v7.1.13-darwin-arm64.zip',
socketPath: undefined,
protocol: 'https:',
url: 'https://github.com/electron/electron/releases/download/v7.1.13/electron-v7.1.13-darwin-arm64.zip',
gotOptions: {
path: '/electron/electron/releases/download/v7.1.13/electron-v7.1.13-darwin-arm64.zip',
protocol: 'https:',
slashes: true,
auth: null,
host: 'github.com',
port: null,
hostname: 'github.com',
hash: null,
search: null,
query: null,
pathname: '/electron/electron/releases/download/v7.1.13/electron-v7.1.13-darwin-arm64.zip',
href: 'https://github.com/electron/electron/releases/download/v7.1.13/electron-v7.1.13-darwin-arm64.zip',
retry: {
retries: [Function (anonymous)],
methods: Set(6) { 'GET', 'PUT', 'HEAD', 'DELETE', 'OPTIONS', 'TRACE' },
statusCodes: Set(7) { 408, 413, 429, 500, 502, 503, 504 },
errorCodes: Set(8) {
'ETIMEDOUT',
'ECONNRESET',
'EADDRINUSE',
'ECONNREFUSED',
'EPIPE',
'ENOTFOUND',
'ENETUNREACH',
'EAI_AGAIN'
}
},
headers: {
'user-agent': 'got/9.6.0 (https://github.com/sindresorhus/got)',
'accept-encoding': 'gzip, deflate'
},
hooks: {
beforeRequest: [],
beforeRedirect: [],
beforeRetry: [],
afterResponse: [],
beforeError: [],
init: []
},
decompress: true,
throwHttpErrors: true,
followRedirect: true,
stream: true,
form: false,
json: false,
cache: false,
useElectronNet: false,
method: 'GET'
},
statusCode: 404,
statusMessage: 'Not Found',
headers: {
server: 'GitHub.com',
date: 'Mon, 16 May 2022 02:59:50 GMT',
'content-type': 'text/plain; charset=utf-8',
vary: 'X-PJAX, X-PJAX-Container, Accept-Encoding, Accept, X-Requested-With',
'permissions-policy': 'interest-cohort=()',
'cache-control': 'no-cache',
'strict-transport-security': 'max-age=31536000; includeSubdomains; preload',
'x-frame-options': 'deny',
'x-content-type-options': 'nosniff',
'x-xss-protection': '0',
'referrer-policy': 'no-referrer-when-downgrade',
'expect-ct': 'max-age=2592000, report-uri="https://api.github.com/_private/browser/errors"',
'content-security-policy': "default-src 'none'; base-uri 'self'; connect-src 'self'; form-action 'self'; img-src 'self' data:; script-src 'sel
f'; style-src 'unsafe-inline'",
'content-encoding': 'gzip',
'content-length': '29',
'x-github-request-id': 'FD6D:236D:A0A90:108448:6281BE56',
connection: 'close'
},
body: undefined
I think it could be node related, version 18 is known to break some dependency packages lately - OR Apple M1 chip related possibly. Not sure