tonic master % npm i
npm WARN deprecated [email protected]: Legacy versions of mkdirp are no longer supported. Please update to mkdirp 1.x. (Note that the API surface has changed to use Promises in 1.x.)
npm WARN deprecated [email protected]: Please upgrade to version 7 or higher. Older versions may use Math.random() in certain circumstances, which is known to be problematic. See https://v8.dev/blog/math-random for details.
npm WARN deprecated [email protected]: This package is unmaintained and deprecated. See the GH Issue 259.
npm ERR! code 1
npm ERR! path /Users/nick/code/tonic/node_modules/electron
npm ERR! command failed
npm ERR! command sh /var/folders/wc/j7p9ktnx3d99v5xm95s9h2480000gn/T/postinstall-ea3b8960.sh
npm ERR! node:internal/process/promises:279
npm ERR! triggerUncaughtException(err, true /* fromPromise */);
npm ERR! ^
npm ERR!
npm ERR! GotError [HTTPError]: Response code 404 (Not Found) for https://github.com/electron/electron/releases/download/v7.3.3/electron-v7.3.3-darwin-arm64.zip
npm ERR! at EventEmitter.<anonymous> (/Users/nick/code/tonic/node_modules/got/source/as-stream.js:35:24)
npm ERR! at EventEmitter.emit (node:events:513:28)
npm ERR! at module.exports (/Users/nick/code/tonic/node_modules/got/source/get-response.js:22:10)
npm ERR! at ClientRequest.handleResponse (/Users/nick/code/tonic/node_modules/got/source/request-as-event-emitter.js:155:5)
npm ERR! at Object.onceWrapper (node:events:628:26)
npm ERR! at ClientRequest.emit (node:events:525:35)
npm ERR! at ClientRequest.origin.emit (/Users/nick/code/tonic/node_modules/@szmarczak/http-timer/source/index.js:37:11)
npm ERR! at HTTPParser.parserOnIncomingClient [as onIncoming] (node:_http_client:674:27)
npm ERR! at HTTPParser.parserOnHeadersComplete (node:_http_common:128:17)
npm ERR! at TLSSocket.socketOnData (node:_http_client:521:22) {
npm ERR! host: 'github.com',
npm ERR! hostname: 'github.com',
npm ERR! method: 'GET',
npm ERR! path: '/electron/electron/releases/download/v7.3.3/electron-v7.3.3-darwin-arm64.zip',
npm ERR! socketPath: undefined,
npm ERR! protocol: 'https:',
npm ERR! url: 'https://github.com/electron/electron/releases/download/v7.3.3/electron-v7.3.3-darwin-arm64.zip',
npm ERR! gotOptions: {
npm ERR! path: '/electron/electron/releases/download/v7.3.3/electron-v7.3.3-darwin-arm64.zip',
npm ERR! protocol: 'https:',
npm ERR! slashes: true,
npm ERR! auth: null,
npm ERR! host: 'github.com',
npm ERR! port: null,
npm ERR! hostname: 'github.com',
npm ERR! hash: null,
npm ERR! search: null,
npm ERR! query: null,
npm ERR! pathname: '/electron/electron/releases/download/v7.3.3/electron-v7.3.3-darwin-arm64.zip',
npm ERR! href: 'https://github.com/electron/electron/releases/download/v7.3.3/electron-v7.3.3-darwin-arm64.zip',
npm ERR! retry: {
npm ERR! retries: [Function (anonymous)],
npm ERR! methods: Set(6) { 'GET', 'PUT', 'HEAD', 'DELETE', 'OPTIONS', 'TRACE' },
npm ERR! statusCodes: Set(7) { 408, 413, 429, 500, 502, 503, 504 },
npm ERR! errorCodes: Set(8) {
npm ERR! 'ETIMEDOUT',
npm ERR! 'ECONNRESET',
npm ERR! 'EADDRINUSE',
npm ERR! 'ECONNREFUSED',
npm ERR! 'EPIPE',
npm ERR! 'ENOTFOUND',
npm ERR! 'ENETUNREACH',
npm ERR! 'EAI_AGAIN'
npm ERR! }
npm ERR! },
npm ERR! headers: {
npm ERR! 'user-agent': 'got/9.6.0 (https://github.com/sindresorhus/got)',
npm ERR! 'accept-encoding': 'gzip, deflate'
npm ERR! },
npm ERR! hooks: {
npm ERR! beforeRequest: [],
npm ERR! beforeRedirect: [],
npm ERR! beforeRetry: [],
npm ERR! afterResponse: [],
npm ERR! beforeError: [],
npm ERR! init: []
npm ERR! },
npm ERR! decompress: true,
npm ERR! throwHttpErrors: true,
npm ERR! followRedirect: true,
npm ERR! stream: true,
npm ERR! form: false,
npm ERR! json: false,
npm ERR! cache: false,
npm ERR! useElectronNet: false,
npm ERR! method: 'GET'
npm ERR! },
npm ERR! statusCode: 404,
npm ERR! statusMessage: 'Not Found',
npm ERR! headers: {
npm ERR! server: 'GitHub.com',
npm ERR! date: 'Wed, 21 Sep 2022 02:48:48 GMT',
npm ERR! 'content-type': 'text/plain; charset=utf-8',
npm ERR! vary: 'X-PJAX, X-PJAX-Container, Turbo-Visit, Turbo-Frame, Accept-Encoding, Accept, X-Requested-With',
npm ERR! 'cache-control': 'no-cache',
npm ERR! 'strict-transport-security': 'max-age=31536000; includeSubdomains; preload',
npm ERR! 'x-frame-options': 'deny',
npm ERR! 'x-content-type-options': 'nosniff',
npm ERR! 'x-xss-protection': '0',
npm ERR! 'referrer-policy': 'no-referrer-when-downgrade',
npm ERR! 'expect-ct': 'max-age=2592000, report-uri="https://api.github.com/_private/browser/errors"',
npm ERR! 'content-security-policy': "default-src 'none'; base-uri 'self'; connect-src 'self'; form-action 'self'; img-src 'self' data:; script-src 'self'; style-src 'unsafe-inline'",
npm ERR! 'content-encoding': 'gzip',
npm ERR! 'content-length': '29',
npm ERR! 'x-github-request-id': '8A0C:6CB1:2A99BF:2CF81F:632A7BAB',
npm ERR! connection: 'close'
npm ERR! },
npm ERR! body: undefined
npm ERR! }
npm ERR! A complete log of this run can be found in:
npm ERR! /Users/nick/.npm/_logs/2022-09-21T02_49_05_593Z-debug-0.log