[Build] Cannot read property 'install' of null with onnxruntime-react-native imported #19510
Labels
build
build issues; typically submitted using template
platform:mobile
issues related to ONNX Runtime mobile; typically submitted using template
Describe the issue
I have the exact same issue as this, which unfortunately didn't get resolved. I tried all the solutions mentioned in the thread and followed the linked guide to no avail. Same as her, when I comment out the import everything runs fine. I also have the second error that she has as well.I also have 10 npm vulnerabilities that cascade when I try to resolve them (5 moderate, 5 high). Here's the repo: Repository
Urgency
I have 2 days to get this going.
Target platform
IOS, Android
Build script
{
"name": "allergyapp",
"version": "1.0.0",
"scripts": {
"start": "expo start --dev-client",
"android": "expo run:android",
"ios": "expo run:ios",
"web": "expo start --web"
},
"dependencies": {
"expo": "~50.0.6",
"expo-camera": "~14.0.4",
"expo-media-library": "~15.9.1",
"expo-status-bar": "~1.11.1",
"onnxruntime-common": "",
"onnxruntime-react-native": "",
"react": "18.2.0",
"react-native": "0.73.4"
},
"devDependencies": {
"@babel/core": "^7.20.0"
},
"private": true
}
Error / output
Visual Studio Version
No response
GCC / Compiler Version
No response
The text was updated successfully, but these errors were encountered: