Comments (4)
Try to use mirror ELECTRON_MIRROR=https://cdn.npm.taobao.org/dist/electron/
from chromedriver.
Unfortunately this does not work for me.
The logs are tricky to figure out but if you run in verbose mode, I get 404 errors
[INFO] verbose 9.547002537 (node:19414) UnhandledPromiseRejectionWarning: HTTPError: Response code 404 (Not Found)
[INFO] at EventEmitter.<anonymous> (/home/adowgail/workspace.apps/mtm-studio4/node_modules/got/source/as-stream.js:35:24)
[INFO] at EventEmitter.emit (events.js:223:5)
[INFO] at module.exports (/home/adowgail/workspace.apps/mtm-studio4/node_modules/got/source/get-response.js:22:10)
[INFO] at ClientRequest.handleResponse (/home/adowgail/workspace.apps/mtm-studio4/node_modules/got/source/request-as-event-emitter.js:155:5)
[INFO] at Object.onceWrapper (events.js:313:26)
[INFO] at ClientRequest.emit (events.js:228:7)
[INFO] at ClientRequest.origin.emit (/home/adowgail/workspace.apps/mtm-studio4/node_modules/@szmarczak/http-timer/source/index.js:37:11)
[INFO] at HTTPParser.parserOnIncomingClient [as onIncoming] (_http_client.js:583:27)
[INFO] at HTTPParser.parserOnHeadersComplete (_http_common.js:115:17)
[INFO] at TLSSocket.socketOnData (_http_client.js:456:22)
Then further down we get
[INFO] Error: Failed to find Electron v7.0.0 for linux-x64 at https://username:*****@private-corporate-artifactory.com/electron/7.0.0/chromedriver-v7.0.0-linux-x64.zip
[INFO] at Request.<anonymous> (/home/adowgail/workspace.apps/mtm-studio4/node_modules/nugget/index.js:169:61)
[INFO] at Request.emit (events.js:223:5)
[INFO] at Request.onRequestResponse (/home/adowgail/workspace.apps/mtm-studio4/node_modules/request/request.js:1066:10)
[INFO] at ClientRequest.emit (events.js:223:5)
[INFO] at HTTPParser.parserOnIncomingClient [as onIncoming] (_http_client.js:583:27)
[INFO] at HTTPParser.parserOnHeadersComplete (_http_common.js:115:17)
[INFO] at TLSSocket.socketOnData (_http_client.js:456:22)
[INFO] at TLSSocket.emit (events.js:223:5)
[INFO] at addChunk (_stream_readable.js:309:12)
[INFO] at readableAddChunk (_stream_readable.js:290:11)
[INFO] at ProcessTermError.ExtendableBuiltin (/home/adowgail/workspace.apps/mtm-studio4/packages/mtm-deployer/node/yarn/dist/lib/cli.js:721:66)
[INFO] at ProcessTermError.MessageError (/home/adowgail/workspace.apps/mtm-studio4/packages/mtm-deployer/node/yarn/dist/lib/cli.js:750:123)
[INFO] at new ProcessTermError (/home/adowgail/workspace.apps/mtm-studio4/packages/mtm-deployer/node/yarn/dist/lib/cli.js:790:113)
[INFO] at ChildProcess.<anonymous> (/home/adowgail/workspace.apps/mtm-studio4/packages/mtm-deployer/node/yarn/dist/lib/cli.js:25884:17)
[INFO] at ChildProcess.emit (events.js:223:5)
[INFO] at maybeClose (internal/child_process.js:1021:16)
[INFO] at Socket.<anonymous> (internal/child_process.js:430:11)
[INFO] at Socket.emit (events.js:223:5)
[INFO] at Socket.emit (events.js:223:5)error /home/adowgail/workspace.apps/mtm-studio4/node_modules/electron-chromedriver: Command failed.
[INFO] Exit code: 1
Since the URL does indeed work (I can copy it from the log and use it in my browser just fine), it suggests to me that the URL is modified somewhere. IT's also very frustrating that to know the error you need --verbose.
At first I thought maybe the username/password is being removed but removing them still gives me a 404 instead of a 401.
from chromedriver.
ah, the error message has nothing to do with chromedriver, it's looking for this file: SHASUMS256.txt
guess the issue is really just the logging not telling you what the problem is
from chromedriver.
Closing as this is resolved in recent versions.
from chromedriver.
Related Issues (20)
- 8964
- Yo
- Respuesta
- Respueta
- v25.2.0 not published to npm? HOT 1
- latest tag is applied to every release on npm
- chrome driver v114 not found for mac arm. Electron v25 support outdated? HOT 2
- Wrong version of chromedriver downloaded? HOT 2
- Package electron-download upgrade to @electron/get
- Running with npm_config_platform=win32 on linux fails
- [Bug] electron download electron-chromedriver version mismatch
- npm install electron-chromedriver failing
- Download failed HOT 1
- Version override not implemented? HOT 1
- ChromeDriver crashes when trying to start the exe program HOT 1
- Chromedriver can resize or get the resolution of a window from Electron Application using Java HOT 1
- line 6 in chromedriver.js HOT 2
- Specify ELECTRON_MIRROR to a directory/or file on disk HOT 2
- Run in Electron Isolated Context HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from chromedriver.