microsoft / microsoft/onnxruntime

onnxruntimne-react-native package.json "main" field points to a "dist" dir that does not exist

Open
#24,051 3 comments 0 reactions 1 assignee View on GitHub

@jchen351 is already working on this.

Since Mar 17, 2025.

api:Javascript platform:web
Dominant language
C++
Stars
21.9k
Forks
4.2k
Avg merge
4d 11h
Merged PRs (30d)
184

Description

Describe the issue

Unable to resolve "onnxruntime-react-native"

To reproduce

npm install onnxruntime-react-native
In node_modules/onnxruntime-react-native, look for package.json
The "main" field points to the "dist" directory, which does not exist.

Urgency

No response

Platform

Windows

OS Version

Windows 10

ONNX Runtime Installation

Released Package

ONNX Runtime Version or Commit ID

1.21.0

ONNX Runtime API

JavaScript

Architecture

X64

Execution Provider

Default CPU

Execution Provider Library Version

No response

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.