You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Interestingly running npm install selenium-cucumber-js --save-dev within Intelij it runs without errors. However if I do it via command line I get the following:
npm ERR! code 1
npm ERR! path /Users/zieboldg/Documents/GitHub/selenium-cucumber-js/node_modules/electron-chromedriver
npm ERR! command failed
npm ERR! command sh -c node ./download-chromedriver.js
npm ERR! /Users/zieboldg/Documents/GitHub/selenium-cucumber-js/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.<anonymous> (/Users/zieboldg/Documents/GitHub/selenium-cucumber-js/node_modules/nugget/index.js:197:61)
npm ERR! at Request.emit (node:events:527:28)
npm ERR! at Request.onRequestResponse (/Users/zieboldg/Documents/GitHub/selenium-cucumber-js/node_modules/request/request.js:1059:10)
npm ERR! at ClientRequest.emit (node:events:527:28)
npm ERR! at HTTPParser.parserOnIncomingClient [as onIncoming] (node:_http_client:631:27)
npm ERR! at HTTPParser.parserOnHeadersComplete (node:_http_common:128:17)
npm ERR! at TLSSocket.socketOnData (node:_http_client:494:22)
npm ERR! at TLSSocket.emit (node:events:527:28)
npm ERR! at addChunk (node:internal/streams/readable:315:12)
npm ERR! at readableAddChunk (node:internal/streams/readable:289:9)
npm ERR! A complete log of this run can be found in:
npm ERR! /Users/zieboldg/.npm/_logs/2022-09-14T00_39_21_710Z-debug-0.log
zieboldg@OCI-Mac selenium-cucumber-js % npm install updated-selenium-cucumber-js --save-dev
npm WARN deprecated xmldom@0.1.31: Deprecated due to CVE-2021-21366 resolved in 0.5.0
npm WARN deprecated electron-prebuilt@1.4.13: electron-prebuilt has been renamed to electron. For more details, see http://electron.atom.io/blog/2016/08/16/npm-install-electron
npm WARN deprecated electron-osx-sign@0.4.17: Please use @electron/osx-sign moving forward. Be aware the API is slightly different
npm ERR! code 1
npm ERR! path /Users/zieboldg/Documents/GitHub/selenium-cucumber-js/node_modules/chromedriver
npm ERR! command failed
npm ERR! command sh -c node install.js
npm ERR! Only Mac 64 bits supported.
Issue running tests
In Intelij I see the following when trying to run test This version of ChromeDriver only supports Chrome version 86 Current browser version is 105.0.0
I tried updating/adding the following dependancies in package.json:
After making these changes and running npm install and npm update I get the same error. Maybe there is another dependency that needs to be updated or added?
The text was updated successfully, but these errors were encountered:
gziebold71
changed the title
Issues with npm install and running tests on a mac (possibly m1 chip issue?)
Issues with npm install and running tests on a mac
Sep 14, 2022
Issue with npm install
Interestingly running
npm install selenium-cucumber-js --save-dev
within Intelij it runs without errors. However if I do it via command line I get the following:Issue running tests
In Intelij I see the following when trying to run test
This version of ChromeDriver only supports Chrome version 86 Current browser version is 105.0.0
I tried updating/adding the following dependancies in package.json:
After making these changes and running
npm install
andnpm update
I get the same error. Maybe there is another dependency that needs to be updated or added?The text was updated successfully, but these errors were encountered: