react-native-create-thumbnail
react-native-create-thumbnail copied to clipboard
null is not an object (evaluating 'CreateThumbnail.create')
I tried installing this package for the purpose of creating thumbnails out of video but as soon as i import it, expo throws error (mentioned in the title).
One other error that comes along is:-
Invariant Violation: "main" has not been registered. This can happen if:
- Metro (the local dev server) is run from the wrong folder. Check if Metro is running, stop it and restart it in the current project.
- A module failed to load due to an error and
AppRegistry.registerComponent
wasn't called.
I'm using the latest version of this package and I'm hoping some answer very soon. Can someone please help here?
@ecargsid-eht, Have you rebuilt your project after installing the library?
@ecargsid-eht, Have you rebuilt your project after installing the library?
yes .. i did rebuild the project
Same here. By the way, i'm using typescript. Currently using version 1.6.3
the same issue on android, ios works fine react-native": "0.68.2",
ext.kotlin_version = '1.6.0' ext { buildToolsVersion = "31.0.0" minSdkVersion = 21 compileSdkVersion = 31 targetSdkVersion = 31 supportLibVersion = "28.0.0" googlePlayServicesVersion = "11.8.0" androidMapsUtilsVersion = "0.5+"
same issue with: 2.0.0-rc.2 , RN 69.5
same issue with: 2.0.0-rc.2 , RN 69.5
try it, works for me https://github.com/souvik-ghosh/react-native-create-thumbnail/issues/78#issuecomment-1305899521
same issue with: 2.0.0-rc.2 , RN 69.5
try it, works for me #78 (comment)
Just updating the minor RN version as mentioned in react-native/issues/35210 fixed it for me.
Facing same issue even try by downgrading the react native create thumbnail version
same issue ? ?
Hi @germankoco! please downgrade your react, react-dom, react-native version according to your project packages.
the same issue on android, ios works fine:- Install React: "react": "17.0.2", Install React Dom: "react-dom": "17.0.2", Install React-Native : "react-native": "0.68.2",
After That:-
- Delete Node Modules,
- Delete yarn.lock file,
- Delete package-lock.json
npm install || yarn install
Run The project:- npx expo start || npx react-native run-android
Make sure you run pod install
after adding the package to your project. That was my issue.
closing due to inactivity