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

[js/node] update install script to allow use proxy #23242

Merged
merged 1 commit into from
Jan 3, 2025

Conversation

fs-eire
Copy link
Contributor

@fs-eire fs-eire commented Jan 2, 2025

Description

Use https.get instead of fetch in ORT Nodejs binding package install script.

Motivation and Context

According to discussions in #23232, the package global-agent cannot work with fetch API. To make it work with the proxy agent, this PR replaces the fetch API with https.get in the install script.

@snnn snnn requested a review from Copilot January 3, 2025 22:18

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Copilot reviewed 1 out of 1 changed files in this pull request and generated no comments.

@fs-eire fs-eire merged commit 5c2e60c into main Jan 3, 2025
94 of 96 checks passed
@fs-eire fs-eire deleted the fs-eire/js-node-install-script-allow-proxy branch January 3, 2025 22:27
snnn pushed a commit that referenced this pull request Jan 8, 2025
### Description

Use `https.get` instead of `fetch` in ORT Nodejs binding package install
script.

### Motivation and Context

According to discussions in #23232, the package `global-agent` cannot
work with `fetch` API. To make it work with the proxy agent, this PR
replaces the `fetch` API with `https.get` in the install script.
tarekziade pushed a commit to tarekziade/onnxruntime that referenced this pull request Jan 10, 2025
### Description

Use `https.get` instead of `fetch` in ORT Nodejs binding package install
script.

### Motivation and Context

According to discussions in microsoft#23232, the package `global-agent` cannot
work with `fetch` API. To make it work with the proxy agent, this PR
replaces the `fetch` API with `https.get` in the install script.
guschmue pushed a commit that referenced this pull request Jan 12, 2025
### Description

Use `https.get` instead of `fetch` in ORT Nodejs binding package install
script.

### Motivation and Context

According to discussions in #23232, the package `global-agent` cannot
work with `fetch` API. To make it work with the proxy agent, this PR
replaces the `fetch` API with `https.get` in the install script.
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

Successfully merging this pull request may close these issues.

2 participants