Skip to content
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

Does not contain a valid config plugin. #34

Closed
homocodian opened this issue Aug 16, 2024 · 9 comments · Fixed by #37 or #38
Closed

Does not contain a valid config plugin. #34

homocodian opened this issue Aug 16, 2024 · 9 comments · Fixed by #37 or #38
Labels

Comments

@homocodian
Copy link

homocodian commented Aug 16, 2024

Skipping config plugin check: Package "@vonovak/react-native-theme-control" does not contain a valid config plugin.
Learn more: https://docs.expo.dev/guides/config-plugins/#creating-a-plugin

Unexpected token 'export'

OS: Windows
React Native Version: 0.74.5
Expo SDK Version: ~51.0.28
React native theme control Version: ^6.0.1

@Nantris
Copy link

Nantris commented Sep 8, 2024

Is this only with newer versions of Expo? I noticed the install page only mentions up to Expo 49 but I'm guessing that's just the docs in need of updating?

In install.md (sorry Chrome broke pasting links apparently)

@vonovak

@homocodian
Copy link
Author

Is this only with newer versions of Expo? I noticed the install page only mentions up to Expo 49 but I'm guessing that's just the docs in need of updating?

In install.md (sorry Chrome broke pasting links apparently)

@vonovak

The issue is with the react-native-theme-control config in the latest versions, for now I have down graded react-native-theme-control

@vonovak
Copy link
Owner

vonovak commented Sep 8, 2024

updated the docs

@vonovak
Copy link
Owner

vonovak commented Sep 8, 2024

@homocodian to what version did you need to downgrade?
Thank you

@homocodian
Copy link
Author

homocodian commented Sep 9, 2024

@homocodian to what version did you need to downgrade?
Thank you

I checked all the commits where the Expo config was last updated and found that it was v6.0.1, so I rolled it back to v6.0.0.

@vonovak
Copy link
Owner

vonovak commented Sep 9, 2024

Hello,
6.0.1 did not have any change in the config plugin though.
Thank you

@homocodian
Copy link
Author

Hello,
6.0.1 did not have any change in the config plugin though.
Thank you

Oh sorry about that, I don't remember the exact version but I used the above mentioned approach and I thought it was the last second version.

@vonovak
Copy link
Owner

vonovak commented Sep 18, 2024

fixed with #38

Copy link

🎉 This issue has been resolved in version 6.0.2 🎉

The release is available on:

Your semantic-release bot 📦🚀

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
3 participants