microsoft / microsoft/onnxruntime-inference-examples
Package "onnxruntime-react-native" does not contain a valid config plugin
Nobody has claimed this yet.
- Dominant language
- C++
- Stars
- 1.7k
- Forks
- 414
- Avg merge
- 1d 6h
- Merged PRs (30d)
- 14
Description
I cannot get the ONNX Runtime React Native Expo Example Application to work as is. I started with a fresh setup and followed instructions in the README.
Here are the problematic steps and the errors I encountered.
npx expo install onnxruntime-react-native
success Saved 1 new dependency.
info Direct dependencies
└─ onnxruntime-react-native@1.23.2
info All dependencies
└─ onnxruntime-react-native@1.23.2
✨ Done in 1.50s.
Skipping config plugin check: Package "onnxruntime-react-native" does not contain a valid config plugin.
Learn more: https://docs.expo.dev/guides/config-plugins/#creating-a-plugin
Cannot use import statement outside a module
npx expo prebuild
CommandError: Package "onnxruntime-react-native" does not contain a valid config plugin.
Learn more: https://docs.expo.dev/guides/config-plugins/#creating-a-plugin
Cannot use import statement outside a module
I couldn't find a resolution to this issue by trying things myself or looking online.
Contributor guide
No contributing guide indexed for this repository
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Start by reproducing the issue from the README in the ONNX Runtime React Native Expo Example Application with npx expo install onnxruntime-react-native and npx expo prebuild. Inspect how the package is integrated with Expo, and consider the work complete when the package is recognized as having a valid config plugin and prebuild completes without the reported errors.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- react-native
- Domain
- build-system, mobile
- Issue type
- Bug
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 42/100