React Native Quickstart Error
I'm following the docs to set up react-native with convex but running into this error:
Is there an easy way to resolve this?
7 Replies
Thanks for posting in <#1088161997662724167>.
Reminder: If you have a Convex Pro account, use the Convex Dashboard to file support tickets.
- Provide context: What are you trying to achieve, what is the end-user interaction, what are you seeing? (full error message, command output, etc.)
- Use search.convex.dev to search Docs, Stack, and Discord all at once.
- Additionally, you can post your questions in the Convex Community's <#1228095053885476985> channel to receive a response from AI.
- Avoid tagging staff unless specifically instructed.
Thank you!
It sounds like you might need to install convex
I'm getting this error in my server cli when I add in the tasks.ts file. When I comment it out it says the server is running and functions are ready
Are you using yarn?
The error says that a parent directory has a .pnp.cjs file that doesn't have convex in it.
If you're trying to use yarn, see https://stackoverflow.com/questions/76015181/the-yarn-plugnplay-manifest-forbids-importing-xyz-here-because-its-not-list
Stack Overflow
The Yarn Plug'n'Play manifest forbids importing "XYZ" here because ...
Yarn 3.5 (stable) using ViteJS - I keep getting this same error for various third party packages. I'm lost on how to properly solve this. The message says I can mark "react" as external, ...
If you're not trying to use yarn, get rid if these files in ancestor directories.
Thanks, I had yarn in my root directory and that was causing the issue