sortofsleepyS
Convex Communityβ€’16mo agoβ€’
3 replies
sortofsleepy

npx convex import - always pushes to the same/wrong project

πŸ‘‹

Trying to get some test data into a table and for whatever reason, whenever I run npx convex import ... , the data always gets written to the wrong project in my account.

- I only have 2 projects in my account. Projects A & B. I would like to import data into project B. If it matters, project A was created first.
- Whenever I run the command, data is always written to project A.
- When first prompted to select a project, I am picking project B.
- I have also tried running npx convex dev --project B
- I have also tried starting over and was re prompted for which project to work with; I also chose project B then and the same issue occurs.
- I have also tried deleting project B and re-creating it via the cli but the issue persists.
- I have double checked the env file; it does appear to point to the correct project.

Ultimately I can just manually create everything but it'd be nice to not have to do so. Am I missing something?

Thanks! πŸŽ‰
Was this page helpful?