Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Electron chrome driver error for Mac m3 pro sonoma 14.5 #148

Open
seshu2020 opened this issue Jul 17, 2024 · 0 comments
Open

Electron chrome driver error for Mac m3 pro sonoma 14.5 #148

seshu2020 opened this issue Jul 17, 2024 · 0 comments

Comments

@seshu2020
Copy link

seshu2020 commented Jul 17, 2024

Screenshot 2024-07-16 at 10 43 39 PM

Node:-18.16.1

while doing npm install --save-dev electron getting below error

npm WARN deprecated electron-download@4.1.1: Please use @electron/get moving forward.
npm ERR! code 1
npm ERR! path /Users/2229275/caseys_fe/commerce-oms/node_modules/spectron/node_modules/electron-chromedriver
npm ERR! command failed
npm ERR! command sh -c node ./download-chromedriver.js
npm ERR! /Users/2229275/caseys_fe/commerce-oms/node_modules/spectron/node_modules/electron-chromedriver/download-chromedriver.js:30
npm ERR! if (err != null) throw err
npm ERR! ^
npm ERR!
npm ERR! Error: Failed to find Electron v1.8.0 for darwin-arm64 at https://github.com/electron/electron/releases/download/v1.8.0/chromedriver-v1.8.0-darwin-arm64.zip
npm ERR! at Request. (/Users/2229275/caseys_fe/commerce-oms/node_modules/nugget/index.js:197:61)
npm ERR! at Request.emit (node:events:513:28)
npm ERR! at Request.onRequestResponse (/Users/2229275/caseys_fe/commerce-oms/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:701:27)
npm ERR! at HTTPParser.parserOnHeadersComplete (node:_http_common:119:17)
npm ERR! at TLSSocket.socketOnData (node:_http_client:542: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 v18.16.1

npm ERR! A complete log of this run can be found in:
npm ERR! /Users/2229275/.npm/_logs/2024-07-17T04_21_09_136Z-debug-0.log

same issue getting when i switched to rosetta 2 from terminal

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant