-
-
Notifications
You must be signed in to change notification settings - Fork 79
Description
Hi there, i've just installed the last version (1.6.1) and when triying to run my project (expo) for web. Im getting this error:
I noticed that the file is on another folder:
instead of 'react-native-fast-tflite/lib/spec' (where current code is searching)
is on: 'react-native-fast-tflite/spec'
if i fix the path, changing
export { default as TensorflowModule } from '../spec/NativeRNTflite';
to
export { default as TensorflowModule } from '../../spec/NativeRNTflite';
Im able to compile it at least for web, but another error shows up:
Metro error: Cannot read properties of undefined (reading 'getEnforcing')
TypeError: Cannot read properties of undefined (reading 'getEnforcing')
I belive thats because of this line:
export default TurboModuleRegistry.getEnforcing('Tflite')
At: 'react-native-fast-tflite/spec/NativeRNTflite.ts'
i've looked for others issues but none of them mention this one.
My setup:
"expo": "53.0.22",
"react": "19.0.0",
"react-native": "0.79.5",
"react-native-fast-tflite": "^1.6.1",
"react-native-vision-camera": "^4.7.2",
"react-native-worklets-core": "^1.6.2",
Thanks in advance!