-
Notifications
You must be signed in to change notification settings - Fork 3.5k
Closed
Labels
platform:webissues related to ONNX Runtime web; typically submitted using templateissues related to ONNX Runtime web; typically submitted using template
Description
Describe the issue
npm ERR! command failed
npm ERR! command sh -c node ./script/install
npm ERR! Downloading "https://github.com/microsoft/onnxruntime/releases/download/v1.20.1/onnxruntime-linux-x64-gpu-1.20.1.tgz"...
npm ERR! node:internal/deps/undici/undici:11576
npm ERR! Error.captureStackTrace(err, this);
npm ERR! ^
npm ERR!
npm ERR! TypeError: fetch failed
npm ERR! at Object.fetch (node:internal/deps/undici/undici:11576:11)
npm ERR! at process.processTicksAndRejections (node:internal/process/task_queues:95:5) {
npm ERR! cause: ConnectTimeoutError: Connect Timeout Error
npm ERR! at onConnectTimeout (node:internal/deps/undici/undici:8522:28)
npm ERR! at node:internal/deps/undici/undici:8480:50
npm ERR! at Immediate._onImmediate (node:internal/deps/undici/undici:8511:13)
npm ERR! at process.processImmediate (node:internal/timers:476:21) {
npm ERR! code: 'UND_ERR_CONNECT_TIMEOUT'
npm ERR! }
npm ERR! }
npm ERR!
npm ERR! Node.js v18.17.0
The fetch doesn't respect http_proxy and https_proxy set in the environment:
onnxruntime/js/node/script/install.js
Line 83 in 8687011
| fetch(artifactUrl).then((res) => { |
To reproduce
npm install onnxruntime-node
Urgency
No response
ONNX Runtime Installation
Other / Unknown
ONNX Runtime Version or Commit ID
1.20.1
Execution Provider
Other / Unknown
ryan4559 and piwawa
Metadata
Metadata
Assignees
Labels
platform:webissues related to ONNX Runtime web; typically submitted using templateissues related to ONNX Runtime web; typically submitted using template