nandorojo / burnt

Crunchy toasts for React Native. 🍞
MIT License
1.16k stars 36 forks source link

Cannot find native module 'Burnt' #21

Closed andordavoti closed 1 year ago

andordavoti commented 1 year ago

Tried installing this in an Expo Managed project, already using multiple packages that need pre building, without luck. Seems like it can't find the native module for some reason.

I tried the following:

Am I missing something?

nandorojo commented 1 year ago

that all sounds right. which version are you on

andordavoti commented 1 year ago

I'm on Expo SDK v48.0.18

nandorojo commented 1 year ago

i meant burnt version

andordavoti commented 1 year ago

0.11.5

nandorojo commented 1 year ago

does it show up if you do npx pod install

andordavoti commented 1 year ago

No, I don't see any mention of Burnt when installing the pods manually. More specifically, it's not in the list of libraries that gets auto linked, where I guess it should be?

nandorojo commented 1 year ago

Weird. Does this reproduce in an empty expo project?

andordavoti commented 1 year ago

It does. Just initialized a new project with the expo cli, then followed the steps in the installation guide, got the same error. Pushed up the repo to GitHub, including the native projects so you can see the Podfile.lock. Can't see Burnt mentioned there.

Link to repo: https://github.com/andordavoti/burnt-issue-21-reproduction

nandorojo commented 1 year ago

Thanks for sharing, I’ll look into this. I wonder if 0.11.4 works or not

andordavoti commented 1 year ago

Tried 0.11.4 in the same sample project I shared above without success.

hirbod commented 1 year ago

Actually, I just stumbled across the same issue and came here to see if anybody else reported it. We've upgraded the version at Showtime from 0.10 to 0.11.5 and the same issue happened. Cleared all deps, installed pods etc.

Will downgrade for now and see if that helps

nandorojo commented 1 year ago

Just released a fix at 0.11.6. Apologies for that regression.

thj-dk commented 1 year ago

I'm getting this error on the latest 0.11.7.

nandorojo commented 1 year ago

after building the dev client?

GenerousDev commented 1 year ago

I am currently getting this error on my simulator with espo

leonardoballand commented 1 year ago

same here, Burnt 0.11.7, RN 0.72.4 bare project. It asked me to install expo-modules-core first. Now I got the same error message as above :(

Edit: I've finally succeeded to make it work following the link of @nandorojo in another issue. I just feel like installing packages over my usage (expo + expo modules) but Burnt is working great!

wcmatheusoliveira commented 9 months ago

@leonardoballand what was your solution mate? Could you share the link?

nandorojo commented 9 months ago

It works fine for me on the latest version. It won’t work with expo go. Be sure to rebuild your native app.

moishinetzer commented 3 months ago

I'm getting this issue with the latest version of expo and this package

SeanBarker182 commented 3 months ago

@moishinetzer Did you find a solution?

moishinetzer commented 3 months ago

I was able to get it working, but I had to delete my lockfile and all node_modules and all native folders. I then reinstalled everything from scratch. Only after all of that did I run the prebuild command and expo run:ios.

alzalabany commented 2 months ago

same issue in 12.2

rgomezp commented 3 weeks ago

Getting the same issue on 12.2.

I'm getting it in my tests.

I can mock it, but I feel like this should be working out of the box.