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

npm install provides error on onnxruntime: 404 URL not found. #20727

Closed
jordyvanraalte opened this issue May 19, 2024 · 2 comments
Closed

npm install provides error on onnxruntime: 404 URL not found. #20727

jordyvanraalte opened this issue May 19, 2024 · 2 comments
Labels
platform:web issues related to ONNX Runtime web; typically submitted using template

Comments

@jordyvanraalte
Copy link

Describe the issue

Hey!

Our deployment with Github Actions is failing several times now due to the following error:

.../node_modules/onnxruntime-node postinstall: Downloading "https://github.com/microsoft/onnxruntime/releases/download/v1.18.0/onnxruntime-linux-x64-gpu-1.18.0.tgz".

.../node_modules/onnxruntime-node postinstall: /home/runner/work///node_modules/.pnpm/onnxruntime-node@1.18.0/node_modules/onnxruntime-node/script/install.js:69

.../node_modules/onnxruntime-node postinstall: throw new Error(`Failed to download the binaries: ${res.status} ${res.statusText}.
.../node_modules/onnxruntime-node postinstall: ^
.../node_modules/onnxruntime-node postinstall: Error: Failed to download the binaries: 404 Not Found.

*** = left out for confidential reasons.

Version we use: onnxruntime-node: "^1.17.0"

Issue on our project seems to occur the last three days, before that no issues. Only small HTML changes in the commit we try to deploy.

To reproduce

I can't seem to reproduce outside of our project. However it seems the download URL is broken (https://github.com/microsoft/onnxruntime/releases/download/v1.18.0/onnxruntime-linux-x64-gpu-1.18.0.tgz). I also cannot find a release regarding v1.18.0.

Urgency

No response

Platform

Linux

OS Version

Ubuntu latest

ONNX Runtime Installation

Released Package

ONNX Runtime Version or Commit ID

1.17.0 / 1.18.0

ONNX Runtime API

C

Architecture

X64

Execution Provider

Default CPU

Execution Provider Library Version

No response

@github-actions github-actions bot added the platform:web issues related to ONNX Runtime web; typically submitted using template label May 19, 2024
@fs-eire
Copy link
Contributor

fs-eire commented May 21, 2024

it should work now.

The reason is that the release steps publish the onnxruntime-node package first and then upload the binary. When you see that error, the NPM package is published but the binary is not ready yet. Now the binary file is available and you should not see that error message any more.

The release process maybe need to update.

@jordyvanraalte
Copy link
Author

it should work now.

The reason is that the release steps publish the onnxruntime-node package first and then upload the binary. When you see that error, the NPM package is published but the binary is not ready yet. Now the binary file is available and you should not see that error message any more.

The release process maybe need to update.

Yes seems to work. Thanks!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
platform:web issues related to ONNX Runtime web; typically submitted using template
Projects
None yet
Development

No branches or pull requests

2 participants