-
-
Notifications
You must be signed in to change notification settings - Fork 1.1k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
🐛 Expo: Package "react-native-vision-camera" does not contain a valid config plugin #269
Comments
Oh yeah that's my bad. The docs are already live, but the stable version (2.4.1) does not support expo yet. You need to use the @beta tag. |
All good. And real quick, where would I put the beta tag at? |
Oh you just install it like: npm i react-native-vision-camera@beta (or yarn) (dunno if that works with expo install, I'm new to expo 😄) |
Awesome! I appreciate it and the quick response. I'll mess around with it some more |
Hi Marc, It looks like even in the beta version, it's still missing the You can reproduce creating a fresh project and installing with I'm not sure, but maybe it's happening because this file is ignored in P.S: good luck on your new journey with the Expo team! |
Thank you @matheusmatos! Excited to be part of the team. Also thanks for the report, I wouldn't have noticed on my own! Latest beta (2.4.2-beta.9) now includes |
Thanks!! This problem is solved, but we have another one now 😄 Inside When it's compiled, this file exists in I changed to Can you help? Thanks! |
@matheusmatos okay, now everything works? on android and iOS? do frame processors work on both platforms? |
Hi, in fact, after fixing this import, I'm not able to compile locally using I got an error that maybe is related with issue#195: I'll try to compile that using EAS Cloud to understand if the problem is my environment. I come back with more news!! |
@mrousavy That last commit will be sent to npm registry? When I install using github+hash the master doesn't have the lib folder. Thus, EAS Cloud can't get correct version of the lib. |
That error is exactly the same one as in #195, unfortunately I cannot reproduce it. There must be something wrong in the |
Sure! Let's fix that, it's a pleasure to help. Can you release a beta-10 with import fix? We can compile using expo infrastructure and test if the problem also happens there. |
Does it work for you now? @matheusmatos I believe the |
Hi @mrousavy, I believe this is also linked to this issue. I am trying to run the lib on my project, I was able to run the expo Camera: Native Module 'CameraView' was null! Did you run pod install?
at node_modules/react-native-vision-camera/src/Camera.tsx:33:26 in <global>
at node_modules/react-native-vision-camera/src/index.ts:1:0 in <global>
at App.tsx:4:0 in <global>
at index.js:4:0 in <global>
at http://127.0.0.1:19000/index.bundle?platform=ios&dev=true&hot=false&minify=false:119940:3 in global code Even after running |
@brunokiafuka Are you using the latest beta? Expo support is only available in the latest beta, not the current stable release (will promote to stable soon). |
@mrousavy, I am using the stable version. I will try to add the beta version instead. |
I am now on
|
Hi @mrousavy, sorry for the late reply. In fact, the problem with Folly affects the RN0.63 - the version which Expo 41 and 42 uses. To make the app plugin works for Expo42 we need to modify the user Podfile. I agree that it's not a good practice and would be better wait for #195 get fixed. Maybe an option can be do this only in a "dangerous branch/tag" and not promote to stable version. I can wait for Expo43 to use it, but I don't know if there is some other users expecting for this now. In the last case, would be better remove Thanks for all! |
@brunokiafuka were you able to resolve this? I see the same thing with:
Wondering if it's because I'm on OSX 10.10.5/XCode 6.1.1 (I know, I know, it's old, trying to avoid buying a new machine). I'm seeing the same error as you, even after @mrousavy do you think my hunch above is correct? |
What
In an Expo managed app after updating the permissions in the app.json file, I'm running into an error after running:
expo prebuild
Logs
Reproducable sample
app.json
Environment
package.json
The text was updated successfully, but these errors were encountered: