Skip to content

No apparent Darwin Arm64 support (i.e. M1/M2 Mac) #44

@jmarkow

Description

@jmarkow

Hi. I'm trying to install Kipling on an M1 mac and it appears that a fairly old version of Electron is being used. Normally wouldn't be an issue but 10.1.5 predates builds for the Darwin Arm64 architecture (i.e. M1/M2 Macs). Here's the output when running npm run setup . I attempted to brute force update to 11.0.0, but ran into other errors.


> [email protected] setup
> lerna bootstrap

lerna notice cli v3.22.0
lerna info versioning independent
lerna info Bootstrapping 30 packages
lerna info Installing external dependencies
lerna ERR! npm install --no-package-lock -f exited 1 in 'ljswitchboard-electron_main'
lerna ERR! npm install --no-package-lock -f stderr:
npm WARN using --force Recommended protections disabled.
npm ERR! code 1
npm ERR! path /Users/jmarkow/dev/labjack/labjack_kipling/ljswitchboard-electron_main/node_modules/electron
npm ERR! command failed
npm ERR! command sh -c node install.js
npm ERR! HTTPError: Response code 404 (Not Found) for https://github.com/electron/electron/releases/download/v10.1.5/electron-v10.1.5-darwin-arm64.zip
npm ERR!     at EventEmitter.<anonymous> (/Users/jmarkow/dev/labjack/labjack_kipling/ljswitchboard-electron_main/node_modules/got/source/as-stream.js:35:24)
npm ERR!     at EventEmitter.emit (node:events:513:28)
npm ERR!     at module.exports (/Users/jmarkow/dev/labjack/labjack_kipling/ljswitchboard-electron_main/node_modules/got/source/get-response.js:22:10)
npm ERR!     at ClientRequest.handleResponse (/Users/jmarkow/dev/labjack/labjack_kipling/ljswitchboard-electron_main/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 origin.emit (/Users/jmarkow/dev/labjack/labjack_kipling/ljswitchboard-electron_main/node_modules/@szmarczak/http-timer/source/index.js:37:11)
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! A complete log of this run can be found in:
npm ERR!     /Users/jmarkow/.npm/_logs/2023-01-17T21_25_42_711Z-debug-0.log

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions